public function CtoolsConfiguration::saveToActiveStore in Configuration Management 7.2
Implements Drupal\configuration\Config\Configuration::saveToActiveStore().
Overrides Configuration::saveToActiveStore
2 methods override CtoolsConfiguration::saveToActiveStore()
- FieldGroupConfiguration::saveToActiveStore in lib/
Drupal/ configuration/ Config/ FieldGroupConfiguration.php - Implements Drupal\configuration\Config\Configuration::saveToActiveStore().
- PageManagerHandlerConfiguration::saveToActiveStore in lib/
Drupal/ configuration/ Config/ PageManagerHandlerConfiguration.php - Implements Drupal\configuration\Config\Configuration::saveToActiveStore().
File
- lib/
Drupal/ configuration/ Config/ CtoolsConfiguration.php, line 136 - Definition of Drupal\configuration\Config\CtoolsConfiguration.
Class
Namespace
Drupal\configuration\ConfigCode
public function saveToActiveStore(ConfigIteratorSettings &$settings) {
ctools_include('export');
$object = ctools_export_crud_load($this
->getComponent(), $this
->getIdentifier());
if ($object) {
ctools_export_crud_delete($this
->getComponent(), $object);
}
$data = $this
->getData();
$data->export_type = NULL;
ctools_export_crud_save($this
->getComponent(), $data);
$settings
->addInfo('imported', $this
->getUniqueId());
}