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
NavigationUserBlockTest::$modules property core/modules/navigation/tests/src/FunctionalJavascript/NavigationUserBlockTest.php Modules to install.
NavigationUserBlockTest::$normalUser property core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php An authenticated user to test navigation block caching.
NavigationUserBlockTest::$normalUser property core/modules/navigation/tests/src/FunctionalJavascript/NavigationUserBlockTest.php An authenticated user to test navigation block caching.
NavigationUserBlockTest::setUp function core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php
NavigationUserBlockTest::setUp function core/modules/navigation/tests/src/FunctionalJavascript/NavigationUserBlockTest.php
NavigationUserBlockTest::testNavigationUserBlock function core/modules/navigation/tests/src/Functional/NavigationUserBlockTest.php Test output of user navigation block with regards to caching and contents.
NavigationUserBlockTest::testNavigationUserBlock function core/modules/navigation/tests/src/FunctionalJavascript/NavigationUserBlockTest.php Test output of user navigation block with regards to 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
navigation_test_preprocess_block__navigation function core/modules/navigation/tests/navigation_test/navigation_test.module Implements hook_preprocess_HOOK().
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 Modules to install.
NewDefaultThemeBlocksTest::$themeInstaller property core/modules/block/tests/src/Kernel/NewDefaultThemeBlocksTest.php The theme installer service.
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 by block_themes_installed().
NewTopicsBlock class core/modules/forum/src/Plugin/Block/NewTopicsBlock.php Provides a 'New forum topics' block.
NewTopicsBlock.php file core/modules/forum/src/Plugin/Block/NewTopicsBlock.php
NewTopicsBlock::buildForumQuery function core/modules/forum/src/Plugin/Block/NewTopicsBlock.php Builds the select query to use for this forum block.
Node::blockDisplayOptions function core/modules/node/src/Plugin/views/wizard/Node.php Retrieves the block display options.
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 The theme to install as the default for testing.
NodeBlockFunctionalTest::$modules property core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php Modules to install.
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.
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 Builds and returns the renderable array for this block plugin.
NodeHooks::blockAlter function core/modules/node/src/Hook/NodeHooks.php Implements hook_block_alter().
NodeHooks::userCancelBlockUnpublish function core/modules/node/src/Hook/NodeHooks.php Implements hook_user_cancel().
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.
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
node_preprocess_block function core/modules/node/node.module Implements hook_preprocess_HOOK() for block templates.
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 The theme to install as the default for testing.
NonDefaultBlockAdminTest::$modules property core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php Modules to install.
NonDefaultBlockAdminTest::setUp function core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php

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