protected property PageDisplayVariantSelectionEvent::$contexts in Drupal 9
Same name and namespace in other branches
- 8 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 = [];