public function EntityDecoratorInterface::decorate in Commerce AutoSKU 8.2
Automatic entity label entity decorator.
Parameters
\Drupal\Core\Entity\ContentEntityInterface $entity:
Return value
\Drupal\commerce_autosku\CommerceAutoSkuManager|\Drupal\Core\Entity\ContentEntityInterface
1 method overrides EntityDecoratorInterface::decorate()
- EntityDecorator::decorate in src/
EntityDecorator.php - Automatic entity label entity decorator.
File
- src/
EntityDecoratorInterface.php, line 23 - Contains \Drupal\commerce_autosku\EntityDecoratorInterface.
Class
- EntityDecoratorInterface
- Provides an interface for EntityDecorator.
Namespace
Drupal\commerce_autoskuCode
public function decorate(ContentEntityInterface $entity);