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 11.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
BlockContentJsonCookieTest::$auth property core/modules/block_content/tests/src/Functional/Rest/BlockContentJsonCookieTest.php The authentication mechanism to use in this test.
BlockContentJsonCookieTest::$defaultTheme property core/modules/block_content/tests/src/Functional/Rest/BlockContentJsonCookieTest.php The theme to install as the default for testing.
BlockContentJsonCookieTest::$format property core/modules/block_content/tests/src/Functional/Rest/BlockContentJsonCookieTest.php The format to use in this test.
BlockContentJsonCookieTest::$mimeType property core/modules/block_content/tests/src/Functional/Rest/BlockContentJsonCookieTest.php The MIME type that corresponds to $format.
BlockContentListBuilder class core/modules/block_content/src/BlockContentListBuilder.php Defines a class to build a listing of content block entities.
BlockContentListBuilder.php file core/modules/block_content/src/BlockContentListBuilder.php
BlockContentListBuilder::buildHeader function core/modules/block_content/src/BlockContentListBuilder.php Builds the header row for the entity listing.
BlockContentListBuilder::buildRow function core/modules/block_content/src/BlockContentListBuilder.php Builds a row for an entity in the entity listing.
BlockContentListBuilder::getEntityIds function core/modules/block_content/src/BlockContentListBuilder.php Loads entity IDs using a pager sorted by the entity id.
BlockContentListTest class core/modules/block_content/tests/src/Functional/BlockContentListTest.php Tests the listing of content blocks.
BlockContentListTest.php file core/modules/block_content/tests/src/Functional/BlockContentListTest.php
BlockContentListTest::$baseUser1 property core/modules/block_content/tests/src/Functional/BlockContentListTest.php A user with 'access block library' permission.
BlockContentListTest::$baseUser2 property core/modules/block_content/tests/src/Functional/BlockContentListTest.php A user with access to create and edit custom basic blocks.
BlockContentListTest::$defaultTheme property core/modules/block_content/tests/src/Functional/BlockContentListTest.php The theme to install as the default for testing.
BlockContentListTest::$modules property core/modules/block_content/tests/src/Functional/BlockContentListTest.php Modules to install.
BlockContentListTest::$permissions property core/modules/block_content/tests/src/Functional/BlockContentListTest.php Permissions to grant admin user.
BlockContentListTest::setUp function core/modules/block_content/tests/src/Functional/BlockContentListTest.php Sets the test up.
BlockContentListTest::testBlockRegionPlacement function core/modules/block_content/tests/src/Functional/BlockContentListTest.php Tests the region value when a new block is saved.
BlockContentListTest::testListing function core/modules/block_content/tests/src/Functional/BlockContentListTest.php Tests the content block listing page with different permissions.
BlockContentListViewsTest class core/modules/block_content/tests/src/Functional/BlockContentListViewsTest.php Tests the Views-powered listing of content blocks.
BlockContentListViewsTest.php file core/modules/block_content/tests/src/Functional/BlockContentListViewsTest.php
BlockContentListViewsTest::$baseUser1 property core/modules/block_content/tests/src/Functional/BlockContentListViewsTest.php A user with 'access block library' permission.
BlockContentListViewsTest::$baseUser2 property core/modules/block_content/tests/src/Functional/BlockContentListViewsTest.php A user with access to create and edit custom basic blocks.
BlockContentListViewsTest::$defaultTheme property core/modules/block_content/tests/src/Functional/BlockContentListViewsTest.php The theme to install as the default for testing.
BlockContentListViewsTest::$modules property core/modules/block_content/tests/src/Functional/BlockContentListViewsTest.php Modules to install.
BlockContentListViewsTest::$permissions property core/modules/block_content/tests/src/Functional/BlockContentListViewsTest.php Permissions to grant admin user.
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.

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