Problem/Motivation

The deprecated function drupal_get_path() is present in the .theme file

Steps to reproduce

Proposed resolution

Replace the drupal_get_path() function with \Drupal::service('extension.list.theme')->getPath(' ').

Remaining tasks

User interface changes

API changes

Data model changes

Comments

Keshav Patel created an issue. See original summary.

keshav patel’s picture

Issue summary: View changes
StatusFileSize
new1.29 KB

The issue is resolved, Theme is now working.

elber’s picture

Assigned: Unassigned » elber
Status: Active » Needs review
elber’s picture

Assigned: elber » Unassigned
Status: Needs review » Reviewed & tested by the community

Hi I revised and applied the patch and then the module keep working as expected no issues.