You are here

public function ExecutionMetadataStateInterface::hasDataDefinition in Rules 8.3

Checks if the variable with the given name is present in the state.

Parameters

string $name: The variable name.

Return value

bool TRUE if the state has that variable, FALSE otherwise.

1 method overrides ExecutionMetadataStateInterface::hasDataDefinition()
ExecutionMetadataState::hasDataDefinition in src/Context/ExecutionMetadataState.php
Checks if the variable with the given name is present in the state.

File

src/Context/ExecutionMetadataStateInterface.php, line 61

Class

ExecutionMetadataStateInterface
The state used during configuration time holding data definitions.

Namespace

Drupal\rules\Context

Code

public function hasDataDefinition($name);