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%2FDerivative%2FLocalTaskTest.php;fp=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fmodules%2Fmenu_test%2Fsrc%2FPlugin%2FDerivative%2FLocalTaskTest.php;h=90270b6451fcac55466c399c1c60573fc8545872;hp=decfd36740e471faefe6502cde3694a6b3ecbc55;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/system/tests/modules/menu_test/src/Plugin/Derivative/LocalTaskTest.php b/web/core/modules/system/tests/modules/menu_test/src/Plugin/Derivative/LocalTaskTest.php index decfd3674..90270b645 100644 --- a/web/core/modules/system/tests/modules/menu_test/src/Plugin/Derivative/LocalTaskTest.php +++ b/web/core/modules/system/tests/modules/menu_test/src/Plugin/Derivative/LocalTaskTest.php @@ -15,7 +15,8 @@ class LocalTaskTest extends DeriverBase { $this->derivatives[$key] = $base_plugin_definition; $this->derivatives[$key]['title'] = $title; $this->derivatives[$key]['route_parameters'] = ['placeholder' => $key]; - $this->derivatives[$key]['weight'] = $weight++; // ensure weights for testing. + // Ensure weights for testing. + $this->derivatives[$key]['weight'] = $weight++; } return $this->derivatives; }