function ContextDefinitionInterface::toArray

Exports the definition as an array.

Return value

array An array with values for all definition keys.

2 methods override ContextDefinitionInterface::toArray()
ContextDefinition::toArray in src/Context/ContextDefinition.php
Exports the definition as an array.
EntityContextDefinition::toArray in src/Context/EntityContextDefinition.php
Exports the definition as an array.

File

src/Context/ContextDefinitionInterface.php, line 71

Class

ContextDefinitionInterface
Context definition information required by Rules.

Namespace

Drupal\rules\Context

Code

public function toArray();