public static function ThemeInfoRebuildSubscriber::getSubscribedEvents in Devel 8.2
Same name and namespace in other branches
- 8.3 src/EventSubscriber/ThemeInfoRebuildSubscriber.php \Drupal\devel\EventSubscriber\ThemeInfoRebuildSubscriber::getSubscribedEvents()
- 8 src/EventSubscriber/ThemeInfoRebuildSubscriber.php \Drupal\devel\EventSubscriber\ThemeInfoRebuildSubscriber::getSubscribedEvents()
- 4.x src/EventSubscriber/ThemeInfoRebuildSubscriber.php \Drupal\devel\EventSubscriber\ThemeInfoRebuildSubscriber::getSubscribedEvents()
File
- src/
EventSubscriber/ ThemeInfoRebuildSubscriber.php, line 113
Class
- ThemeInfoRebuildSubscriber
- Subscriber for force the system to rebuild the theme registry.
Namespace
Drupal\devel\EventSubscriberCode
public static function getSubscribedEvents() {
// Set high priority value to start as early as possible.
$events[KernelEvents::REQUEST][] = [
'rebuildThemeInfo',
256,
];
return $events;
}