You are here

protected function FblikebuttonFormSettings::clearCache in Facebook Like Button 8

@TODO Clear render cache to make the button use the new configuration

1 call to FblikebuttonFormSettings::clearCache()
FblikebuttonFormSettings::submitForm in src/Form/FblikebuttonFormSettings.php
Form submission handler.

File

src/Form/FblikebuttonFormSettings.php, line 209

Class

FblikebuttonFormSettings

Namespace

Drupal\fblikebutton\Form

Code

protected function clearCache() {
  \Drupal::cache('render')
    ->invalidateAll();
}