PageDisplayVariantSelectionEvent::$contexts
Same name in other branches
- 9 core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php \Drupal\Core\Render\PageDisplayVariantSelectionEvent::contexts
- 10 core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php \Drupal\Core\Render\PageDisplayVariantSelectionEvent::contexts
- 11.x core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php \Drupal\Core\Render\PageDisplayVariantSelectionEvent::contexts
An array of collected contexts to pass to the page display variant.
Type: \Drupal\Component\Plugin\Context\ContextInterface[]
File
-
core/
lib/ Drupal/ Core/ Render/ PageDisplayVariantSelectionEvent.php, line 52
Class
- PageDisplayVariantSelectionEvent
- Event fired when rendering main content, to select a page display variant.
Namespace
Drupal\Core\RenderCode
protected $contexts = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.