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
ClearCacheBlock::blockAccess function core/modules/system/src/Plugin/Block/ClearCacheBlock.php Indicates whether the block should be shown.
ClearCacheBlock::build function core/modules/system/src/Plugin/Block/ClearCacheBlock.php Builds and returns the renderable array for this block plugin.
ClearCacheBlock::create function core/modules/system/src/Plugin/Block/ClearCacheBlock.php Creates an instance of the plugin.
ClearCacheBlock::__construct function core/modules/system/src/Plugin/Block/ClearCacheBlock.php Creates a ClearCacheBlock instance.
ClearCacheBlockTest class core/modules/system/tests/src/Functional/Block/ClearCacheBlockTest.php Tests clear cache block behavior.
ClearCacheBlockTest.php file core/modules/system/tests/src/Functional/Block/ClearCacheBlockTest.php
ClearCacheBlockTest::$clearCacheBlock property core/modules/system/tests/src/Functional/Block/ClearCacheBlockTest.php The clear cache block instance.
ClearCacheBlockTest::$defaultTheme property core/modules/system/tests/src/Functional/Block/ClearCacheBlockTest.php The theme to install as the default for testing.
ClearCacheBlockTest::$modules property core/modules/system/tests/src/Functional/Block/ClearCacheBlockTest.php Modules to install.
ClearCacheBlockTest::setUp function core/modules/system/tests/src/Functional/Block/ClearCacheBlockTest.php
ClearCacheBlockTest::testCacheClearBlock function core/modules/system/tests/src/Functional/Block/ClearCacheBlockTest.php Tests block behavior and access based on permissions.
code-block.admin.css file core/modules/ckeditor5/css/code-block.admin.css .ckeditor5-toolbar-button-codeBlock {
background-image: url(../icons/code-block.svg);
}
CodeBlock class core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php CKEditor 5 Code Block plugin configuration.
CodeBlock.php file core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php
CodeBlock::buildConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php
CodeBlock::defaultConfiguration function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php
CodeBlock::getDynamicPluginConfig function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php Allows a plugin to modify its static configuration.
CodeBlock::parseLanguagesFromValue function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php Parses the line-based (for form) Code Block configuration.
CodeBlock::submitConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php
CodeBlock::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php
CommentBlockTest class core/modules/comment/tests/src/Functional/CommentBlockTest.php Tests comment block functionality.
CommentBlockTest.php file core/modules/comment/tests/src/Functional/CommentBlockTest.php
CommentBlockTest::$defaultTheme property core/modules/comment/tests/src/Functional/CommentBlockTest.php The theme to install as the default for testing.
CommentBlockTest::$modules property core/modules/comment/tests/src/Functional/CommentBlockTest.php Modules to install.
CommentBlockTest::setUp function core/modules/comment/tests/src/Functional/CommentBlockTest.php
CommentBlockTest::testRecentCommentBlock function core/modules/comment/tests/src/Functional/CommentBlockTest.php Tests the recent comments block.
CommentThemeHooks::preprocessBlock function core/modules/comment/src/Hook/CommentThemeHooks.php Implements hook_preprocess_HOOK() for block templates.
CommonTestHooks::blockDrupalAlterFooAlter function core/modules/system/tests/modules/common_test/src/Hook/CommonTestHooks.php Implements hook_TYPE_alter().
ConfigAccessTest::testBlockConfigAccess function core/modules/settings_tray/tests/src/FunctionalJavascript/ConfigAccessTest.php Tests access to block forms with related configuration is correct.
ConfigActionsTest::testPlaceBlockActionDoesNotChangeExistingBlock function core/modules/block/tests/src/Kernel/ConfigActionsTest.php Verifies placeBlockInDefaultTheme action doesn't alter an existing block.
ConfigActionsTest::testPlaceBlockActionOnlyWorksOnBlocks function core/modules/block/tests/src/Kernel/ConfigActionsTest.php @testWith ["placeBlockInDefaultTheme"][[api-linebreak]]
["placeBlockInAdminTheme"][[api-linebreak]]
[[api-linebreak]]
ConfigActionsTest::testPlaceBlockAtPosition function core/modules/block/tests/src/Kernel/ConfigActionsTest.php Tests placing a block at the first and last position in a region.
ConfigActionsTest::testPlaceBlockInDefaultRegion function core/modules/block/tests/src/Kernel/ConfigActionsTest.php Tests placing a block in the default theme's region.
ConfigActionsTest::testPlaceBlockInDynamicRegion function core/modules/block/tests/src/Kernel/ConfigActionsTest.php @testWith ["placeBlockInDefaultTheme", "olivero", "header"][[api-linebreak]]
["placeBlockInAdminTheme", "claro", "page_bottom"][[api-linebreak]]
[[api-linebreak]]
ConfigActionsTest::testPlaceBlockInEmptyRegion function core/modules/block/tests/src/Kernel/ConfigActionsTest.php Tests using the PlaceBlock action in an empty region.
ConfigActionsTest::testPlaceBlockInStaticRegion function core/modules/block/tests/src/Kernel/ConfigActionsTest.php @testWith ["placeBlockInDefaultTheme", "olivero"][[api-linebreak]]
["placeBlockInAdminTheme", "claro"][[api-linebreak]]
[[api-linebreak]]
ConfigEntityImportTest::doBlockUpdate function core/modules/system/tests/src/Kernel/Entity/ConfigEntityImportTest.php Tests updating a block during import.
ConfigExportTest::$blockNamePrefix property core/modules/config/tests/src/FunctionalJavascript/ConfigExportTest.php A prefix string used in naming the test blocks.
ConfigExportTest::createBlockContent function core/modules/config/tests/src/FunctionalJavascript/ConfigExportTest.php Creates test blocks.
ConfigImporterMissingContentTest::testMissingBlockContent function core/tests/Drupal/KernelTests/Core/Config/ConfigImporterMissingContentTest.php Tests the missing content, config import and the block plugin manager.
ConfigTranslationBlockListBuilder class core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php Defines the config translation list builder for blocks.
ConfigTranslationBlockListBuilder.php file core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php
ConfigTranslationBlockListBuilder::$themes property core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php An array of theme info keyed by theme name.
ConfigTranslationBlockListBuilder::buildHeader function core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php Builds the header row for the entity listing.
ConfigTranslationBlockListBuilder::buildRow function core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php Builds a row for an entity in the entity listing.
ConfigTranslationBlockListBuilder::createInstance function core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php Instantiates a new instance of this entity handler.
ConfigTranslationBlockListBuilder::getFilterLabels function core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php Provides user facing strings for the filter element.
ConfigTranslationBlockListBuilder::sortRows function core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php Sorts an array by value.
ConfigTranslationBlockListBuilder::__construct function core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php Constructs a new EntityListBuilder object.
ConfigTranslationListUiTest::doBlockListTest function core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php Tests the block listing for the translate operation.

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