You are here

public function DibaCarousel::getCacheTags in Diba carousel slider 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 ContextAwarePluginBase::getCacheTags

File

src/Plugin/Block/DibaCarousel.php, line 103

Class

DibaCarousel
Provides a Diba carousel Block.

Namespace

Drupal\diba_carousel\Plugin\Block

Code

public function getCacheTags() {
  return Cache::mergeTags(parent::getCacheTags(), [
    'node_list',
    'config:block.block.diba_carousel',
  ]);
}