public function FieldGroupConfiguration::saveToActiveStore in Configuration Management 7.2
Implements Drupal\configuration\Config\Configuration::saveToActiveStore().
Overrides CtoolsConfiguration::saveToActiveStore
File
- lib/
Drupal/ configuration/ Config/ FieldGroupConfiguration.php, line 53 - Definition of Drupal\configuration\Config\FieldGroupHandlerConfiguration.
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;
$group = field_group_unpack($data);
ctools_export_crud_save($this
->getComponent(), $group);
$settings
->addInfo('imported', $this
->getUniqueId());
}