public function SmartDateFormat::getCacheTagsToInvalidate in Smart Date 3.4.x
Same name and namespace in other branches
- 8.2 src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::getCacheTagsToInvalidate()
- 8 src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::getCacheTagsToInvalidate()
- 3.x src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::getCacheTagsToInvalidate()
- 3.0.x src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::getCacheTagsToInvalidate()
- 3.1.x src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::getCacheTagsToInvalidate()
- 3.2.x src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::getCacheTagsToInvalidate()
- 3.3.x src/Entity/SmartDateFormat.php \Drupal\smart_date\Entity\SmartDateFormat::getCacheTagsToInvalidate()
Returns the cache tags that should be used to invalidate caches.
This will not return additional cache tags added through addCacheTags().
Return value
string[] Set of cache tags.
Overrides ConfigEntityBase::getCacheTagsToInvalidate
See also
\Drupal\Core\Cache\RefinableCacheableDependencyInterface::addCacheTags()
\Drupal\Core\Cache\CacheableDependencyInterface::getCacheTags()
File
- src/
Entity/ SmartDateFormat.php, line 315
Class
- SmartDateFormat
- Defines the Smart date format entity.
Namespace
Drupal\smart_date\EntityCode
public function getCacheTagsToInvalidate() {
return [
'rendered',
];
}