| BlockContent::setRevisionUser |
function |
core/modules/block_content/src/Entity/BlockContent.php |
Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionUser(). |
| BlockContent::setRevisionUserId |
function |
core/modules/block_content/src/Entity/BlockContent.php |
Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionUserId(). |
| 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 custom 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::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 enable. |
| 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 |
Dataprovider 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 |
@covers ::checkAccess[[api-linebreak]] |
| BlockContentAddLocalAction |
class |
core/modules/block_content/src/Plugin/Menu/LocalAction/BlockContentAddLocalAction.php |
Modifies the 'Add custom block' local action. |
| BlockContentAddLocalAction.php |
file |
core/modules/block_content/src/Plugin/Menu/LocalAction/BlockContentAddLocalAction.php |
|
| BlockContentAddLocalAction::getOptions |
function |
core/modules/block_content/src/Plugin/Menu/LocalAction/BlockContentAddLocalAction.php |
Returns options for rendering a link for the local action. |
| BlockContentBlock |
class |
core/modules/block_content/src/Plugin/Block/BlockContentBlock.php |
Defines a generic custom 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 |
Overrides \Drupal\Core\Block\BlockBase::blockForm(). |
| 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. |
| BlockContentBlock::defaultConfiguration |
function |
core/modules/block_content/src/Plugin/Block/BlockContentBlock.php |
|
| BlockContentBlock::getEntity |
function |
core/modules/block_content/src/Plugin/Block/BlockContentBlock.php |
Loads the block content entity of the block. |
| BlockContentBlock::__construct |
function |
core/modules/block_content/src/Plugin/Block/BlockContentBlock.php |
Constructs a new BlockContentBlock. |
| BlockContentCacheTagsTest |
class |
core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php |
Tests the Custom Block entity's cache tags. |
| BlockContentCacheTagsTest.php |
file |
core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php |
|
| BlockContentCacheTagsTest::$defaultTheme |
property |
core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php |
The theme to install as the default for testing. |
| BlockContentCacheTagsTest::$modules |
property |
core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php |
Modules to enable. |
| BlockContentCacheTagsTest::createEntity |
function |
core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php |
Creates the entity to be tested. |
| BlockContentCacheTagsTest::getAccessCacheContextsForEntity |
function |
core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php |
|
| BlockContentCacheTagsTest::getAdditionalCacheTagsForEntity |
function |
core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php |
Each comment must have a comment body, which always has a text format. |
| BlockContentCacheTagsTest::testBlock |
function |
core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php |
Tests that the block is cached with the correct contexts and tags. |
| BlockContentContextualLinksTest |
class |
core/modules/block_content/tests/src/Functional/BlockContentContextualLinksTest.php |
Tests views contextual links on block content. |
| BlockContentContextualLinksTest.php |
file |
core/modules/block_content/tests/src/Functional/BlockContentContextualLinksTest.php |
|
| BlockContentContextualLinksTest::$defaultTheme |
property |
core/modules/block_content/tests/src/Functional/BlockContentContextualLinksTest.php |
The theme to install as the default for testing. |