function WorkflowDeleteAccessCheck::getOperation

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';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.