ContextDefinitionInterface.php in Zircon Profile 8.0
Same filename in this branch
Same filename and directory in other branches
Namespace
Drupal\Core\Plugin\ContextFile
core/lib/Drupal/Core/Plugin/Context/ContextDefinitionInterface.phpView source
<?php
/**
* @file
* Contains \Drupal\Core\Plugin\Context\ContextDefinitionInterface.
*/
namespace Drupal\Core\Plugin\Context;
use Drupal\Component\Plugin\Context\ContextDefinitionInterface as ComponentContextDefinitionInterface;
/**
* Interface for context definitions.
*/
interface ContextDefinitionInterface extends ComponentContextDefinitionInterface {
/**
* Returns the data definition of the defined context.
*
* @return \Drupal\Core\TypedData\DataDefinitionInterface
* The data definition object.
*/
public function getDataDefinition();
}
Interfaces
Name | Description |
---|---|
ContextDefinitionInterface | Interface for context definitions. |