Search for content

  1. Search 7.x for content
  2. Search 9.5.x for content
  3. Search 8.9.x for content
  4. Search 10.3.x for content
  5. Other projects
Title Object type File name Summary
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.
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

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