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

public static function theme() {
  return static::getContainer()->get('theme.manager');
}
doc_Drupal
2016-10-29 09:02:50
Comments
Leave a Comment

Please login to continue.