You are here

public function EntityExportCsvTrait::ajaxReplaceBundleCallback in Entity Export CSV 8

Ajax replace callback.

Parameters

array $form: The form.

\Drupal\Core\Form\FormStateInterface $form_state: The form state.

Return value

array The bundle wrapper form.

File

src/Form/EntityExportCsvTrait.php, line 37

Class

EntityExportCsvTrait
Provides a trait for Entity Export Csv form.

Namespace

Drupal\entity_export_csv\Form

Code

public function ajaxReplaceBundleCallback(array $form, FormStateInterface $form_state) {
  return $form['bundle_wrapper'];
}