You are here

public function AboutOpignoBlock::getCacheTags in Opigno dashboard 3.x

Overrides ContextAwarePluginTrait::getCacheTags

1 call to AboutOpignoBlock::getCacheTags()
AboutOpignoBlock::build in src/Plugin/Block/AboutOpignoBlock.php
Builds and returns the renderable array for this block plugin.

File

src/Plugin/Block/AboutOpignoBlock.php, line 115

Class

AboutOpignoBlock
About Opigno block.

Namespace

Drupal\opigno_dashboard\Plugin\Block

Code

public function getCacheTags() {
  return Cache::mergeTags(parent::getCacheTags(), [
    'user' . (int) $this->account
      ->id(),
  ]);
}