You are here

protected function WorkflowURLRouteParametersTrait::urlRouteParameters in Workflow 8

File

src/WorkflowURLRouteParametersTrait.php, line 13

Class

WorkflowURLRouteParametersTrait
Provides route parameters for workflow entity types.

Namespace

Drupal\workflow

Code

protected function urlRouteParameters($rel) {
  $uri_route_parameters = parent::urlRouteParameters($rel);
  $uri_route_parameters['workflow_type'] = $this
    ->getWorkflowId();
  return $uri_route_parameters;
}