Search for _block

  1. Search 7.x for _block
  2. Search 9.5.x for _block
  3. Search 10.3.x for _block
  4. Search 11.x for _block
  5. Search main for _block
  6. Other projects
Title Object type File name Summary
SystemMenuBlockTest::convertBuiltMenuToIdTree function core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php Helper method to allow for easy menu link tree structure assertions.
SystemMenuBlockTest::setUp function core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php
SystemMenuBlockTest::testConfigExpanded function core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php Tests the config expanded option.
SystemMenuBlockTest::testConfigLevelDepth function core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php Tests the config start level and depth.
SystemMenuBlockTest::testConstructorDeprecation function core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php @deprecationMessage The menu.active_trail service must be passed to SystemMenuBlock::__construct(), it is required before Drupal 9.0.0. See https://www.drupal.org/node/2669550.
@group legacy
SystemMenuBlockTest::testSystemMenuBlockConfigDependencies function core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php Tests calculation of a system menu block's configuration dependencies.
SystemMessagesBlock class core/modules/system/src/Plugin/Block/SystemMessagesBlock.php Provides a block to display the messages.
SystemMessagesBlock.php file core/modules/system/src/Plugin/Block/SystemMessagesBlock.php
SystemMessagesBlock::build function core/modules/system/src/Plugin/Block/SystemMessagesBlock.php Builds and returns the renderable array for this block plugin.
SystemMessagesBlock::defaultConfiguration function core/modules/system/src/Plugin/Block/SystemMessagesBlock.php Gets default configuration for this plugin.
SystemMessagesBlock::getCacheMaxAge function core/modules/system/src/Plugin/Block/SystemMessagesBlock.php The maximum age for which this object may be cached.
SystemPoweredByBlock class core/modules/system/src/Plugin/Block/SystemPoweredByBlock.php Provides a 'Powered by Drupal' block.
SystemPoweredByBlock.php file core/modules/system/src/Plugin/Block/SystemPoweredByBlock.php
SystemPoweredByBlock::build function core/modules/system/src/Plugin/Block/SystemPoweredByBlock.php Builds and returns the renderable array for this block plugin.
SystemPoweredByBlock::defaultConfiguration function core/modules/system/src/Plugin/Block/SystemPoweredByBlock.php
system_block_view_system_main_block_alter function core/modules/system/system.module Implements hook_block_view_BASE_BLOCK_ID_alter().
system_post_update_add_expand_all_items_key_in_system_menu_block function core/modules/system/system.post_update.php Initialize 'expand_all_items' values to system_menu_block.
system_preprocess_block function core/modules/system/system.module Implements hook_preprocess_HOOK() for block templates.
template_preprocess_admin_block_content function core/modules/system/system.admin.inc Prepares variables for administrative content block templates.
template_preprocess_block function core/modules/block/block.module Prepares variables for block templates.
template_preprocess_block_content_add_list function core/modules/block_content/block_content.pages.inc Prepares variables for a custom block type creation list templates.
template_preprocess_book_all_books_block function core/modules/book/book.module Prepares variables for book listing block templates.
TestAccessBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php Provides a block to test access.
TestAccessBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php
TestAccessBlock::blockAccess function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php Indicates whether the block should be shown.
TestAccessBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php Builds and returns the renderable array for this block plugin.
TestAccessBlock::create function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php Creates an instance of the plugin.
TestAccessBlock::getCacheMaxAge function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php The maximum age for which this object may be cached.
TestAccessBlock::__construct function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php Tests the test access block.
TestAjaxBlock class core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAjaxBlock.php Provides a 'TestAjax' block.
TestAjaxBlock.php file core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAjaxBlock.php
TestAjaxBlock::ajaxCallback function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAjaxBlock.php Ajax callback.
TestAjaxBlock::blockForm function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAjaxBlock.php
TestAjaxBlock::build function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAjaxBlock.php Builds and returns the renderable array for this block plugin.
TestBlockInstantiation class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php Provides a basic block for testing block instantiation and configuration.
TestBlockInstantiation.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php
TestBlockInstantiation::blockAccess function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php Indicates whether the block should be shown.
TestBlockInstantiation::blockForm function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php
TestBlockInstantiation::blockSubmit function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php
TestBlockInstantiation::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php Builds and returns the renderable array for this block plugin.
TestBlockInstantiation::defaultConfiguration function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestBlockInstantiation.php
TestBlockPluginWithRefinableDependentAccessInterface interface core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php Test interface for dependent access block plugins.
TestCacheBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php Provides a block to test caching.
TestCacheBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php
TestCacheBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php Builds and returns the renderable array for this block plugin.
TestCacheBlock::getCacheContexts function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php The cache contexts associated with this object.
TestCacheBlock::getCacheMaxAge function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php The maximum age for which this object may be cached.
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.

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