You are here

public function EntityExtraField::getCacheRenderTag in Entity Extra Field 2.0.x

Same name and namespace in other branches
  1. 8 src/Entity/EntityExtraField.php \Drupal\entity_extra_field\Entity\EntityExtraField::getCacheRenderTag()

Get the cache render tag.

Return value

string The cache render tag.

Overrides EntityExtraFieldInterface::getCacheRenderTag

File

src/Entity/EntityExtraField.php, line 272

Class

EntityExtraField
Define entity extra field.

Namespace

Drupal\entity_extra_field\Entity

Code

public function getCacheRenderTag() : string {
  return "entity_extra_field:{$this->getDisplayType()}.{$this->getBaseEntityTypeId()}.{$this->getBaseBundleTypeId()}";
}