public static function Openlayers::save in Openlayers 7.3
Save an object in the database.
Parameters
ObjectInterface $object: The object to save.
6 calls to Openlayers::save()
- openlayers_component_form_options_submit in modules/
openlayers_ui/ src/ Plugin/ export_ui/ OpenlayersComponents.inc - Component options form submit handler.
- openlayers_control_form_options_submit in modules/
openlayers_ui/ src/ Plugin/ export_ui/ OpenlayersControls.inc - Control options config form submit handler.
- openlayers_interaction_form_options_submit in modules/
openlayers_ui/ src/ Plugin/ export_ui/ OpenlayersInteractions.inc - Interaction options config form submit handler.
- openlayers_layer_form_options_submit in modules/
openlayers_ui/ src/ Plugin/ export_ui/ OpenlayersLayers.inc - Layer options config form submit handler.
- openlayers_map_form_layers_submit in modules/
openlayers_ui/ src/ Plugin/ export_ui/ OpenlayersMaps.inc - Map layers config form submit handler.
File
- src/
Openlayers.php, line 196 - Contains Openlayers.
Class
- Openlayers
- Class Openlayers.
Namespace
Drupal\openlayersCode
public static function save(ObjectInterface $object) {
ctools_include('export');
$configuration = $object
->getConfiguration();
$export = $object
->getExport();
ctools_export_crud_save($configuration['table'], $export);
}