You are here

public function CurrentStore::getCacheTags in Commerce Core 8.2

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 ArgumentDefaultPluginBase::getCacheTags

File

modules/store/src/Plugin/views/argument_default/CurrentStore.php, line 85

Class

CurrentStore
Default argument plugin for the current store.

Namespace

Drupal\commerce_store\Plugin\views\argument_default

Code

public function getCacheTags() {
  return $this->currentStore
    ->getStore()
    ->getCacheTags();
}