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 11.x for block
  6. 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
NavigationUserBlockTest::$defaultTheme property core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php The theme to install as the default for testing.
NavigationUserBlockTest::$modules property core/modules/navigation/tests/src/FunctionalJavascript/NavigationUserBlockTest.php Modules to install.
NavigationUserBlockTest::$modules property core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php Modules to install.
NavigationUserBlockTest::$normalUser property core/modules/navigation/tests/src/FunctionalJavascript/NavigationUserBlockTest.php An authenticated user to test navigation block caching.
NavigationUserBlockTest::$normalUser property core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php An authenticated user to test navigation block caching.
NavigationUserBlockTest::setUp function core/modules/navigation/tests/src/FunctionalJavascript/NavigationUserBlockTest.php
NavigationUserBlockTest::setUp function core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php
NavigationUserBlockTest::testNavigationUserBlock function core/modules/navigation/tests/src/FunctionalJavascript/NavigationUserBlockTest.php Test output of user navigation block with regards to contents.
NavigationUserBlockTest::testNavigationUserBlock function core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php Test output of user navigation block with regards to caching and contents.
NavigationUserBlockTest::testNavigationUserBlockFallback function core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php Test output of user navigation block when there are no menu items.
navigation_test_block.info.yml file core/modules/navigation/tests/navigation_test_block/navigation_test_block.info.yml core/modules/navigation/tests/navigation_test_block/navigation_test_block.info.yml
NegotiationConfigureForm::$blockManager property core/modules/language/src/Form/NegotiationConfigureForm.php The block manager.
NegotiationConfigureForm::$blockStorage property core/modules/language/src/Form/NegotiationConfigureForm.php The block storage.
NewDefaultThemeBlocksTest class core/modules/block/tests/src/Kernel/NewDefaultThemeBlocksTest.php Tests that a new default theme gets blocks.
NewDefaultThemeBlocksTest.php file core/modules/block/tests/src/Kernel/NewDefaultThemeBlocksTest.php
NewDefaultThemeBlocksTest::$defaultTheme property core/modules/block/tests/src/Kernel/NewDefaultThemeBlocksTest.php The default theme.
NewDefaultThemeBlocksTest::$modules property core/modules/block/tests/src/Kernel/NewDefaultThemeBlocksTest.php
NewDefaultThemeBlocksTest::setUp function core/modules/block/tests/src/Kernel/NewDefaultThemeBlocksTest.php
NewDefaultThemeBlocksTest::testBlockCollision function core/modules/block/tests/src/Kernel/NewDefaultThemeBlocksTest.php Checks that a theme block is still created when same ID exists.
NewDefaultThemeBlocksTest::testNewDefaultThemeBlocks function core/modules/block/tests/src/Kernel/NewDefaultThemeBlocksTest.php Check the blocks are correctly copied.
Node::blockDisplayOptions function core/modules/node/src/Plugin/views/wizard/Node.php
NodeBlockFunctionalTest class core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php Tests node block functionality.
NodeBlockFunctionalTest.php file core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php
NodeBlockFunctionalTest::$adminUser property core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php An administrative user for testing.
NodeBlockFunctionalTest::$defaultTheme property core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php
NodeBlockFunctionalTest::$modules property core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php
NodeBlockFunctionalTest::$webUser property core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php An unprivileged user for testing.
NodeBlockFunctionalTest::setUp function core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php
NodeBlockFunctionalTest::testRecentNodeBlock function core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php Tests the recent comments block.
NodeBlockHooks class core/modules/node/src/Hook/NodeBlockHooks.php Block hook implementations for node.
NodeBlockHooks.php file core/modules/node/src/Hook/NodeBlockHooks.php
NodeBlockHooks::blockAlter function core/modules/node/src/Hook/NodeBlockHooks.php Implements hook_block_alter().
NodeContextTestBlock class core/modules/node/tests/modules/node_block_test/src/Plugin/Block/NodeContextTestBlock.php Provides a 'Node Context Test' block.
NodeContextTestBlock.php file core/modules/node/tests/modules/node_block_test/src/Plugin/Block/NodeContextTestBlock.php
NodeContextTestBlock::build function core/modules/node/tests/modules/node_block_test/src/Plugin/Block/NodeContextTestBlock.php
NodeSyndicateBlockTest class core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php Tests if the syndicate block is available.
NodeSyndicateBlockTest.php file core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php
NodeSyndicateBlockTest::$defaultTheme property core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php The theme to install as the default for testing.
NodeSyndicateBlockTest::$modules property core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php Modules to install.
NodeSyndicateBlockTest::setUp function core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php
NodeSyndicateBlockTest::testSyndicateBlock function core/modules/node/tests/src/Functional/NodeSyndicateBlockTest.php Tests that the "Syndicate" block is shown when enabled.
NodeUserHooks::userCancelBlockUnpublish function core/modules/node/src/Hook/NodeUserHooks.php Implements hook_user_cancel().
node_block_test.info.yml file core/modules/node/tests/modules/node_block_test/node_block_test.info.yml core/modules/node/tests/modules/node_block_test/node_block_test.info.yml
NonDefaultBlockAdminTest class core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php Tests the block administration page for a non-default theme.
NonDefaultBlockAdminTest.php file core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php
NonDefaultBlockAdminTest::$defaultTheme property core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php
NonDefaultBlockAdminTest::$modules property core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php
NonDefaultBlockAdminTest::setUp function core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php
NonDefaultBlockAdminTest::testNonDefaultBlockAdmin function core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php Tests non-default theme admin.
OliveroHooks::preprocessBlock function core/themes/olivero/src/Hook/OliveroHooks.php Implements hook_preprocess_HOOK() for block.

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