function RulesComponent::getContextDefinitions

Gets definitions for the context used by this component.

Return value

\Drupal\rules\Context\ContextDefinitionInterface[] The array of context definitions, keyed by context name.

File

src/Engine/RulesComponent.php, line 157

Class

RulesComponent
Handles executable Rules components.

Namespace

Drupal\rules\Engine

Code

public function getContextDefinitions() {
    return $this->contextDefinitions;
}