You are here

public function FieldsForm::ajaxRemoveItem in Feed Import 8

Ajax callback to remove an item

File

src/Form/FieldsForm.php, line 315
Contains \Drupal\feed_import\Form\FieldsForm

Class

FieldsForm

Namespace

Drupal\feed_import\Form

Code

public function ajaxRemoveItem(array &$form, FormStateInterface $form_state) {

  // Send empty string to remove container.
  return array(
    '#markup' => '',
  );
}