public function Oauth2Token::getCacheTags in Simple OAuth (OAuth2) & OpenID Connect 8.4
Same name and namespace in other branches
- 8.3 src/Entity/Oauth2Token.php \Drupal\simple_oauth\Entity\Oauth2Token::getCacheTags()
- 5.x src/Entity/Oauth2Token.php \Drupal\simple_oauth\Entity\Oauth2Token::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 EntityBase::getCacheTags
File
- src/
Entity/ Oauth2Token.php, line 240
Class
- Oauth2Token
- Defines the Oauth2 Token entity.
Namespace
Drupal\simple_oauth\EntityCode
public function getCacheTags() {
// Same reasoning as in ::getCacheTagsToInvalidate().
return static::getCacheTagsToInvalidate();
}