Call to undefined function drupal_get_path() in freelancer_zymphonies_theme_get_slider_content()

Created on 5 March 2025, about 1 month ago

Problem/Motivation

Getting Error: Call to undefined function drupal_get_path() in freelancer_zymphonies_theme_get_slider_content() (line 176 of /app/themes/freelancer_zymphonies_theme/freelancer_zymphonies_theme.the

Steps to reproduce

  1. Install the theme
  2. Enable it
  3. You will get error

Proposed resolution

Replace drupal_get_path() with this \Drupal::service('extension.list.theme')->getPath('freelancer_zymphonies_theme');

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.1

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024