public function EntityDecoratorInterface::decorate in Automatic Entity Label 8
Same name and namespace in other branches
- 8.3 src/EntityDecoratorInterface.php \Drupal\auto_entitylabel\EntityDecoratorInterface::decorate()
- 8.2 src/EntityDecoratorInterface.php \Drupal\auto_entitylabel\EntityDecoratorInterface::decorate()
Automatic entity label entity decorator.
Parameters
\Drupal\Core\Entity\ContentEntityInterface $entity: Entity.
Return value
\Drupal\auto_entitylabel\AutoEntityLabelManager|\Drupal\Core\Entity\ContentEntityInterface Return ContentEntityInterface.
1 method overrides EntityDecoratorInterface::decorate()
- EntityDecorator::decorate in src/
EntityDecorator.php - Automatic entity label entity decorator.
File
- src/
EntityDecoratorInterface.php, line 21
Class
- EntityDecoratorInterface
- Provides an interface for EntityDecorator.
Namespace
Drupal\auto_entitylabelCode
public function decorate(ContentEntityInterface $entity);