public function ShibbolethLoginBlock::getCacheTags in Shibboleth Authentication 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/ ShibbolethLoginBlock.php, line 58
Class
- ShibbolethLoginBlock
- Provides a 'ShibbolethLoginBlock' block.
Namespace
Drupal\shib_auth\Plugin\BlockCode
public function getCacheTags() {
return Cache::mergeTags(parent::getCacheTags(), [
'shibboleth_login_block',
]);
}