You are here

public function UnsavedIndexConfiguration::getCacheTagsToInvalidate in Search API 8

Returns the cache tags that should be used to invalidate caches.

This will not return additional cache tags added through addCacheTags().

Return value

string[] Set of cache tags.

Overrides EntityInterface::getCacheTagsToInvalidate

See also

\Drupal\Core\Cache\RefinableCacheableDependencyInterface::addCacheTags()

\Drupal\Core\Cache\CacheableDependencyInterface::getCacheTags()

File

src/UnsavedIndexConfiguration.php, line 972

Class

UnsavedIndexConfiguration
Represents a configuration of an index that was not yet permanently saved.

Namespace

Drupal\search_api

Code

public function getCacheTagsToInvalidate() {
  return $this->entity
    ->getCacheTagsToInvalidate();
}