function TestAttributesBlock::blockForm

Same name in other branches
  1. 9 core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAttributesBlock.php \Drupal\layout_builder_test\Plugin\Block\TestAttributesBlock::blockForm()
  2. 11.x core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAttributesBlock.php \Drupal\layout_builder_test\Plugin\Block\TestAttributesBlock::blockForm()

Overrides BlockPluginTrait::blockForm

File

core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAttributesBlock.php, line 23

Class

TestAttributesBlock
Provides a 'TestAttributes' block.

Namespace

Drupal\layout_builder_test\Plugin\Block

Code

public function blockForm($form, FormStateInterface $form_state) {
    return $form;
}

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