You are here

public function GeofieldBackendPluginInterface::save in Geofield 8

Saves the Geo value into the Specific Backend Format.

Parameters

mixed|null $geometry: The Geometry to save.

Return value

mixed|null The specific backend format value.

2 methods override GeofieldBackendPluginInterface::save()
GeofieldBackendDefault::save in src/Plugin/GeofieldBackend/GeofieldBackendDefault.php
Saves the Geo value into the Specific Backend Format.
GeofieldBackendPostgis::save in src/Plugin/GeofieldBackend/GeofieldBackendPostgis.php
Saves the Geo value into the Specific Backend Format.

File

src/Plugin/GeofieldBackendPluginInterface.php, line 37

Class

GeofieldBackendPluginInterface
Defines an interface for Geofield backends.

Namespace

Drupal\geofield\Plugin

Code

public function save($geometry);