- Issue created by @shweta__sharma
Replaced drupal_get_path()
The function drupal_get_path() is removed in Drupal 8+, so I used \Drupal::service('extension.list.theme')->getPath($theme) instead.
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
Replace drupal_get_path() with this \Drupal::service('extension.list.theme')->getPath('freelancer_zymphonies_theme');
Active
1.1
Code
Replaced drupal_get_path()
The function drupal_get_path() is removed in Drupal 8+, so I used \Drupal::service('extension.list.theme')->getPath($theme) instead.