public function AboutOpignoBlock::getCacheContexts in Opigno dashboard 3.x
Overrides ContextAwarePluginTrait::getCacheContexts
1 call to AboutOpignoBlock::getCacheContexts()
- 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 108
Class
- AboutOpignoBlock
- About Opigno block.
Namespace
Drupal\opigno_dashboard\Plugin\BlockCode
public function getCacheContexts() {
return Cache::mergeContexts(parent::getCacheContexts(), [
'user',
]);
}