EntityDecoratorInterface.php in Automatic Entity Label 8.2
Same filename and directory in other branches
Namespace
Drupal\auto_entitylabelFile
src/EntityDecoratorInterface.phpView 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
Name | Description |
---|---|
EntityDecoratorInterface | Provides an interface for EntityDecorator. |