function TestTasksSettingsSub1::getCacheTags

Same name and namespace 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::getCacheTags()
  2. 8.9.x core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalTask/TestTasksSettingsSub1.php \Drupal\menu_test\Plugin\Menu\LocalTask\TestTasksSettingsSub1::getCacheTags()
  3. 11.x core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalTask/TestTasksSettingsSub1.php \Drupal\menu_test\Plugin\Menu\LocalTask\TestTasksSettingsSub1::getCacheTags()

Overrides LocalTaskDefault::getCacheTags

File

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

Class

TestTasksSettingsSub1
Defines a local task plugin with a dynamic title.

Namespace

Drupal\menu_test\Plugin\Menu\LocalTask

Code

public function getCacheTags() {
    return [
        'kittens:ragdoll',
    ];
}

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