You are here

public function QueueFormController::detailFormTitle in Purge 8.3

Route title callback.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The page title.

1 string reference to 'QueueFormController::detailFormTitle'
purge_ui.routing.yml in modules/purge_ui/purge_ui.routing.yml
modules/purge_ui/purge_ui.routing.yml

File

modules/purge_ui/src/Controller/QueueFormController.php, line 57

Class

QueueFormController
Controller for queue configuration forms.

Namespace

Drupal\purge_ui\Controller

Code

public function detailFormTitle() {
  $id = current($this->purgeQueue
    ->getPluginsEnabled());
  return $this->purgeQueue
    ->getPlugins()[$id]['label'];
}