Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
Block::__construct function core/lib/Drupal/Core/Block/Attribute/Block.php Constructs a Block attribute.
BlockAccessControlHandler class core/modules/block/src/BlockAccessControlHandler.php Defines the access control handler for the content block entity type.
BlockAccessControlHandler.php file core/modules/block/src/BlockAccessControlHandler.php
BlockAccessControlHandler::$contextHandler property core/modules/block/src/BlockAccessControlHandler.php The plugin context handler.
BlockAccessControlHandler::$contextRepository property core/modules/block/src/BlockAccessControlHandler.php The context manager service.
BlockAccessControlHandler::checkAccess function core/modules/block/src/BlockAccessControlHandler.php
BlockAccessControlHandler::createInstance function core/modules/block/src/BlockAccessControlHandler.php
BlockAccessControlHandler::mergeCacheabilityFromConditions function core/modules/block/src/BlockAccessControlHandler.php Merges cacheable metadata from conditions onto the access result object.
BlockAccessControlHandler::__construct function core/modules/block/src/BlockAccessControlHandler.php Constructs the block access control handler instance.
BlockAddController class core/modules/block/src/Controller/BlockAddController.php Controller for building the block instance add form.
BlockAddController.php file core/modules/block/src/Controller/BlockAddController.php
BlockAddController::blockAddConfigureForm function core/modules/block/src/Controller/BlockAddController.php Build the block instance add form.
BlockAddTest class core/modules/block/tests/src/FunctionalJavascript/BlockAddTest.php Tests the JS functionality in the block add form.
BlockAddTest.php file core/modules/block/tests/src/FunctionalJavascript/BlockAddTest.php
BlockAddTest::$defaultTheme property core/modules/block/tests/src/FunctionalJavascript/BlockAddTest.php
BlockAddTest::$modules property core/modules/block/tests/src/FunctionalJavascript/BlockAddTest.php
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
BlockAdminThemeTest::$modules property core/modules/block/tests/src/Functional/BlockAdminThemeTest.php
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.
BlockBackwardCompatibilityTest class core/themes/stable9/tests/Unit/BlockBackwardCompatibilityTest.php Tests backward compatibility for block templates.
BlockBackwardCompatibilityTest.php file core/themes/stable9/tests/Unit/BlockBackwardCompatibilityTest.php
BlockBackwardCompatibilityTest::testAttributeCopy function core/themes/stable9/tests/Unit/BlockBackwardCompatibilityTest.php Tests copying content attributes to the wrapper.
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.
BlockBase::submitConfigurationForm function core/lib/Drupal/Core/Block/BlockBase.php Form submission handler.
BlockBaseTest class core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php Tests Drupal\Core\Block\BlockBase.
BlockBaseTest class core/tests/Drupal/KernelTests/Core/Block/BlockBaseTest.php Tests the BlockBase class, base for all block plugins.
BlockBaseTest.php file core/tests/Drupal/KernelTests/Core/Block/BlockBaseTest.php
BlockBaseTest.php file core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php
BlockBaseTest::$modules property core/tests/Drupal/KernelTests/Core/Block/BlockBaseTest.php Modules to install.
BlockBaseTest::providerTestGetMachineNameSuggestion function core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php Provides data for testGetMachineNameSuggestion().
BlockBaseTest::testContextMapping function core/tests/Drupal/KernelTests/Core/Block/BlockBaseTest.php Tests that blocks config form have context mapping, and it is stored in configuration.
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
BlockCacheTest::$modules property core/modules/block/tests/src/Functional/BlockCacheTest.php
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.

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