You are here

public function ConfigActionsService::clearSourceCache in Config Actions 8

Clear the internal cache of source plugins. Saves any changed data first via SaveAll.

Overrides ConfigActionsServiceInterface::clearSourceCache

File

src/ConfigActionsService.php, line 241

Class

ConfigActionsService
Base class for config_actions plugins.

Namespace

Drupal\config_actions

Code

public function clearSourceCache() {
  $this
    ->saveAll();
  $this->sourceCache = [];
}