interface EntityDecoratorInterface in Automatic Entity Label 8
Same name and namespace in other branches
- 8.3 src/EntityDecoratorInterface.php \Drupal\auto_entitylabel\EntityDecoratorInterface
- 8.2 src/EntityDecoratorInterface.php \Drupal\auto_entitylabel\EntityDecoratorInterface
Provides an interface for EntityDecorator.
Hierarchy
- interface \Drupal\auto_entitylabel\EntityDecoratorInterface
Expanded class hierarchy of EntityDecoratorInterface
All classes that implement EntityDecoratorInterface
File
- src/
EntityDecoratorInterface.php, line 10
Namespace
Drupal\auto_entitylabelView 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 ContentEntityInterface.
*/
public function decorate(ContentEntityInterface $entity);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityDecoratorInterface:: |
public | function | Automatic entity label entity decorator. | 1 |