ActiveTheme::$extension

The extension object. Type: \Drupal\Core\Extension\Extension File core/lib/Drupal/Core/Theme/ActiveTheme.php, line 55 Class ActiveTheme Defines a theme and its information needed at runtime. Namespace Drupal\Core\Theme Code protected $extension;

ActiveTheme::$libraries

The libraries provided by the theme. Type: array File core/lib/Drupal/Core/Theme/ActiveTheme.php, line 69 Class ActiveTheme Defines a theme and its information needed at runtime. Namespace Drupal\Core\Theme Code protected $libraries;

ActiveTheme::$baseThemes

An array of base theme active theme objects keyed by name. Type: static[] File core/lib/Drupal/Core/Theme/ActiveTheme.php, line 48 Class ActiveTheme Defines a theme and its information needed at runtime. Namespace Drupal\Core\Theme Code protected $baseThemes;

ActiveTheme

Defines a theme and its information needed at runtime. The theme manager will store the active theme object. Hierarchy class \Drupal\Core\Theme\ActiveTheme See also \Drupal\Core\Theme\ThemeManager \Drupal\Core\Theme\ThemeInitialization File core/lib/Drupal/Core/Theme/ActiveTheme.php, line 13 Namespace Drupal\Core\Theme Members Name Modifiers Type Description ActiveTheme::$baseThemes protected property An array of base theme active theme objects keyed by name. ActiveTh

ActiveTheme::$engine

The engine of the theme. Type: string File core/lib/Drupal/Core/Theme/ActiveTheme.php, line 34 Class ActiveTheme Defines a theme and its information needed at runtime. Namespace Drupal\Core\Theme Code protected $engine;

ActiveLinkResponseFilter::getSubscribedEvents

public static ActiveLinkResponseFilter::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priorit

ActiveLinkResponseFilter::onResponse

public ActiveLinkResponseFilter::onResponse(FilterResponseEvent $event) Sets the 'is-active' class on links. Parameters \Symfony\Component\HttpKernel\Event\FilterResponseEvent $event: The response event. File core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php, line 78 Class ActiveLinkResponseFilter Subscribes to filter HTML responses, to set the 'is-active' class on links. Namespace Drupal\Core\EventSubscriber Code public function onResponse(FilterResponseEvent $event)

ActiveLinkResponseFilter::setLinkActiveClass

public static ActiveLinkResponseFilter::setLinkActiveClass($html_markup, $current_path, $is_front, $url_language, array $query) Sets the "is-active" class on relevant links. This is a PHP implementation of the drupal.active-link JavaScript library. @todo Once a future version of PHP supports parsing HTML5 properly (i.e. doesn't fail on https://www.drupal.org/comment/7938201#comment-7938201) then we can get rid of this manual parsing and use DOMDocument instead. Parameters string $html_markup.:

ActiveLinkResponseFilter::__construct

public ActiveLinkResponseFilter::__construct(AccountInterface $current_user, CurrentPathStack $current_path, PathMatcherInterface $path_matcher, LanguageManagerInterface $language_manager) Constructs a new ActiveLinkResponseFilter instance. Parameters \Drupal\Core\Session\AccountInterface $current_user: The current user. \Drupal\Core\Path\CurrentPathStack $current_path: The current path. \Drupal\Core\Path\PathMatcherInterface $path_matcher: The path matcher. \Drupal\Core\Language\LanguageManag

ActiveLinkResponseFilter::$languageManager

The language manager. Type: \Drupal\Core\Language\LanguageManagerInterface File core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php, line 51 Class ActiveLinkResponseFilter Subscribes to filter HTML responses, to set the 'is-active' class on links. Namespace Drupal\Core\EventSubscriber Code protected $languageManager;