function ChainEntityResolver::addResolver
Same name in other branches
- 9 core/modules/serialization/src/EntityResolver/ChainEntityResolver.php \Drupal\serialization\EntityResolver\ChainEntityResolver::addResolver()
- 8.9.x core/modules/serialization/src/EntityResolver/ChainEntityResolver.php \Drupal\serialization\EntityResolver\ChainEntityResolver::addResolver()
- 11.x core/modules/serialization/src/EntityResolver/ChainEntityResolver.php \Drupal\serialization\EntityResolver\ChainEntityResolver::addResolver()
File
-
core/
modules/ serialization/ src/ EntityResolver/ ChainEntityResolver.php, line 32
Class
- ChainEntityResolver
- Resolver delegating the entity resolution to a chain of resolvers.
Namespace
Drupal\serialization\EntityResolverCode
public function addResolver(EntityResolverInterface $resolver) {
$this->resolvers[] = $resolver;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.