public static function YamapsFieldType::defaultFieldSettings in Yandex.Maps 8
Defines the field-level settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides FieldItemBase::defaultFieldSettings
File
- src/
Plugin/ Field/ FieldType/ YamapsFieldType.php, line 27
Class
- YamapsFieldType
- Plugin implementation of the 'Yandex Map' field type.
Namespace
Drupal\yamaps\Plugin\Field\FieldTypeCode
public static function defaultFieldSettings() {
return [
'enable_placemarks' => TRUE,
'enable_lines' => TRUE,
'enable_polygons' => TRUE,
] + parent::defaultFieldSettings();
}