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. |
BlockContentBlock::$urlGenerator |
property |
core/modules/block_content/src/Plugin/Block/BlockContentBlock.php |
The URL generator. |
BlockContentBlock::$uuidLookup |
property |
core/modules/block_content/src/Plugin/Block/BlockContentBlock.php |
The block content UUID lookup service. |
BlockContentBlock::blockAccess |
function |
core/modules/block_content/src/Plugin/Block/BlockContentBlock.php |
Indicates whether the block should be shown. |
BlockContentBlock::blockForm |
function |
core/modules/block_content/src/Plugin/Block/BlockContentBlock.php |
|
BlockContentBlock::blockSubmit |
function |
core/modules/block_content/src/Plugin/Block/BlockContentBlock.php |
|
BlockContentBlock::build |
function |
core/modules/block_content/src/Plugin/Block/BlockContentBlock.php |
Builds and returns the renderable array for this block plugin. |
BlockContentBlock::create |
function |
core/modules/block_content/src/Plugin/Block/BlockContentBlock.php |
Creates an instance of the plugin. |