function FilterFormatRepository::getCacheTags
Same name and namespace in other branches
- main core/modules/filter/src/FilterFormatRepository.php \Drupal\filter\FilterFormatRepository::getCacheTags()
Returns the 'filter_format' entity type list cache tags.
Return value
string[] A list of cache tags.
2 calls to FilterFormatRepository::getCacheTags()
- FilterFormatRepository::getAllFormats in core/
modules/ filter/ src/ FilterFormatRepository.php - FilterFormatRepository::getFormatsForAccount in core/
modules/ filter/ src/ FilterFormatRepository.php
File
-
core/
modules/ filter/ src/ FilterFormatRepository.php, line 122
Class
- FilterFormatRepository
- Provides a repository service for filter formats.
Namespace
Drupal\filterCode
protected function getCacheTags() : array {
return $this->entityTypeManager
->getDefinition('filter_format')
->getListCacheTags();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.