public function VBExportAction::submitConfigurationForm in Content Export YAML 8
Submit handler for the action configuration form.
If not implemented, the cleaned form values will be passed direclty to the action $configuration parameter.
Parameters
array $form: Form array.
Drupal\Core\Form\FormStateInterface $form_state: The form state object.
File
- modules/
vbo_content_export_yaml/ src/ Plugin/ Action/ VBExportAction.php, line 108
Class
- VBExportAction
- An example action covering most of the possible options.
Namespace
Drupal\vbo_content_export_yaml\Plugin\ActionCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
// This is not required here, when this method is not defined,
// form values are assigned to the action configuration by default.
// This function is a must only when user input processing is needed.
// $this->configuration['file_name_export'] = $form_state->getValue('file_name_export');
}