public static function ExplorerPageDisplayVariantSubscriber::getSubscribedEvents in GraphQL 8.3
Same name and namespace in other branches
- 8 src/EventSubscriber/ExplorerPageDisplayVariantSubscriber.php \Drupal\graphql\EventSubscriber\ExplorerPageDisplayVariantSubscriber::getSubscribedEvents()
- 8.2 src/EventSubscriber/ExplorerPageDisplayVariantSubscriber.php \Drupal\graphql\EventSubscriber\ExplorerPageDisplayVariantSubscriber::getSubscribedEvents()
File
- src/
EventSubscriber/ ExplorerPageDisplayVariantSubscriber.php, line 29
Class
- ExplorerPageDisplayVariantSubscriber
- Disables any display variant on the explorer page.
Namespace
Drupal\graphql\EventSubscriberCode
public static function getSubscribedEvents() {
$events = [
RenderEvents::SELECT_PAGE_DISPLAY_VARIANT => [
[
'onSelectPageDisplayVariant',
],
],
];
return $events;
}