You are here

public function EntityAutocomplete::getExportDefaultOptions in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformElement/EntityAutocomplete.php \Drupal\webform\Plugin\WebformElement\EntityAutocomplete::getExportDefaultOptions()

Get an element's default export options.

Return value

array An associative array containing an element's default export options.

Overrides WebformElementBase::getExportDefaultOptions

File

src/Plugin/WebformElement/EntityAutocomplete.php, line 178

Class

EntityAutocomplete
Provides a 'entity_autocomplete' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

public function getExportDefaultOptions() {
  return [
    'entity_reference_items' => [
      'id',
      'title',
      'url',
    ],
  ];
}