You are here

public function VboExportBase::buildPreConfigurationForm in VBO export 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/Action/VboExportBase.php \Drupal\vbo_export\Plugin\Action\VboExportBase::buildPreConfigurationForm()
1 call to VboExportBase::buildPreConfigurationForm()
VboExportCsv::buildPreConfigurationForm in src/Plugin/Action/VboExportCsv.php
Add csv separator setting to preliminary config.
1 method overrides VboExportBase::buildPreConfigurationForm()
VboExportCsv::buildPreConfigurationForm in src/Plugin/Action/VboExportCsv.php
Add csv separator setting to preliminary config.

File

src/Plugin/Action/VboExportBase.php, line 50

Class

VboExportBase
Base class for export actions.

Namespace

Drupal\vbo_export\Plugin\Action

Code

public function buildPreConfigurationForm(array $form, array $values, FormStateInterface $form_state) {
  $form['strip_tags'] = [
    '#title' => $this
      ->t('Strip HTML tags'),
    '#type' => 'checkbox',
    '#default_value' => isset($values['strip_tags']) ? $values['strip_tags'] : FALSE,
  ];
  return $form;
}