BlockDisplayVariant::$contexts

Same name in other branches
  1. 8.x-3.x src/Plugin/DisplayVariant/BlockDisplayVariant.php \Drupal\ctools\Plugin\DisplayVariant\BlockDisplayVariant::contexts

An array of collected contexts.

This is only used on runtime, and is not stored.

Type: \Drupal\Component\Plugin\Context\ContextInterface[]

File

src/Plugin/DisplayVariant/BlockDisplayVariant.php, line 62

Class

BlockDisplayVariant
Provides a base class for a display variant that simply contains blocks.

Namespace

Drupal\ctools\Plugin\DisplayVariant

Code

protected $contexts = [];