You are here

interface EntityDecoratorInterface in Automatic Entity Label 8.3

Same name and namespace in other branches
  1. 8 src/EntityDecoratorInterface.php \Drupal\auto_entitylabel\EntityDecoratorInterface
  2. 8.2 src/EntityDecoratorInterface.php \Drupal\auto_entitylabel\EntityDecoratorInterface

Provides an interface for EntityDecorator.

Hierarchy

Expanded class hierarchy of EntityDecoratorInterface

All classes that implement EntityDecoratorInterface

File

src/EntityDecoratorInterface.php, line 10

Namespace

Drupal\auto_entitylabel
View source
interface EntityDecoratorInterface {

  /**
   * Automatic entity label entity decorator.
   *
   * @param \Drupal\Core\Entity\ContentEntityInterface $entity
   *   Entity.
   *
   * @return \Drupal\auto_entitylabel\AutoEntityLabelManager|\Drupal\Core\Entity\ContentEntityInterface
   *   Return Content Entity Interface.
   */
  public function decorate(ContentEntityInterface $entity);

}

Members

Namesort descending Modifiers Type Description Overrides
EntityDecoratorInterface::decorate public function Automatic entity label entity decorator. 1