protected function ConfigSubscriber::onFieldEncryptSettingsChange in Field Encryption 3.0.x
Reacts to changes in field_encrypt.settings.
Parameters
\Drupal\Core\Config\Config $config: The field_encrypt.settings config object.
1 call to ConfigSubscriber::onFieldEncryptSettingsChange()
- ConfigSubscriber::onConfigSave in src/
EventSubscriber/ ConfigSubscriber.php - React on the configuration save event.
File
- src/
EventSubscriber/ ConfigSubscriber.php, line 168
Class
- ConfigSubscriber
- Updates existing data when field encryption settings are updated.
Namespace
Drupal\field_encrypt\EventSubscriberCode
protected function onFieldEncryptSettingsChange(Config $config) {
if ($config
->getOriginal('make_entities_uncacheable') !== $config
->get('make_entities_uncacheable')) {
$this->stateManager
->onFieldEncryptSettingsCacheChange();
}
}