You are here

protected property PageDisplayVariantSelectionEvent::$contexts in Drupal 9

Same name and namespace in other branches
  1. 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\Render

Code

protected $contexts = [];