You are here

public function WorkflowState::title in Workflow 8

Override the behavior of title().

Get the user friendly version of the workflow state.

Overrides StringArgument::title

File

src/Plugin/views/argument/WorkflowState.php, line 19

Class

WorkflowState
Argument handler to accept a Workflow State.

Namespace

Drupal\workflow\Plugin\views\argument

Code

public function title() {
  return workflow_get_sid_name($this->argument);
}