public function OgAdminRoutesController::__construct in Organic groups 8
Constructs an OgAdminController object.
Parameters
\Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher $event_dispatcher: The event dispatcher service.
\Drupal\Core\Access\AccessManagerInterface $access_manager: The access manager service.
File
- src/
Controller/ OgAdminRoutesController.php, line 43
Class
- OgAdminRoutesController
- The OG admin routes controller.
Namespace
Drupal\og\ControllerCode
public function __construct(ContainerAwareEventDispatcher $event_dispatcher, AccessManagerInterface $access_manager) {
$this->eventDispatcher = $event_dispatcher;
$this->accessManager = $access_manager;
}