You are here

public function TeamInvitation::getCacheTags in Apigee Edge 8

The cache tags associated with this object.

When this object is modified, these cache tags will be invalidated.

Return value

string[] A set of cache tags.

Overrides EntityBase::getCacheTags

File

modules/apigee_edge_teams/src/Entity/TeamInvitation.php, line 295

Class

TeamInvitation
Defines the team invitation entity.

Namespace

Drupal\apigee_edge_teams\Entity

Code

public function getCacheTags() {
  if ($this
    ->getTeam()) {
    $this->cacheTags = array_merge($this->cacheTags, $this
      ->getTeam()
      ->getCacheTags());
  }
  return parent::getCacheTags();
}