Search for _block

  1. Search 7.x for _block
  2. Search 9.5.x for _block
  3. Search 8.9.x for _block
  4. Search 10.3.x for _block
  5. Search main for _block
  6. Other projects
Title Object type File name Summary
TestCacheOptionalBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheOptionalBlock.php
TestCacheOptionalBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheOptionalBlock.php Builds and returns the renderable array for this block plugin.
TestCacheOptionalBlock::getCacheContexts function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheOptionalBlock.php
TestCacheOptionalBlock::getCacheMaxAge function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheOptionalBlock.php
TestContextAwareBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareBlock.php Provides a context-aware block.
TestContextAwareBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareBlock.php
TestContextAwareBlock::blockAccess function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareBlock.php Indicates whether the block should be shown.
TestContextAwareBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareBlock.php Builds and returns the renderable array for this block plugin.
TestContextAwareNoValidContextOptionsBlock class 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.
TestContextAwareNoValidContextOptionsBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareNoValidContextOptionsBlock.php
TestContextAwareNoValidContextOptionsBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareNoValidContextOptionsBlock.php Builds and returns the renderable array for this block plugin.
TestContextAwareUnsatisfiedBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareUnsatisfiedBlock.php Provides a context-aware block.
TestContextAwareUnsatisfiedBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareUnsatisfiedBlock.php
TestContextAwareUnsatisfiedBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareUnsatisfiedBlock.php Builds and returns the renderable array for this block plugin.
TestDiscoveryTest::testGetTestInfoEmptyDocblock function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Ensure that classes are not reflected when the docblock is empty.
TestEmptyBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestEmptyBlock.php Provides a block that returns an empty array.
TestEmptyBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestEmptyBlock.php
TestEmptyBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestEmptyBlock.php Builds and returns the renderable array for this block plugin.
TestFormApiFormBlock class core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php Provides a block containing a Form API form for use in Layout Builder tests.
TestFormApiFormBlock.php file core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php
TestFormApiFormBlock::$formBuilder property core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php The form builder service.
TestFormApiFormBlock::build function core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php Builds and returns the renderable array for this block plugin.
TestFormApiFormBlock::buildForm function core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php Form constructor.
TestFormApiFormBlock::getFormId function core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php Returns a unique string identifying the form.
TestFormApiFormBlock::submitForm function core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php Form submission handler.
TestFormApiFormBlock::validateForm function core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php Form validation handler.
TestFormApiFormBlock::__construct function core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestFormApiFormBlock.php TestFormApiFormBlock constructor.
TestFormBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestFormBlock.php Provides a block to test caching.
TestFormBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestFormBlock.php
TestFormBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestFormBlock.php Builds and returns the renderable array for this block plugin.
TestHtmlBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestHtmlBlock.php Provides a block to test HTML.
TestHtmlBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestHtmlBlock.php
TestHtmlBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestHtmlBlock.php Builds and returns the renderable array for this block plugin.
testing_themes_blocks.info.yml file core/profiles/tests/testing_themes_blocks/testing_themes_blocks.info.yml core/profiles/tests/testing_themes_blocks/testing_themes_blocks.info.yml
testing_theme_optional_blocks.info.yml file core/profiles/tests/testing_themes_blocks/themes/testing_theme_optional_blocks/testing_theme_optional_blocks.info.yml core/profiles/tests/testing_themes_blocks/themes/testing_theme_optional_blocks/testing_theme_optional_blocks.info.yml
testing_theme_required_blocks.info.yml file core/profiles/tests/testing_themes_blocks/themes/testing_theme_required_blocks/testing_theme_required_blocks.info.yml core/profiles/tests/testing_themes_blocks/themes/testing_theme_required_blocks/testing_theme_required_blocks.info.yml
testing_theme_without_blocks.info.yml file core/profiles/tests/testing_themes_blocks/themes/testing_theme_without_blocks/testing_theme_without_blocks.info.yml core/profiles/tests/testing_themes_blocks/themes/testing_theme_without_blocks/testing_theme_without_blocks.info.yml
TestInlineTemplateFormBlock class core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestInlineTemplateFormBlock.php Provides a block containing inline template with <form> tag.
TestInlineTemplateFormBlock.php file core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestInlineTemplateFormBlock.php
TestInlineTemplateFormBlock::build function core/modules/layout_builder/tests/modules/layout_builder_form_block_test/src/Plugin/Block/TestInlineTemplateFormBlock.php Builds and returns the renderable array for this block plugin.
TestMultipleFormsBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestMultipleFormsBlock.php Provides a block with multiple forms.
TestMultipleFormsBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestMultipleFormsBlock.php
TestMultipleFormsBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestMultipleFormsBlock.php Builds and returns the renderable array for this block plugin.
TestPageTitleMainContentAndMessagesBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestPageTitleMainContentAndMessagesBlock.php Provides a block which includes page title, main content & messages together.
TestPageTitleMainContentAndMessagesBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestPageTitleMainContentAndMessagesBlock.php
TestPageTitleMainContentAndMessagesBlock::$isMainContentPlaced property core/modules/block/tests/modules/block_test/src/Plugin/Block/TestPageTitleMainContentAndMessagesBlock.php Whether setMainContent was called.
TestPageTitleMainContentAndMessagesBlock::$isPageTitlePlaced property core/modules/block/tests/modules/block_test/src/Plugin/Block/TestPageTitleMainContentAndMessagesBlock.php Whether setTitle was called.
TestPageTitleMainContentAndMessagesBlock::$mainContent property core/modules/block/tests/modules/block_test/src/Plugin/Block/TestPageTitleMainContentAndMessagesBlock.php The render array representing the main page content.
TestPageTitleMainContentAndMessagesBlock::$title property core/modules/block/tests/modules/block_test/src/Plugin/Block/TestPageTitleMainContentAndMessagesBlock.php The page title: a string (plain title) or a render array (formatted title).
TestPageTitleMainContentAndMessagesBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestPageTitleMainContentAndMessagesBlock.php Builds and returns the renderable array for this block plugin.

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