You are here

public function AjaxController::__construct in Sortableviews 8

Builds a new AjaxController object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity manager service.

File

src/Controller/AjaxController.php, line 34

Class

AjaxController
Controller for sortableviews ajax calls.

Namespace

Drupal\sortableviews\Controller

Code

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