interface ChainEntityResolverInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/serialization/src/EntityResolver/ChainEntityResolverInterface.php \Drupal\serialization\EntityResolver\ChainEntityResolverInterface
An interface for delegating a entity resolution to a chain of resolvers.
Hierarchy
- interface \Drupal\serialization\EntityResolver\EntityResolverInterface
- interface \Drupal\serialization\EntityResolver\ChainEntityResolverInterface
Expanded class hierarchy of ChainEntityResolverInterface
All classes that implement ChainEntityResolverInterface
File
- core/
modules/ serialization/ src/ EntityResolver/ ChainEntityResolverInterface.php, line 13 - Contains \Drupal\serialization\EntityResolver\ChainEntityResolverInterface.
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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ChainEntityResolverInterface:: |
public | function | Adds an entity resolver. | 1 |
EntityResolverInterface:: |
public | function | Returns the local ID of an entity referenced by serialized data. | 3 |