function ExecutionMetadataState::removeDataDefinition

Overrides ExecutionMetadataStateInterface::removeDataDefinition

File

src/Context/ExecutionMetadataState.php, line 78

Class

ExecutionMetadataState
The state used during configuration time holding data definitions.

Namespace

Drupal\rules\Context

Code

public function removeDataDefinition($name) {
    if (array_key_exists($name, $this->dataDefinitions)) {
        unset($this->dataDefinitions[$name]);
    }
    return $this;
}