public function ThemeHandler::__construct in Commerce Demo 8
Constructs a new ThemeHandler object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- src/
ThemeHandler.php, line 23
Class
Namespace
Drupal\commerce_demoCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->blockStorage = $entity_type_manager
->getStorage('block');
}