Search for on

  1. Search 7.x for on
  2. Search 9.5.x for on
  3. Search 8.9.x for on
  4. Search 10.3.x for on
  5. Other projects
Title Object type File name Summary
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 Performs access checks.
BlockAccessControlHandler::createInstance function core/modules/block/src/BlockAccessControlHandler.php Instantiates a new instance of this entity handler.
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.
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::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::testCachePermissions function core/modules/block/tests/src/Functional/BlockCacheTest.php Tests a cacheable block without any additional cache context.
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[[api-linebreak]]
@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[[api-linebreak]]
BlockComponentRenderArrayTest::testOnBuildRenderDenied function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender[[api-linebreak]]
BlockComponentRenderArrayTest::testOnBuildRenderEmptyBuild function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender[[api-linebreak]]
BlockComponentRenderArrayTest::testOnBuildRenderEmptyBuildWithCacheTags function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender[[api-linebreak]]
BlockComponentRenderArrayTest::testOnBuildRenderInPreview function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender[[api-linebreak]]
BlockComponentRenderArrayTest::testOnBuildRenderInPreviewEmptyBuild function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender[[api-linebreak]]
BlockComponentRenderArrayTest::testOnBuildRenderNoBlock function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender[[api-linebreak]]
BlockComponentRenderArrayTest::testOnBuildRenderNullBuild function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender[[api-linebreak]]
BlockComponentRenderArrayTest::testOnBuildRenderWithoutPreviewFallbackString function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender[[api-linebreak]]
BlockConfigEntityUnitTest class core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php @coversDefaultClass \Drupal\block\Entity\Block[[api-linebreak]]
@group block
BlockConfigEntityUnitTest.php file core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php
BlockConfigEntityUnitTest::$entityType property core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php The entity type used for testing.
BlockConfigEntityUnitTest::$entityTypeId property core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php The ID of the type of the entity under test.
BlockConfigEntityUnitTest::$entityTypeManager property core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php The entity type manager used for testing.
BlockConfigEntityUnitTest::$moduleHandler property core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php The module handler.
BlockConfigEntityUnitTest::$themeHandler property core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php The theme handler.
BlockConfigEntityUnitTest::$uuid property core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php The UUID generator used for testing.
BlockConfigEntityUnitTest::setUp function core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php
BlockConfigEntityUnitTest::testCalculateDependencies function core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php @covers ::calculateDependencies[[api-linebreak]]
BlockConfigSchemaTest class core/modules/block/tests/src/Kernel/BlockConfigSchemaTest.php Tests the block config schema.
BlockConfigSchemaTest.php file core/modules/block/tests/src/Kernel/BlockConfigSchemaTest.php

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