X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fmodules%2Fmenu_test%2Fsrc%2FPlugin%2FMenu%2FLocalTask%2FTestTasksSettingsSub1.php;fp=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fmodules%2Fmenu_test%2Fsrc%2FPlugin%2FMenu%2FLocalTask%2FTestTasksSettingsSub1.php;h=61ac9705a083f3118b882a310af489a77fd298e3;hp=7ba7548846c0649f09732d26c16ac3c252743c63;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalTask/TestTasksSettingsSub1.php b/web/core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalTask/TestTasksSettingsSub1.php index 7ba754884..61ac9705a 100644 --- a/web/core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalTask/TestTasksSettingsSub1.php +++ b/web/core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalTask/TestTasksSettingsSub1.php @@ -4,6 +4,7 @@ namespace Drupal\menu_test\Plugin\Menu\LocalTask; use Drupal\Core\Menu\LocalTaskDefault; use Drupal\Core\StringTranslation\StringTranslationTrait; +use Symfony\Component\HttpFoundation\Request; class TestTasksSettingsSub1 extends LocalTaskDefault { @@ -12,7 +13,7 @@ class TestTasksSettingsSub1 extends LocalTaskDefault { /** * {@inheritdoc} */ - public function getTitle() { + public function getTitle(Request $request = NULL) { return $this->t('Dynamic title for @class', ['@class' => 'TestTasksSettingsSub1']); }