public function Blocktabs::getCacheTags in Block Tabs 8
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 EntityBase::getCacheTags
File
- src/
Entity/ Blocktabs.php, line 207
Class
- Blocktabs
- Defines a blocktabs configuration entity.
Namespace
Drupal\blocktabs\EntityCode
public function getCacheTags() {
$tags = parent::getCacheTags();
foreach ($this
->getTabs() as $tab) {
$tags = Cache::mergeTags($tab
->getCacheTags());
}
return $tags;
}