public function getCacheTags($tags = [])
{
$tags = is_array($tags) ? $tags : [];
$tags = parent::getCacheTags($tags);
if ($this->getLinktype() == "internal") {
if ($this->getObject() instanceof Document || $this->getObject() instanceof Asset) {
if ($this->getObject()->getId() != $this->getId() and !array_key_exists($this->getObject()->getCacheTag(), $tags)) {
$tags = $this->getObject()->getCacheTags($tags);
}
}
}
return $tags;
}