Drupal 8  8.0.2
Condition Class Reference
Inheritance diagram for Condition:

Data Fields

 $context = array()

Additional Inherited Members

- Public Member Functions inherited from Plugin
 __construct ($values)
 get ()
 getProvider ()
 setProvider ($provider)
 getId ()
 getClass ()
 setClass ($class)
- Protected Member Functions inherited from Plugin
 parse (array $values)
- Protected Attributes inherited from Plugin

Detailed Description

Defines a condition plugin annotation object.

Condition plugins provide generalized conditions for use in other operations, such as conditional block placement.

Plugin Namespace: Plugin

For a working example, see .

See Also
Block API

The documentation for this class was generated from the following file: