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. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Block class core/modules/views/src/Plugin/views/display/Block.php The plugin that handles a block.
Block class core/modules/block/src/Entity/Block.php Defines a Block configuration entity class.
Block class core/modules/block/src/Plugin/migrate/source/Block.php Drupal 6/7 block source from database.
Block class core/lib/Drupal/Core/Block/Attribute/Block.php The Block attribute.
Block class core/lib/Drupal/Core/Block/Annotation/Block.php Defines a Block annotation object.

All search results

Title Object type File name Summary
SystemMenuBlockTest::testSystemMenuBlockConfigDependencies function core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php Tests calculation of a system menu block's configuration dependencies.
SystemMenuNavigationBlock class core/modules/navigation/src/Plugin/Derivative/SystemMenuNavigationBlock.php Provides navigation block plugin definitions for custom menus.
SystemMenuNavigationBlock.php file core/modules/navigation/src/Plugin/Derivative/SystemMenuNavigationBlock.php
SystemMenuNavigationBlock::create function core/modules/navigation/src/Plugin/Derivative/SystemMenuNavigationBlock.php Creates a new class instance.
SystemMenuNavigationBlock::getDerivativeDefinitions function core/modules/navigation/src/Plugin/Derivative/SystemMenuNavigationBlock.php Gets the definition of all derivatives of a base plugin.
SystemMenuNavigationBlock::__construct function core/modules/navigation/src/Plugin/Derivative/SystemMenuNavigationBlock.php Constructs new SystemMenuNavigationBlock.
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
SystemThemeHooks::preprocessBlock function core/modules/system/src/Hook/SystemThemeHooks.php Implements hook_preprocess_HOOK() for block templates.
template_preprocess_admin_block_content function core/modules/system/system.module 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.module Prepares variables for a block type creation list 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 Instantiates a new instance of the implementing class using autowiring.
TestAccessBlock::getCacheMaxAge function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php
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.
TestAttributesBlock class core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAttributesBlock.php Provides a 'TestAttributes' block.
TestAttributesBlock.php file core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAttributesBlock.php
TestAttributesBlock::blockForm function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAttributesBlock.php
TestAttributesBlock::build function core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAttributesBlock.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
TestCacheBlock::getCacheMaxAge function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php
TestCacheOptionalBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheOptionalBlock.php Provides a block implementing CacheOptionalInterface to test its caching.
TestCacheOptionalBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheOptionalBlock.php

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