Drupal::theme

public static Drupal::theme()

Gets the theme service.

Return value

\Drupal\Core\Theme\ThemeManagerInterface

File

core/lib/Drupal.php, line 647
Contains \Drupal.

Class

Drupal
Static Service Container wrapper.

Code

1
2
3
public static function theme() {
  return static::getContainer()->get('theme.manager');
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.