You are here

protected function WorkflowDeleteAccessCheck::getOperation in Drupal 8

Get the operation that will be used for the access check

Parameters

\Drupal\Core\Routing\RouteMatchInterface $route_match: The parametrized route

Return value

string The access operation.

Overrides WorkflowStateTransitionOperationsAccessCheck::getOperation

File

core/modules/workflows/src/WorkflowDeleteAccessCheck.php, line 43

Class

WorkflowDeleteAccessCheck
Provides a access checker for deleting a workflow state.

Namespace

Drupal\workflows

Code

protected function getOperation(RouteMatchInterface $route_match) {
  return 'delete-state';
}