public function ShortcutController::__construct

Constructs a new \Drupal\shortcut\Controller\ShortCutController object.

Parameters

\Drupal\Core\Entity\EntityManager $entity_manager: The entity manager.

File

drupal/core/modules/shortcut/lib/Drupal/shortcut/Controller/ShortcutController.php, line 31
Contains \Drupal\shortcut\Controller\ShortCutController.

Class

ShortcutController
Builds the page for administering shortcut sets.

Namespace

Drupal\shortcut\Controller

Code

public function __construct(EntityManager $entity_manager) {
  $this->entityManager = $entity_manager;
}