ChainEntityResolverInterface.php

Same filename in other branches
  1. 9 core/modules/serialization/src/EntityResolver/ChainEntityResolverInterface.php
  2. 8.9.x core/modules/serialization/src/EntityResolver/ChainEntityResolverInterface.php
  3. 11.x core/modules/serialization/src/EntityResolver/ChainEntityResolverInterface.php

Namespace

Drupal\serialization\EntityResolver

File

core/modules/serialization/src/EntityResolver/ChainEntityResolverInterface.php

View source
<?php

namespace Drupal\serialization\EntityResolver;


/**
 * An interface for delegating an entity resolution to a chain of resolvers.
 */
interface ChainEntityResolverInterface extends EntityResolverInterface {
    
    /**
     * Adds an entity resolver.
     *
     * @param \Drupal\serialization\EntityResolver\EntityResolverInterface $resolver
     *   The entity resolver to add.
     */
    public function addResolver(EntityResolverInterface $resolver);

}

Interfaces

Title Deprecated Summary
ChainEntityResolverInterface An interface for delegating an entity resolution to a chain of resolvers.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.