Drupal core might've fixed this at some point, but the title inserted in the transition list builder isn't needed any longer, at least from what I can tell.

Inside Drupal\workflow\Controller\WorkflowTransitionListController (~line 129)

Remove:

    $form['workflow_list_title']['#weight'] = 200;

Inside Drupal\workflow\WorkflowTransitionListBuilder (~line 227)

Remove:

    // @todo d8-port: get core title working: $build['table']['#title'] by getTitle() is not working.
    $build['workflow_list_title'] = array(
      '#markup' => $this->getTitle(),
    );

Comments

Anonymous’s picture

vilepickle created an issue. See original summary.

johnv’s picture

Category: Bug report » Feature request

This is the same as in D7.
You mean the title is unnecessary/redundant, since it is already in the page title? That is true... May consider removing it. If so, then in D7, too.

Anonymous’s picture

Yes, it's also the page title. It shows up right above the table in D8 and also is the page title, which is redunant. Not sure if it's the same in the D7 version.

johnv’s picture

Yes, it is a 'feature', copied from D7.

  • johnv committed 104f012 on 8.x-1.x
    Issue #2637776: workflow_list_title on history overview is unneeded
    
johnv’s picture

Version: 8.x-1.x-dev » 8.x-1.0-beta4
Status: Active » Fixed

Fixed. Somewhere, the title was also renamed to the title of the workflow.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.