public function MicrositeLogoBranding::getCacheContexts in Entity Reference Hierarchy 3.x
Same name and namespace in other branches
- 8.2 modules/entity_hierarchy_microsite/src/Plugin/Block/MicrositeLogoBranding.php \Drupal\entity_hierarchy_microsite\Plugin\Block\MicrositeLogoBranding::getCacheContexts()
Overrides ContextAwarePluginTrait::getCacheContexts
File
- modules/
entity_hierarchy_microsite/ src/ Plugin/ Block/ MicrositeLogoBranding.php, line 99
Class
- MicrositeLogoBranding
- Defines a class for a branding and logo block for a microsite.
Namespace
Drupal\entity_hierarchy_microsite\Plugin\BlockCode
public function getCacheContexts() {
return array_merge(parent::getCacheContexts(), [
'entity_hierarchy_microsite',
]);
}