Pimcore\Model\Element\AbstractElement::getCacheTag PHP Method

getCacheTag() public method

get the cache tag for the element
public getCacheTag ( ) : string
return string
    public function getCacheTag()
    {
        $elementType = Service::getElementType($this);
        return $elementType . "_" . $this->getId();
    }