Commit e52aaf1e authored by Dries's avatar Dries

Issue #2241275 by Wim Leers: DateFormat cache tag: don't set the cache tag,...

Issue #2241275 by Wim Leers: DateFormat cache tag: don't set the cache tag, but invalidate the entire render cache?.
parent ca85441d
......@@ -91,4 +91,18 @@ public static function sort(ConfigEntityInterface $a, ConfigEntityInterface $b)
return $a->isLocked() ? 1 : -1;
}
/**
* {@inheritdoc}
*/
public function getCacheTag() {
return array('rendered' => TRUE);
}
/**
* {@inheritdoc}
*/
public function getListCacheTags() {
return array('rendered' => TRUE);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment