You are here

interface EntityDecoratorInterface in Commerce AutoSKU 8.2

Provides an interface for EntityDecorator.

Hierarchy

Expanded class hierarchy of EntityDecoratorInterface

All classes that implement EntityDecoratorInterface

File

src/EntityDecoratorInterface.php, line 14
Contains \Drupal\commerce_autosku\EntityDecoratorInterface.

Namespace

Drupal\commerce_autosku
View source
interface EntityDecoratorInterface {

  /**
   * Automatic entity label entity decorator.
   *
   * @param \Drupal\Core\Entity\ContentEntityInterface $entity
   *
   * @return \Drupal\commerce_autosku\CommerceAutoSkuManager|\Drupal\Core\Entity\ContentEntityInterface
   */
  public function decorate(ContentEntityInterface $entity);

}

Members

Namesort descending Modifiers Type Description Overrides
EntityDecoratorInterface::decorate public function Automatic entity label entity decorator. 1