You are here

public function ContextDefinitionInterface::toArray in Typed Data API enhancements 8

Exports the definition as an array.

Return value

array An array with values for all definition keys.

1 method overrides ContextDefinitionInterface::toArray()
ContextDefinition::toArray in src/Context/ContextDefinition.php
Exports the definition as an array.

File

src/Context/ContextDefinitionInterface.php, line 71

Class

ContextDefinitionInterface
Context definition information required by Typed Data.

Namespace

Drupal\typed_data\Context

Code

public function toArray();