W3cubDocs

/Drupal 8

interface TypedDataManagerInterface

Defines an interface for typed data manager.

Hierarchy

File

core/lib/Drupal/Core/TypedData/TypedDataManagerInterface.php, line 13

Namespace

Drupal\Core\TypedData

Members

Name Modifiers Type Description
CachedDiscoveryInterface::clearCachedDefinitions public function Clears static and persistent plugin definition caches. Overrides EntityTypeRepositoryInterface::clearCachedDefinitions
CachedDiscoveryInterface::useCaches public function Disable the use of caches. Overrides EntityFieldManagerInterface::useCaches
DiscoveryInterface::getDefinition public function Gets a specific plugin definition.
DiscoveryInterface::getDefinitions public function Gets the definition of all plugins for this type.
DiscoveryInterface::hasDefinition public function Indicates if a specific plugin definition exists.
TypedDataManagerInterface::create public function Creates a new typed data object instance.
TypedDataManagerInterface::createDataDefinition public function Creates a new data definition object.
TypedDataManagerInterface::createInstance public function Instantiates a typed data object. Overrides FactoryInterface::createInstance
TypedDataManagerInterface::createListDataDefinition public function Creates a new list data definition for items of the given data type.
TypedDataManagerInterface::getCanonicalRepresentation public function Gets the canonical representation of a TypedData object.
TypedDataManagerInterface::getDefaultConstraints public function Gets default constraints for the given data definition.
TypedDataManagerInterface::getInstance public function Overrides MapperInterface::getInstance
TypedDataManagerInterface::getPropertyInstance public function Get a typed data instance for a property of a given typed data object.
TypedDataManagerInterface::getValidationConstraintManager public function Gets the validation constraint manager.
TypedDataManagerInterface::getValidator public function Gets the validator for validating typed data.
TypedDataManagerInterface::setValidationConstraintManager public function Sets the validation constraint manager.
TypedDataManagerInterface::setValidator public function Sets the validator for validating typed data.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!TypedData!TypedDataManagerInterface.php/interface/TypedDataManagerInterface/8.1.x