You are here

function openlayers_layer_type::to_record in Openlayers 6.2

Return value

A version of this layer_type which can be saved, when attempting to save a modified layer

1 call to openlayers_layer_type::to_record()
openlayers_layer_type::save in ./openlayers.module

File

./openlayers.module, line 918
Main OpenLayers API File

Class

openlayers_layer_type
We define base classes in the core module. All other parent classes can be autoloaded through ctools.

Code

function to_record() {
  return array(
    'name' => $this->name,
    'description' => $this->description,
    'title' => $this->title,
    'data' => $this->data,
  );
}