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
BlockContent.php file core/modules/block_content/src/Entity/BlockContent.php
BlockContent::$blockContentStorage property core/modules/block_content/src/Plugin/Derivative/BlockContent.php The content block storage.
BlockContent::$theme property core/modules/block_content/src/Entity/BlockContent.php The theme the block is being created in.
BlockContent::baseFieldDefinitions function core/modules/block_content/src/Entity/BlockContent.php
BlockContent::create function core/modules/block_content/src/Plugin/Derivative/BlockContent.php Creates a new class instance.
BlockContent::createDuplicate function core/modules/block_content/src/Entity/BlockContent.php Creates a duplicate of the entity.
BlockContent::getDerivativeDefinitions function core/modules/block_content/src/Plugin/Derivative/BlockContent.php Gets the definition of all derivatives of a base plugin.
BlockContent::getFilters function core/modules/block_content/src/Plugin/views/wizard/BlockContent.php Gets the filters property.
BlockContent::getInstances function core/modules/block_content/src/Entity/BlockContent.php Gets the configured instances of this content block.
BlockContent::getTheme function core/modules/block_content/src/Entity/BlockContent.php Gets the theme value.
BlockContent::invalidateBlockPluginCache function core/modules/block_content/src/Entity/BlockContent.php Invalidates the block plugin cache after changes and deletions.
BlockContent::isReusable function core/modules/block_content/src/Entity/BlockContent.php Determines if the block is reusable or not.
BlockContent::postDelete function core/modules/block_content/src/Entity/BlockContent.php Acts on deleted entities before the delete hook is invoked.
BlockContent::postSave function core/modules/block_content/src/Entity/BlockContent.php Acts on a saved entity before the insert or update hook is invoked.
BlockContent::preDelete function core/modules/block_content/src/Entity/BlockContent.php Acts on entities before they are deleted and before hooks are invoked.
BlockContent::preSaveRevision function core/modules/block_content/src/Entity/BlockContent.php Acts on a revision before it gets saved.
BlockContent::setInfo function core/modules/block_content/src/Entity/BlockContent.php Sets the block description.
BlockContent::setNonReusable function core/modules/block_content/src/Entity/BlockContent.php Sets the block to be non-reusable.
BlockContent::setReusable function core/modules/block_content/src/Entity/BlockContent.php Sets the block to be reusable.
BlockContent::setTheme function core/modules/block_content/src/Entity/BlockContent.php Sets the theme value.
BlockContent::__construct function core/modules/block_content/src/Plugin/Derivative/BlockContent.php Constructs a BlockContent object.
BlockContentAccessControlHandler class core/modules/block_content/src/BlockContentAccessControlHandler.php Defines the access control handler for the content block entity type.
BlockContentAccessControlHandler.php file core/modules/block_content/src/BlockContentAccessControlHandler.php
BlockContentAccessControlHandler::$eventDispatcher property core/modules/block_content/src/BlockContentAccessControlHandler.php The event dispatcher.
BlockContentAccessControlHandler::checkAccess function core/modules/block_content/src/BlockContentAccessControlHandler.php Performs access checks.
BlockContentAccessControlHandler::checkCreateAccess function core/modules/block_content/src/BlockContentAccessControlHandler.php Performs create access checks.
BlockContentAccessControlHandler::createInstance function core/modules/block_content/src/BlockContentAccessControlHandler.php Instantiates a new instance of this entity handler.
BlockContentAccessControlHandler::__construct function core/modules/block_content/src/BlockContentAccessControlHandler.php BlockContentAccessControlHandler constructor.
BlockContentAccessHandlerTest class core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php Tests the block content entity access handler.
BlockContentAccessHandlerTest.php file core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php
BlockContentAccessHandlerTest::$accessControlHandler property core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php The BlockContent access controller to test.
BlockContentAccessHandlerTest::$blockEntity property core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php The BlockContent entity used for testing.
BlockContentAccessHandlerTest::$modules property core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php Modules to install.
BlockContentAccessHandlerTest::$role property core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php The test role.
BlockContentAccessHandlerTest::providerTestAccess function core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php Data provider for testAccess().
BlockContentAccessHandlerTest::setUp function core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php
BlockContentAccessHandlerTest::testAccess function core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php Test block content entity access.
BlockContentAccessHandlerTest::testRevisionLogAccess function core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php Tests revision log access.
BlockContentAddLocalAction class core/modules/block_content/src/Plugin/Menu/LocalAction/BlockContentAddLocalAction.php Modifies the 'Add content block' local action.
BlockContentAddLocalAction.php file core/modules/block_content/src/Plugin/Menu/LocalAction/BlockContentAddLocalAction.php
BlockContentAddLocalAction::create function core/modules/block_content/src/Plugin/Menu/LocalAction/BlockContentAddLocalAction.php Creates an instance of the plugin.
BlockContentAddLocalAction::getOptions function core/modules/block_content/src/Plugin/Menu/LocalAction/BlockContentAddLocalAction.php Returns options for rendering a link for the local action.
BlockContentAddLocalAction::__construct function core/modules/block_content/src/Plugin/Menu/LocalAction/BlockContentAddLocalAction.php Constructs a BlockContentAddLocalAction object.
BlockContentBlock class core/modules/block_content/src/Plugin/Block/BlockContentBlock.php Defines a generic block type.
BlockContentBlock.php file core/modules/block_content/src/Plugin/Block/BlockContentBlock.php
BlockContentBlock::$account property core/modules/block_content/src/Plugin/Block/BlockContentBlock.php The Drupal account to use for checking for access to block.
BlockContentBlock::$blockContent property core/modules/block_content/src/Plugin/Block/BlockContentBlock.php The block content entity.
BlockContentBlock::$blockManager property core/modules/block_content/src/Plugin/Block/BlockContentBlock.php The Plugin Block Manager.
BlockContentBlock::$entityDisplayRepository property core/modules/block_content/src/Plugin/Block/BlockContentBlock.php The entity display repository.
BlockContentBlock::$entityTypeManager property core/modules/block_content/src/Plugin/Block/BlockContentBlock.php The entity type manager service.

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