You are here

public function OpenlayersMap::flush in Openlayers 8.4

1 call to OpenlayersMap::flush()
OpenlayersMap::postSave in src/Entity/OpenlayersMap.php
Acts on a saved entity before the insert or update hook is invoked.

File

src/Entity/OpenlayersMap.php, line 342

Class

OpenlayersMap
Defines the Openlayers Map entity.

Namespace

Drupal\openlayers\Entity

Code

public function flush() {

  // Clear caches so that formatters may be added for this style.
  Cache::invalidateTags($this
    ->getCacheTagsToInvalidate());
  return $this;
}