interface TypedDataCacheableDependencyInterface
Test interface used for mocking.
Hierarchy
- interface \Drupal\Core\Cache\CacheableDependencyInterface; interface \Drupal\Core\TypedData\TypedDataInterface
- interface \Drupal\Tests\Core\Plugin\Context\TypedDataCacheableDependencyInterface extends \Drupal\Core\Cache\CacheableDependencyInterface, \Drupal\Core\TypedData\TypedDataInterface
Expanded class hierarchy of TypedDataCacheableDependencyInterface
All classes that implement TypedDataCacheableDependencyInterface
File
-
core/
tests/ Drupal/ Tests/ Core/ Plugin/ Context/ ContextTest.php, line 165
Namespace
Drupal\Tests\Core\Plugin\ContextView source
interface TypedDataCacheableDependencyInterface extends CacheableDependencyInterface, TypedDataInterface {
}
Members
| Title Sort descending | Modifiers | Object type | Summary | Overrides |
|---|---|---|---|---|
| CacheableDependencyInterface::getCacheContexts | public | function | The cache contexts associated with this object. | 34 |
| CacheableDependencyInterface::getCacheMaxAge | public | function | The maximum age for which this object may be cached. | 34 |
| CacheableDependencyInterface::getCacheTags | public | function | The cache tags associated with this object. | 27 |
| TypedDataInterface::applyDefaultValue | public | function | Applies the default value. | 1 |
| TypedDataInterface::createInstance | public static | function | Constructs a TypedData object given its definition and context. | 1 |
| TypedDataInterface::getConstraints | public | function | Gets a list of validation constraints. | 1 |
| TypedDataInterface::getDataDefinition | public | function | Gets the data definition. | 3 |
| TypedDataInterface::getName | public | function | Returns the name of a property or item. | 1 |
| TypedDataInterface::getParent | public | function | Returns the parent data structure; i.e. either complex data or a list. | 1 |
| TypedDataInterface::getPropertyPath | public | function | Returns the property path of the data. | 1 |
| TypedDataInterface::getRoot | public | function | Returns the root of the typed data tree. | 1 |
| TypedDataInterface::getString | public | function | Returns a string representation of the data. | 1 |
| TypedDataInterface::getValue | public | function | Gets the data value. | 1 |
| TypedDataInterface::setContext | public | function | Sets the context of a property or item via a context aware parent. | 1 |
| TypedDataInterface::setValue | public | function | Sets the data value. | 1 |
| TypedDataInterface::validate | public | function | Validates the currently set data value. | 1 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.