You are here

public function NodeOrderListController::__construct in Node Order 8

File

src/Controller/NodeOrderListController.php, line 32

Class

NodeOrderListController
Defines a generic controller to list entities.

Namespace

Drupal\nodeorder\Controller

Code

public function __construct(ContainerInterface $container, $entity_type_manager) {
  $this->container = $container;
  $this->entityTypeManager = $entity_type_manager;
  $this->nodeStorage = $entity_type_manager
    ->getStorage('node');
}