You are here

public function GroupMembership::getCacheTags in Group 8

Same name and namespace in other branches
  1. 2.0.x src/GroupMembership.php \Drupal\group\GroupMembership::getCacheTags()

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 CacheableDependencyInterface::getCacheTags

File

src/GroupMembership.php, line 104

Class

GroupMembership
Wrapper class for a GroupContent entity representing a membership.

Namespace

Drupal\group

Code

public function getCacheTags() {
  return $this
    ->getGroupContent()
    ->getCacheTags();
}