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
BlockContentLocalTasksTest::testBlockContentListLocalTasks function core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php Checks block_content listing local tasks.
BlockContentModerationHandler class core/modules/content_moderation/src/Entity/Handler/BlockContentModerationHandler.php Customizations for block content entities.
BlockContentModerationHandler.php file core/modules/content_moderation/src/Entity/Handler/BlockContentModerationHandler.php
BlockContentModerationHandler::enforceRevisionsBundleFormAlter function core/modules/content_moderation/src/Entity/Handler/BlockContentModerationHandler.php Alters bundle forms to enforce revision handling.
BlockContentModerationHandler::enforceRevisionsEntityFormAlter function core/modules/content_moderation/src/Entity/Handler/BlockContentModerationHandler.php Alters entity forms to enforce revision handling.
BlockContentModerationHandler::isModeratedEntity function core/modules/content_moderation/src/Entity/Handler/BlockContentModerationHandler.php Determines if an entity should be moderated.
BlockContentPageViewTest class core/modules/block_content/tests/src/Functional/BlockContentPageViewTest.php Create a block and test block access by attempting to view the block.
BlockContentPageViewTest.php file core/modules/block_content/tests/src/Functional/BlockContentPageViewTest.php
BlockContentPageViewTest::$defaultTheme property core/modules/block_content/tests/src/Functional/BlockContentPageViewTest.php The theme to install as the default for testing.
BlockContentPageViewTest::$modules property core/modules/block_content/tests/src/Functional/BlockContentPageViewTest.php Modules to install.
BlockContentPageViewTest::testPageEdit function core/modules/block_content/tests/src/Functional/BlockContentPageViewTest.php Checks block edit and fallback functionality.
BlockContentPermissions class core/modules/block_content/src/BlockContentPermissions.php Provide dynamic permissions for blocks of different types.
BlockContentPermissions.php file core/modules/block_content/src/BlockContentPermissions.php
BlockContentPermissions::blockTypePermissions function core/modules/block_content/src/BlockContentPermissions.php Build permissions for each block type.
BlockContentPermissions::buildPermissions function core/modules/block_content/src/BlockContentPermissions.php Return all the permissions available for a block type.
BlockContentPermissions::create function core/modules/block_content/src/BlockContentPermissions.php Instantiates a new instance of this class.
BlockContentPermissions::__construct function core/modules/block_content/src/BlockContentPermissions.php Constructs a BlockContentPermissions instance.
BlockContentPermissionsTest class core/modules/block_content/tests/src/Kernel/BlockContentPermissionsTest.php Tests the permissions of content blocks.
BlockContentPermissionsTest.php file core/modules/block_content/tests/src/Kernel/BlockContentPermissionsTest.php
BlockContentPermissionsTest::$modules property core/modules/block_content/tests/src/Kernel/BlockContentPermissionsTest.php Modules to install.
BlockContentPermissionsTest::$permissionHandler property core/modules/block_content/tests/src/Kernel/BlockContentPermissionsTest.php The permission handler.
BlockContentPermissionsTest::setUp function core/modules/block_content/tests/src/Kernel/BlockContentPermissionsTest.php
BlockContentPermissionsTest::testDynamicPermissions function core/modules/block_content/tests/src/Kernel/BlockContentPermissionsTest.php Tests dynamic permissions.
BlockContentRedirectTest class core/modules/block_content/tests/src/Functional/Views/BlockContentRedirectTest.php Tests the redirect destination on block content on entity operations.
BlockContentRedirectTest.php file core/modules/block_content/tests/src/Functional/Views/BlockContentRedirectTest.php
BlockContentRedirectTest::$defaultTheme property core/modules/block_content/tests/src/Functional/Views/BlockContentRedirectTest.php The theme to install as the default for testing.
BlockContentRedirectTest::$modules property core/modules/block_content/tests/src/Functional/Views/BlockContentRedirectTest.php Modules to install.
BlockContentRedirectTest::$testViews property core/modules/block_content/tests/src/Functional/Views/BlockContentRedirectTest.php Views used by this test.
BlockContentRedirectTest::testRedirectDestination function core/modules/block_content/tests/src/Functional/Views/BlockContentRedirectTest.php Tests the redirect destination when editing block content.
BlockContentRemoveListingEmptyUpdateTest class core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveListingEmptyUpdateTest.php Tests the removal of the empty listing plugin.
BlockContentRemoveListingEmptyUpdateTest.php file core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveListingEmptyUpdateTest.php
BlockContentRemoveListingEmptyUpdateTest::setDatabaseDumpFiles function core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveListingEmptyUpdateTest.php Set database dump files to be used.
BlockContentRemoveListingEmptyUpdateTest::testBlockContentPostUpdateRemoveBlockContentListingEmpty function core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveListingEmptyUpdateTest.php Tests the upgrade path to remove the empty listing plugin.
BlockContentResourceTestBase class core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php Resource test base for BlockContent entity.
BlockContentResourceTestBase.php file core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php
BlockContentResourceTestBase::$entity property core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php
BlockContentResourceTestBase::$entityTypeId property core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php The tested entity type.
BlockContentResourceTestBase::$modules property core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php Modules to install.
BlockContentResourceTestBase::$patchProtectedFieldNames property core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php The fields that are protected against modification during PATCH requests.
BlockContentResourceTestBase::createEntity function core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php Creates the entity to be tested.
BlockContentResourceTestBase::getExpectedCacheContexts function core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php The expected cache contexts for the GET/HEAD response of the test entity.
BlockContentResourceTestBase::getExpectedCacheTags function core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php The expected cache tags for the GET/HEAD response of the test entity.
BlockContentResourceTestBase::getExpectedNormalizedEntity function core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php Returns the expected normalization of the entity.
BlockContentResourceTestBase::getExpectedUnauthorizedAccessMessage function core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php Return the expected error message.
BlockContentResourceTestBase::getExpectedUnauthorizedEntityAccessCacheability function core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php The cacheability of unauthorized 'view' entity access.
BlockContentResourceTestBase::getNormalizedPostEntity function core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php Returns the normalized POST entity.
BlockContentResourceTestBase::setUpAuthorization function core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php Sets up the necessary authorization.
BlockContentRevisionDeleteTest class core/modules/block_content/tests/src/Functional/BlockContentRevisionDeleteTest.php Block content revision delete form test.
BlockContentRevisionDeleteTest.php file core/modules/block_content/tests/src/Functional/BlockContentRevisionDeleteTest.php
BlockContentRevisionDeleteTest::$defaultTheme property core/modules/block_content/tests/src/Functional/BlockContentRevisionDeleteTest.php The theme to install as the default for testing.

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