public function Provider::addCacheContexts in oEmbed 8
Adds cache contexts.
Parameters
string[] $cache_contexts: The cache contexts to be added.
Return value
$this
Overrides RefinableCacheableDependencyTrait::addCacheContexts
File
- src/
Entity/ Provider.php, line 92 - Contains \Drupal\oembed\Entity\Provider.
Class
- Provider
- Defines the Provider entity.
Namespace
Drupal\oembed\EntityCode
public function addCacheContexts(array $cache_contexts) {
// TODO: Implement addCacheContexts() method.
}