function ActionAjaxTest::partyCallback

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::partyCallback()
  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::partyCallback()
  3. 11.x core/modules/action/tests/action_form_ajax_test/src/Plugin/Action/ActionAjaxTest.php \Drupal\action_form_ajax_test\Plugin\Action\ActionAjaxTest::partyCallback()

Callback for party checkbox.

File

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

Class

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

Namespace

Drupal\action_form_ajax_test\Plugin\Action

Code

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

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