You are here

public function FormModeManagerEntityController::checkAccess in Form mode manager 8.2

Checks access for the Form Mode Manager routes.

Parameters

\Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match.

Overrides EntityFormModeManagerInterface::checkAccess

File

src/Controller/FormModeManagerEntityController.php, line 148

Class

FormModeManagerEntityController
Generic Controller for entity using form mode manager routing.

Namespace

Drupal\form_mode_manager\Controller

Code

public function checkAccess(RouteMatchInterface $route_match) {
  return $this
    ->getEntityControllerResponse(__FUNCTION__, $route_match);
}