You are here

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

ThemeHandler

Namespace

Drupal\commerce_demo

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->blockStorage = $entity_type_manager
    ->getStorage('block');
}