interface ChainEntityResolverInterface
Same name in other branches
- 9 core/modules/serialization/src/EntityResolver/ChainEntityResolverInterface.php \Drupal\serialization\EntityResolver\ChainEntityResolverInterface
- 8.9.x core/modules/serialization/src/EntityResolver/ChainEntityResolverInterface.php \Drupal\serialization\EntityResolver\ChainEntityResolverInterface
- 10 core/modules/serialization/src/EntityResolver/ChainEntityResolverInterface.php \Drupal\serialization\EntityResolver\ChainEntityResolverInterface
An interface for delegating an entity resolution to a chain of resolvers.
Hierarchy
- interface \Drupal\serialization\EntityResolver\EntityResolverInterface
- interface \Drupal\serialization\EntityResolver\ChainEntityResolverInterface extends \Drupal\serialization\EntityResolver\EntityResolverInterface
Expanded class hierarchy of ChainEntityResolverInterface
All classes that implement ChainEntityResolverInterface
File
-
core/
modules/ serialization/ src/ EntityResolver/ ChainEntityResolverInterface.php, line 8
Namespace
Drupal\serialization\EntityResolverView source
interface ChainEntityResolverInterface extends EntityResolverInterface {
/**
* Adds an entity resolver.
*
* @param \Drupal\serialization\EntityResolver\EntityResolverInterface $resolver
* The entity resolver to add.
*/
public function addResolver(EntityResolverInterface $resolver);
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
ChainEntityResolverInterface::addResolver | public | function | Adds an entity resolver. | |
EntityResolverInterface::resolve | public | function | Returns the local ID of an entity referenced by serialized data. | 2 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.