namespace Drupal\block_test\Plugin\Block

Same name in other branches
  1. 10 Drupal\block_test\Plugin\Block
  2. 11.x Drupal\block_test\Plugin\Block
  3. 8.9.x Drupal\block_test\Plugin\Block
Object name File name Summary
TestAccessBlock core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php Provides a block to test access.
TestBlockInstantiation core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php Provides a basic block for testing block instantiation and configuration.
TestCacheBlock core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php Provides a block to test caching.
TestContextAwareBlock core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareBlock.php Provides a context-aware block.
TestContextAwareNoValidContextOptionsBlock core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareNoValidContextOptionsBlock.php Provides a context-aware block that uses a not-passed, non-required context.
TestContextAwareUnsatisfiedBlock core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareUnsatisfiedBlock.php Provides a context-aware block.
TestFormBlock core/modules/block/tests/modules/block_test/src/Plugin/Block/TestFormBlock.php Provides a block to test caching.
TestHtmlBlock core/modules/block/tests/modules/block_test/src/Plugin/Block/TestHtmlBlock.php Provides a block to test HTML.
TestMultipleFormsBlock core/modules/block/tests/modules/block_test/src/Plugin/Block/TestMultipleFormsBlock.php Provides a block with multiple forms.
TestSettingsValidationBlock core/modules/block/tests/modules/block_test/src/Plugin/Block/TestSettingsValidationBlock.php Provides a test settings validation block.
TestXSSTitleBlock core/modules/block/tests/modules/block_test/src/Plugin/Block/TestXSSTitleBlock.php Provides a block to test XSS in title.

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