function ActionAjaxTest::submitConfigurationForm

Same name in other branches
  1. 9 core/modules/action/tests/action_form_ajax_test/src/Plugin/Action/ActionAjaxTest.php \Drupal\action_form_ajax_test\Plugin\Action\ActionAjaxTest::submitConfigurationForm()
  2. 8.9.x core/modules/action/tests/action_form_ajax_test/src/Plugin/Action/ActionAjaxTest.php \Drupal\action_form_ajax_test\Plugin\Action\ActionAjaxTest::submitConfigurationForm()
  3. 10 core/modules/action/tests/action_form_ajax_test/src/Plugin/Action/ActionAjaxTest.php \Drupal\action_form_ajax_test\Plugin\Action\ActionAjaxTest::submitConfigurationForm()

Overrides PluginFormInterface::submitConfigurationForm

File

core/modules/action/tests/action_form_ajax_test/src/Plugin/Action/ActionAjaxTest.php, line 86

Class

ActionAjaxTest
Plugin used for testing AJAX in action config entity forms.

Namespace

Drupal\action_form_ajax_test\Plugin\Action

Code

public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
    $this->configuration['party_time'] = $form_state->getValue('party_time');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.