public function EntityDecorator::__construct in Commerce AutoSKU 8.2
Constructs an EntityDecorator object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Entity type manager
\Drupal\commerce_autosku\CommerceAutoSkuGeneratorManagerInterface $generator_manager: The generator manager.
File
- src/
EntityDecorator.php, line 47 - Contains \Drupal\commerce_autosku\EntityDecorator.
Class
- EntityDecorator
- Provides an content entity decorator for automatic label generation.
Namespace
Drupal\commerce_autoskuCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, CommerceAutoSkuGeneratorManagerInterface $generator_manager) {
$this->entityTypeManager = $entity_type_manager;
$this->generatorManager = $generator_manager;
}