public function ViewsBulkOperationsAdvancedTestAction::buildConfigurationForm in Views Bulk Operations (VBO) 4.0.x
Same name and namespace in other branches
- 8.3 tests/views_bulk_operations_test/src/Plugin/Action/ViewsBulkOperationsAdvancedTestAction.php \Drupal\views_bulk_operations_test\Plugin\Action\ViewsBulkOperationsAdvancedTestAction::buildConfigurationForm()
- 8 tests/views_bulk_operations_test/src/Plugin/Action/ViewsBulkOperationsAdvancedTestAction.php \Drupal\views_bulk_operations_test\Plugin\Action\ViewsBulkOperationsAdvancedTestAction::buildConfigurationForm()
- 8.2 tests/views_bulk_operations_test/src/Plugin/Action/ViewsBulkOperationsAdvancedTestAction.php \Drupal\views_bulk_operations_test\Plugin\Action\ViewsBulkOperationsAdvancedTestAction::buildConfigurationForm()
Configuration form builder.
Parameters
array $form: Form array.
Drupal\Core\Form\FormStateInterface $form_state: The form state object.
Return value
array The configuration form.
Overrides PluginFormInterface::buildConfigurationForm
File
- tests/
views_bulk_operations_test/ src/ Plugin/ Action/ ViewsBulkOperationsAdvancedTestAction.php, line 85
Class
- ViewsBulkOperationsAdvancedTestAction
- Action for test purposes only.
Namespace
Drupal\views_bulk_operations_test\Plugin\ActionCode
public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
$form['test_config'] = [
'#title' => $this
->t('Config'),
'#type' => 'textfield',
'#default_value' => $form_state
->getValue('config'),
];
return $form;
}