You are here

public function EntityDecoratorInterface::decorate in Automatic Entity Label 8.3

Same name and namespace in other branches
  1. 8 src/EntityDecoratorInterface.php \Drupal\auto_entitylabel\EntityDecoratorInterface::decorate()
  2. 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 Content Entity Interface.

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_entitylabel

Code

public function decorate(ContentEntityInterface $entity);