function ActiveTheme::getExtension
Same name in other branches
- 9 core/lib/Drupal/Core/Theme/ActiveTheme.php \Drupal\Core\Theme\ActiveTheme::getExtension()
- 8.9.x core/lib/Drupal/Core/Theme/ActiveTheme.php \Drupal\Core\Theme\ActiveTheme::getExtension()
- 10 core/lib/Drupal/Core/Theme/ActiveTheme.php \Drupal\Core\Theme\ActiveTheme::getExtension()
Returns the extension object.
Return value
\Drupal\Core\Extension\Extension
File
-
core/
lib/ Drupal/ Core/ Theme/ ActiveTheme.php, line 169
Class
- ActiveTheme
- Defines a theme and its information needed at runtime.
Namespace
Drupal\Core\ThemeCode
public function getExtension() {
return $this->extension;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.