function TestTasksSettingsSub1::getTitle

Same name in other branches
  1. 9 core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalTask/TestTasksSettingsSub1.php \Drupal\menu_test\Plugin\Menu\LocalTask\TestTasksSettingsSub1::getTitle()
  2. 10 core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalTask/TestTasksSettingsSub1.php \Drupal\menu_test\Plugin\Menu\LocalTask\TestTasksSettingsSub1::getTitle()
  3. 11.x core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalTask/TestTasksSettingsSub1.php \Drupal\menu_test\Plugin\Menu\LocalTask\TestTasksSettingsSub1::getTitle()

Overrides LocalTaskDefault::getTitle

File

core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalTask/TestTasksSettingsSub1.php, line 16

Class

TestTasksSettingsSub1

Namespace

Drupal\menu_test\Plugin\Menu\LocalTask

Code

public function getTitle(Request $request = NULL) {
    return $this->t('Dynamic title for @class', [
        '@class' => 'TestTasksSettingsSub1',
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.