Search for block

  1. Search 7.x for block
  2. Search 9.5.x for block
  3. Search 10.3.x for block
  4. Search 11.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 block source from database.
Block class core/lib/Drupal/Core/Block/Annotation/Block.php Defines a Block annotation object.

All search results

Title Object type File name Summary
BlockContentContextualLinksTest::$modules property core/modules/block_content/tests/src/Functional/BlockContentContextualLinksTest.php Modules to enable.
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
BlockContentController.php file core/modules/block_content/src/Controller/BlockContentController.php
BlockContentController::$blockContentStorage property core/modules/block_content/src/Controller/BlockContentController.php The custom block storage.
BlockContentController::$blockContentTypeStorage property core/modules/block_content/src/Controller/BlockContentController.php The custom 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 custom block links for available types.
BlockContentController::addForm function core/modules/block_content/src/Controller/BlockContentController.php Presents the custom block creation form.
BlockContentController::create function core/modules/block_content/src/Controller/BlockContentController.php Instantiates a new instance of this class.
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 enable.
BlockContentCreationTest::$permissions property core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php Permissions to grant admin user.
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 page" 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::testBlockDelete function core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php Test deleting a block.
BlockContentCreationTest::testConfigDependencies function core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php Test that placed content blocks create a dependency in the block placement.
BlockContentCreationTest::testDefaultBlockContentCreation function core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php Create a default custom block.
BlockContentCreationTest::testFailedBlockCreation function core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php Verifies that a transaction rolls back the failed creation.
BlockContentDeleteForm class core/modules/block_content/src/Form/BlockContentDeleteForm.php Provides a confirmation form for deleting a custom block entity.
BlockContentDeleteForm.php file core/modules/block_content/src/Form/BlockContentDeleteForm.php
BlockContentDeleteForm::getDescription function core/modules/block_content/src/Form/BlockContentDeleteForm.php Returns additional text to display as a description.
BlockContentDeletionTest class core/modules/block_content/tests/src/Kernel/BlockContentDeletionTest.php Tests that deleting a block clears the cached definitions.
BlockContentDeletionTest.php file core/modules/block_content/tests/src/Kernel/BlockContentDeletionTest.php
BlockContentDeletionTest::$modules property core/modules/block_content/tests/src/Kernel/BlockContentDeletionTest.php Modules to enable.
BlockContentDeletionTest::setUp function core/modules/block_content/tests/src/Kernel/BlockContentDeletionTest.php
BlockContentDeletionTest::testDeletingBlockContentShouldClearPluginCache function core/modules/block_content/tests/src/Kernel/BlockContentDeletionTest.php Tests deleting a block_content updates the discovered block plugin.
BlockContentDeriverTest class core/modules/block_content/tests/src/Kernel/BlockContentDeriverTest.php Tests block content plugin deriver.
BlockContentDeriverTest.php file core/modules/block_content/tests/src/Kernel/BlockContentDeriverTest.php
BlockContentDeriverTest::$modules property core/modules/block_content/tests/src/Kernel/BlockContentDeriverTest.php Modules to enable.
BlockContentDeriverTest::setUp function core/modules/block_content/tests/src/Kernel/BlockContentDeriverTest.php
BlockContentDeriverTest::testReusableBlocksOnlyAreDerived function core/modules/block_content/tests/src/Kernel/BlockContentDeriverTest.php Tests that only reusable blocks are derived.
BlockContentEntityReferenceSelectionTest class core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php Tests EntityReference selection handlers don't return non-reusable blocks.
BlockContentEntityReferenceSelectionTest.php file core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php
BlockContentEntityReferenceSelectionTest::$blockNonReusable property core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php Test non-reusable block.
BlockContentEntityReferenceSelectionTest::$blockReusable property core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php Test reusable block.
BlockContentEntityReferenceSelectionTest::$entityTypeManager property core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php The entity type manager.
BlockContentEntityReferenceSelectionTest::$expectations property core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php Test block expectations.
BlockContentEntityReferenceSelectionTest::$modules property core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php Modules to enable.
BlockContentEntityReferenceSelectionTest::$selectionHandler property core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php Test selection handler.
BlockContentEntityReferenceSelectionTest::fieldConditionProvider function core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php Provides possible fields and condition types.
BlockContentEntityReferenceSelectionTest::setUp function core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php
BlockContentEntityReferenceSelectionTest::testFieldConditions function core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php Tests setting 'reusable' condition on different levels.
BlockContentEntityReferenceSelectionTest::testNoConditions function core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php Test with no conditions set.
BlockContentEntityReferenceSelectionTest::testQueriesNotAltered function core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php Tests to make sure queries without the expected tags are not altered.

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