public function TeamMemberRole::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/ TeamMemberRole.php, line 172
Class
- TeamMemberRole
- Defines the team member role entity.
Namespace
Drupal\apigee_edge_teams\EntityCode
public function getCacheTags() {
if ($this
->getTeam()) {
$this->cacheTags = array_merge($this->cacheTags, $this
->getTeam()
->getCacheTags());
}
if ($this
->getDeveloper()) {
$this->cacheTags = array_merge($this->cacheTags, $this
->getDeveloper()
->getCacheTags());
}
return parent::getCacheTags();
}