You are here

public function ContextDefinitionInterface::getDataDefinition in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Plugin/Context/ContextDefinitionInterface.php \Drupal\Core\Plugin\Context\ContextDefinitionInterface::getDataDefinition()

Returns the data definition of the defined context.

Return value

\Drupal\Core\TypedData\DataDefinitionInterface The data definition object.

1 method overrides ContextDefinitionInterface::getDataDefinition()
ContextDefinition::getDataDefinition in core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php
Returns the data definition of the defined context.

File

core/lib/Drupal/Core/Plugin/Context/ContextDefinitionInterface.php, line 23
Contains \Drupal\Core\Plugin\Context\ContextDefinitionInterface.

Class

ContextDefinitionInterface
Interface for context definitions.

Namespace

Drupal\Core\Plugin\Context

Code

public function getDataDefinition();