How to get the theme name programmatically in Drupal 8/9
In Drupal 8/9 use the following snippet to get the theme name programmatically.
In drush, use following command in the terminal:
drush cget system.theme default
drush cget system.theme admin
In drush, use following command in the terminal:
drush cget system.theme default
drush cget system.theme admin
Share
share your add link
https%3A%2F%2Fmycode.blog%2Flakshmi%2Fhow-get-theme-name-programmatically-drupal-89%0A
Share in social
Comments