W3cubDocs

/Drupal 8

public property Condition::$context

An array of context definitions describing the context used by the plugin.

The array is keyed by context names.

Type: \Drupal\Core\Annotation\ContextDefinition[]

File

core/lib/Drupal/Core/Condition/Annotation/Condition.php, line 58

Class

Condition
Defines a condition plugin annotation object.

Namespace

Drupal\Core\Condition\Annotation

Code

public $context = array();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Condition!Annotation!Condition.php/property/Condition::context/8.1.x