function TestAjaxBlock::ajaxCallback

Ajax callback.

File

core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAjaxBlock.php, line 46

Class

TestAjaxBlock
Provides a 'TestAjax' block.

Namespace

Drupal\layout_builder_test\Plugin\Block

Code

public function ajaxCallback($form, $form_state) {
  return $form['settings']['ajax_test'];
}

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