function ExecutionMetadataStateInterface::create

Creates the object.

Parameters

\Drupal\Core\TypedData\DataDefinitionInterface[] $data_definitions: (optional) Data definitions to initialize this state with.

Return value

static

1 method overrides ExecutionMetadataStateInterface::create()
ExecutionMetadataState::create in src/Context/ExecutionMetadataState.php
Creates the object.

File

src/Context/ExecutionMetadataStateInterface.php, line 27

Class

ExecutionMetadataStateInterface
The state used during configuration time holding data definitions.

Namespace

Drupal\rules\Context

Code

public static function create(array $data_definitions = []);