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'); }
Please login to continue.