You are here

public function TestTasksSettingsSub1::getCacheTags in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalTask/TestTasksSettingsSub1.php \Drupal\menu_test\Plugin\Menu\LocalTask\TestTasksSettingsSub1::getCacheTags()
  2. 9 core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalTask/TestTasksSettingsSub1.php \Drupal\menu_test\Plugin\Menu\LocalTask\TestTasksSettingsSub1::getCacheTags()

The cache tags associated with this object.

When this object is modified, these cache tags will be invalidated.

Return value

string[] A set of cache tags.

Overrides LocalTaskDefault::getCacheTags

File

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

Class

TestTasksSettingsSub1

Namespace

Drupal\menu_test\Plugin\Menu\LocalTask

Code

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