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 10.3.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
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.
BlockContentBlock::createPlaceholder function core/modules/block_content/src/Plugin/Block/BlockContentBlock.php
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 Content 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 install.
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.
BlockContentContextualLinksTest::$modules property core/modules/block_content/tests/src/Functional/BlockContentContextualLinksTest.php Modules to install.
BlockContentContextualLinksTest::testBlockContentContextualLinks function core/modules/block_content/tests/src/Functional/BlockContentContextualLinksTest.php Tests contextual links.
BlockContentController class core/modules/block_content/src/Controller/BlockContentController.php Controller routines for custom block routes.
BlockContentController.php file core/modules/block_content/src/Controller/BlockContentController.php
BlockContentController::$blockContentStorage property core/modules/block_content/src/Controller/BlockContentController.php The content block storage.
BlockContentController::$blockContentTypeStorage property core/modules/block_content/src/Controller/BlockContentController.php The content block type storage.
BlockContentController::$themeHandler property core/modules/block_content/src/Controller/BlockContentController.php The theme handler.
BlockContentController::add function core/modules/block_content/src/Controller/BlockContentController.php Displays add content block links for available types.
BlockContentController::addForm function core/modules/block_content/src/Controller/BlockContentController.php Presents the content block creation form.
BlockContentController::create function core/modules/block_content/src/Controller/BlockContentController.php Instantiates a new instance of the implementing class using autowiring.
BlockContentController::getAddFormTitle function core/modules/block_content/src/Controller/BlockContentController.php Provides the page title for this controller.
BlockContentController::__construct function core/modules/block_content/src/Controller/BlockContentController.php Constructs a BlockContent object.
BlockContentCreationTest class core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php Create a block and test saving it.
BlockContentCreationTest.php file core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php
BlockContentCreationTest::$defaultTheme property core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php The theme to install as the default for testing.
BlockContentCreationTest::$modules property core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php Modules to install.
BlockContentCreationTest::$permissions property core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php Permissions to grant admin user.
BlockContentCreationTest::getBlockByLabel function core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php Load a block based on the label.
BlockContentCreationTest::setUp function core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php Sets the test up.
BlockContentCreationTest::testBlockContentCreation function core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php Creates a "Basic block" block and verifies its consistency in the database.
BlockContentCreationTest::testBlockContentCreationMultipleViewModes function core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php Creates a "Basic page" block with multiple view modes.
BlockContentCreationTest::testBlockContentFormSubmitHandlers function core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php Tests the redirect workflow of creating a block_content and block.

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