protected function KmlNormalizer::supportedProperties in farmOS 2.x
Define supported properties.
Return value
string[] An array of property names (strings).
2 calls to KmlNormalizer::supportedProperties()
- KmlNormalizer::denormalize in modules/
core/ kml/ src/ Normalizer/ KmlNormalizer.php - KmlNormalizer::normalize in modules/
core/ kml/ src/ Normalizer/ KmlNormalizer.php
File
- modules/
core/ kml/ src/ Normalizer/ KmlNormalizer.php, line 157
Class
- KmlNormalizer
- Normalizes GeometryWrapper objects into array for the Kml encoder.
Namespace
Drupal\farm_kml\NormalizerCode
protected function supportedProperties() {
return [
'name',
'entity_type',
'bundle',
'internal_id',
'description',
];
}