class SecureLoginCacheableDependency in Secure Login 8
Defines the SecureLoginCacheableDependency.
Hierarchy
- class \Drupal\securelogin\SecureLoginCacheableDependency implements CacheableDependencyInterface
Expanded class hierarchy of SecureLoginCacheableDependency
File
- src/
SecureLoginCacheableDependency.php, line 11
Namespace
Drupal\secureloginView source
class SecureLoginCacheableDependency implements CacheableDependencyInterface {
/**
* {@inheritdoc}
*/
public function getCacheContexts() {
return [
'securelogin',
];
}
/**
* {@inheritdoc}
*/
public function getCacheMaxAge() {
return Cache::PERMANENT;
}
/**
* {@inheritdoc}
*/
public function getCacheTags() {
return [];
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SecureLoginCacheableDependency:: |
public | function |
The cache contexts associated with this object. Overrides CacheableDependencyInterface:: |
|
SecureLoginCacheableDependency:: |
public | function |
The maximum age for which this object may be cached. Overrides CacheableDependencyInterface:: |
|
SecureLoginCacheableDependency:: |
public | function |
The cache tags associated with this object. Overrides CacheableDependencyInterface:: |