public function KmlImporter::parseKml in farmOS 2.x
Ajax callback that returns the output fieldset after parsing KML.
Parameters
array $form: The form.
\Drupal\Core\Form\FormStateInterface $form_state: The form state.
Return value
mixed The elements to replace.
File
- modules/
core/ import/ modules/ kml/ src/ Form/ KmlImporter.php, line 267
Class
- KmlImporter
- Provides a form for importing KML placemarks as land assets.
Namespace
Drupal\farm_import_kml\FormCode
public function parseKml(array &$form, FormStateInterface $form_state) {
return $form['output'];
}