public function UnsavedIndexConfiguration::addCacheTags in Search API 8
Adds cache tags.
Parameters
string[] $cache_tags: The cache tags to be added.
Return value
$this
Overrides RefinableCacheableDependencyInterface::addCacheTags
File
- src/
UnsavedIndexConfiguration.php, line 1058
Class
- UnsavedIndexConfiguration
- Represents a configuration of an index that was not yet permanently saved.
Namespace
Drupal\search_apiCode
public function addCacheTags(array $cache_tags) {
$this->entity
->addCacheTags($cache_tags);
return $this;
}