You are here

public function ActiveTheme::getExtension in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 166
Contains \Drupal\Core\Theme\ActiveTheme.

Class

ActiveTheme
Defines a theme and its information needed at runtime.

Namespace

Drupal\Core\Theme

Code

public function getExtension() {
  return $this->extension;
}