function workflow_url_get_field_name in Workflow 8
Helper function to get the field name from a route.
For now only used for ../{entity_id}/workflow history tab.
Return value
string|null Return $field_name
2 calls to workflow_url_get_field_name()
- WorkflowTransitionListBuilder::load in src/
WorkflowTransitionListBuilder.php  - Loads entities of this type from storage for listing.
 - WorkflowTransitionListController::historyOverview in src/
Controller/ WorkflowTransitionListController.php  - Shows a list of an entity's state transitions, but only if WorkflowHistoryAccess::access() allows it.
 
File
- ./
workflow.module, line 699  - Support workflows made up of arbitrary states.
 
Code
function workflow_url_get_field_name() {
  return workflow_url_get_parameter('field_name');
}