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
BlockAddTest::$defaultTheme property core/modules/block/tests/src/FunctionalJavascript/BlockAddTest.php The theme to install as the default for testing.
BlockAddTest::$modules property core/modules/block/tests/src/FunctionalJavascript/BlockAddTest.php Modules to install.
BlockAddTest::testBlockAddThemeSelector function core/modules/block/tests/src/FunctionalJavascript/BlockAddTest.php Tests the AJAX for the theme selector.
BlockAdminThemeTest class core/modules/block/tests/src/Functional/BlockAdminThemeTest.php Tests the block system with admin themes.
BlockAdminThemeTest.php file core/modules/block/tests/src/Functional/BlockAdminThemeTest.php
BlockAdminThemeTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockAdminThemeTest.php The theme to install as the default for testing.
BlockAdminThemeTest::$modules property core/modules/block/tests/src/Functional/BlockAdminThemeTest.php Modules to install.
BlockAdminThemeTest::testAdminTheme function core/modules/block/tests/src/Functional/BlockAdminThemeTest.php Check for the accessibility of the admin theme on the block admin page.
BlockAdminThemeTest::testClaroAdminTheme function core/modules/block/tests/src/Functional/BlockAdminThemeTest.php Ensure contextual links are disabled in Claro theme.
BlockBase class core/lib/Drupal/Core/Block/BlockBase.php Defines a base block implementation that most blocks plugins will extend.
BlockBase.php file core/lib/Drupal/Core/Block/BlockBase.php
BlockBase::buildConfigurationForm function core/lib/Drupal/Core/Block/BlockBase.php Form constructor.
BlockBaseTest class core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php @coversDefaultClass \Drupal\Core\Block\BlockBase
@group block
BlockBaseTest.php file core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php
BlockBaseTest::providerTestGetMachineNameSuggestion function core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php Provides data for testGetMachineNameSuggestion().
BlockBaseTest::testGetMachineNameSuggestion function core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php Tests the machine name suggestion.
BlockCacheTest class core/modules/block/tests/src/Functional/BlockCacheTest.php Tests block caching.
BlockCacheTest.php file core/modules/block/tests/src/Functional/BlockCacheTest.php
BlockCacheTest::$adminUser property core/modules/block/tests/src/Functional/BlockCacheTest.php A user with permission to administer blocks.
BlockCacheTest::$block property core/modules/block/tests/src/Functional/BlockCacheTest.php The block used by this test.
BlockCacheTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockCacheTest.php The theme to install as the default for testing.
BlockCacheTest::$modules property core/modules/block/tests/src/Functional/BlockCacheTest.php Modules to install.
BlockCacheTest::$normalUser property core/modules/block/tests/src/Functional/BlockCacheTest.php An authenticated user to test block caching.
BlockCacheTest::$normalUserAlt property core/modules/block/tests/src/Functional/BlockCacheTest.php Another authenticated user to test block caching.
BlockCacheTest::setUp function core/modules/block/tests/src/Functional/BlockCacheTest.php
BlockCacheTest::testCachePermissions function core/modules/block/tests/src/Functional/BlockCacheTest.php Tests a cacheable block without any additional cache context.
BlockCacheTest::testCachePerPage function core/modules/block/tests/src/Functional/BlockCacheTest.php Tests "url" cache context.
BlockCacheTest::testCachePerRole function core/modules/block/tests/src/Functional/BlockCacheTest.php Tests "user.roles" cache context.
BlockCacheTest::testCachePerUser function core/modules/block/tests/src/Functional/BlockCacheTest.php Tests "user" cache context.
BlockCacheTest::testNoCache function core/modules/block/tests/src/Functional/BlockCacheTest.php Tests non-cacheable block.
BlockComponentRenderArray class core/modules/layout_builder/src/EventSubscriber/BlockComponentRenderArray.php Builds render arrays and handles access for all block components.
BlockComponentRenderArray.php file core/modules/layout_builder/src/EventSubscriber/BlockComponentRenderArray.php
BlockComponentRenderArray::$currentUser property core/modules/layout_builder/src/EventSubscriber/BlockComponentRenderArray.php The current user.
BlockComponentRenderArray::getSubscribedEvents function core/modules/layout_builder/src/EventSubscriber/BlockComponentRenderArray.php
BlockComponentRenderArray::onBuildRender function core/modules/layout_builder/src/EventSubscriber/BlockComponentRenderArray.php Builds render arrays for block plugins and sets it on the event.
BlockComponentRenderArray::__construct function core/modules/layout_builder/src/EventSubscriber/BlockComponentRenderArray.php Creates a BlockComponentRenderArray object.
BlockComponentRenderArrayTest class core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @coversDefaultClass \Drupal\layout_builder\EventSubscriber\BlockComponentRenderArray
@group layout_builder
BlockComponentRenderArrayTest.php file core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php
BlockComponentRenderArrayTest::$account property core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php The current user.
BlockComponentRenderArrayTest::$blockManager property core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php The block plugin manager.
BlockComponentRenderArrayTest::providerBlockTypes function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php Data provider for test functions that should test block types.
BlockComponentRenderArrayTest::setUp function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php
BlockComponentRenderArrayTest::testOnBuildRender function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender
BlockComponentRenderArrayTest::testOnBuildRenderDenied function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender
BlockComponentRenderArrayTest::testOnBuildRenderEmptyBuild function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender
BlockComponentRenderArrayTest::testOnBuildRenderEmptyBuildWithCacheTags function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender
BlockComponentRenderArrayTest::testOnBuildRenderInPreview function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender
BlockComponentRenderArrayTest::testOnBuildRenderInPreviewEmptyBuild function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender
BlockComponentRenderArrayTest::testOnBuildRenderNoBlock function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender
BlockComponentRenderArrayTest::testOnBuildRenderWithoutPreviewFallbackString function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender

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