You are here

interface TypedDataCacheableDependencyInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php \Drupal\Tests\Core\Plugin\Context\TypedDataCacheableDependencyInterface

Test interface used for mocking.

Hierarchy

Expanded class hierarchy of TypedDataCacheableDependencyInterface

All classes that implement TypedDataCacheableDependencyInterface

File

core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php, line 172
Contains \Drupal\Tests\Core\Plugin\Context\ContextTest.

Namespace

Drupal\Tests\Core\Plugin\Context
View source
interface TypedDataCacheableDependencyInterface extends CacheableDependencyInterface, TypedDataInterface {

}

Members

Namesort descending Modifiers Type Description Overrides
CacheableDependencyInterface::getCacheContexts public function The cache contexts associated with this object. 26
CacheableDependencyInterface::getCacheMaxAge public function The maximum age for which this object may be cached. 26
CacheableDependencyInterface::getCacheTags public function The cache tags associated with this object. 19
TypedDataInterface::applyDefaultValue public function Applies the default value. 2
TypedDataInterface::createInstance public static function Constructs a TypedData object given its definition and context. 2
TypedDataInterface::getConstraints public function Gets a list of validation constraints. 2
TypedDataInterface::getDataDefinition public function Gets the data definition. 2
TypedDataInterface::getName public function Returns the name of a property or item. 2
TypedDataInterface::getParent public function Returns the parent data structure; i.e. either complex data or a list. 2
TypedDataInterface::getPropertyPath public function Returns the property path of the data. 2
TypedDataInterface::getRoot public function Returns the root of the typed data tree. 2
TypedDataInterface::getString public function Returns a string representation of the data. 2
TypedDataInterface::getValue public function Gets the data value. 2
TypedDataInterface::setContext public function Sets the context of a property or item via a context aware parent. 2
TypedDataInterface::setValue public function Sets the data value. 2
TypedDataInterface::validate public function Validates the currently set data value. 2