You are here

EntityDecoratorInterface.php in Automatic Entity Label 8.2

File

src/EntityDecoratorInterface.php
View source
<?php

namespace Drupal\auto_entitylabel;

use Drupal\Core\Entity\ContentEntityInterface;

/**
 * Provides an interface for EntityDecorator.
 */
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);

}

Interfaces

Namesort descending Description
EntityDecoratorInterface Provides an interface for EntityDecorator.