3 namespace Drupal\layout_builder_fieldblock_test\Plugin\Block;
5 use Drupal\layout_builder\Plugin\Block\FieldBlock as LayoutBuilderFieldBlock;
8 * Provides test field block to test with Block UI.
10 * \Drupal\Tests\layout_builder\FunctionalJavascript\FieldBlockTest provides
11 * test coverage of complex AJAX interactions within certain field blocks.
12 * layout_builder_plugin_filter_block__block_ui_alter() removes certain blocks
13 * with 'layout_builder' as the provider. To make these blocks available during
14 * testing, this plugin uses the same deriver but each derivative will have a
18 * id = "field_block_test",
19 * deriver = "\Drupal\layout_builder\Plugin\Derivative\FieldBlockDeriver",
22 * @see \Drupal\Tests\layout_builder\FunctionalJavascript\FieldBlockTest
23 * @see layout_builder_plugin_filter_block__block_ui_alter()
25 class FieldBlock extends LayoutBuilderFieldBlock {