You are here

public function ActionAjaxTest::partyCallback in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/action/tests/action_form_ajax_test/src/Plugin/Action/ActionAjaxTest.php \Drupal\action_form_ajax_test\Plugin\Action\ActionAjaxTest::partyCallback()
  2. 9 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 78

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'];
}