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
BlockContentListViewsTest::setUp function core/modules/block_content/tests/src/Functional/BlockContentListViewsTest.php Sets the test up.
BlockContentListViewsTest::testListing function core/modules/block_content/tests/src/Functional/BlockContentListViewsTest.php Tests the content block listing page.
BlockContentLocalTasksTest class core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php Tests existence of block_content local tasks.
BlockContentLocalTasksTest.php file core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php
BlockContentLocalTasksTest::getBlockContentListingRoutes function core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php Provides a list of routes to test.
BlockContentLocalTasksTest::setUp function core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php
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 @covers ::blockTypePermissions
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.
BlockContentRemoveConstraint class core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php Tests the upgrade path for removing unique constraint on blocks.
BlockContentRemoveConstraint.php file core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php
BlockContentRemoveConstraint::$entityDefinitionUpdateManager property core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php Entity definition update manager.
BlockContentRemoveConstraint::getFieldInfoConstraints function core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php Get constraints for info field.
BlockContentRemoveConstraint::setDatabaseDumpFiles function core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php Set database dump files to be used.
BlockContentRemoveConstraint::setUp function core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php
BlockContentRemoveConstraint::testRunUpdates function core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php Tests the upgrade path for moderation state reindexing.
BlockContentResourceTestBase class core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php ResourceTestBase 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.

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