Search for block

  1. Search 7.x for block
  2. Search 8.9.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 6/7 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
BlockPluginHasSettingsTrayFormAccessCheckTest class core/modules/settings_tray/tests/src/Unit/Access/BlockPluginHasSettingsTrayFormAccessCheckTest.php @coversDefaultClass \Drupal\settings_tray\Access\BlockPluginHasSettingsTrayFormAccessCheck
@group settings_tray
BlockPluginHasSettingsTrayFormAccessCheckTest.php file core/modules/settings_tray/tests/src/Unit/Access/BlockPluginHasSettingsTrayFormAccessCheckTest.php
BlockPluginHasSettingsTrayFormAccessCheckTest::providerTestAccess function core/modules/settings_tray/tests/src/Unit/Access/BlockPluginHasSettingsTrayFormAccessCheckTest.php Provides test data for ::testAccess().
BlockPluginHasSettingsTrayFormAccessCheckTest::testAccess function core/modules/settings_tray/tests/src/Unit/Access/BlockPluginHasSettingsTrayFormAccessCheckTest.php @covers ::access
@covers ::accessBlockPlugin
@dataProvider providerTestAccess
BlockPluginId class core/modules/block/src/Plugin/migrate/process/BlockPluginId.php Plugin annotation

@MigrateProcessPlugin(
id = "block_plugin_id"
)
BlockPluginId.php file core/modules/block/src/Plugin/migrate/process/BlockPluginId.php
BlockPluginId::$blockContentStorage property core/modules/block/src/Plugin/migrate/process/BlockPluginId.php The block_content entity storage handler.
BlockPluginId::$migrateLookup property core/modules/block/src/Plugin/migrate/process/BlockPluginId.php The migrate lookup service.
BlockPluginId::create function core/modules/block/src/Plugin/migrate/process/BlockPluginId.php Creates an instance of the plugin.
BlockPluginId::transform function core/modules/block/src/Plugin/migrate/process/BlockPluginId.php Set the block plugin id.
BlockPluginId::__construct function core/modules/block/src/Plugin/migrate/process/BlockPluginId.php Constructs a BlockPluginId object.
BlockPluginInterface interface core/lib/Drupal/Core/Block/BlockPluginInterface.php Defines the required interface for all block plugins.
BlockPluginInterface.php file core/lib/Drupal/Core/Block/BlockPluginInterface.php
BlockPluginInterface::access function core/lib/Drupal/Core/Block/BlockPluginInterface.php Indicates whether the block should be shown.
BlockPluginInterface::blockForm function core/lib/Drupal/Core/Block/BlockPluginInterface.php Returns the configuration form elements specific to this block plugin.
BlockPluginInterface::blockSubmit function core/lib/Drupal/Core/Block/BlockPluginInterface.php Adds block type-specific submission handling for the block form.
BlockPluginInterface::blockValidate function core/lib/Drupal/Core/Block/BlockPluginInterface.php Adds block type-specific validation for the block form.
BlockPluginInterface::BLOCK_LABEL_VISIBLE constant core/lib/Drupal/Core/Block/BlockPluginInterface.php Indicates the block label (title) should be displayed to end users.
BlockPluginInterface::build function core/lib/Drupal/Core/Block/BlockPluginInterface.php Builds and returns the renderable array for this block plugin.
BlockPluginInterface::getMachineNameSuggestion function core/lib/Drupal/Core/Block/BlockPluginInterface.php Suggests a machine name to identify an instance of this block.
BlockPluginInterface::label function core/lib/Drupal/Core/Block/BlockPluginInterface.php Returns the user-facing block label.
BlockPluginInterface::setConfigurationValue function core/lib/Drupal/Core/Block/BlockPluginInterface.php Sets a particular value in the block settings.
BlockPluginTrait trait core/lib/Drupal/Core/Block/BlockPluginTrait.php Provides the base implementation of a block plugin.
BlockPluginTrait.php file core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::$inPreview property core/lib/Drupal/Core/Block/BlockPluginTrait.php Whether the plugin is being rendered in preview mode.
BlockPluginTrait::$transliteration property core/lib/Drupal/Core/Block/BlockPluginTrait.php The transliteration service.
BlockPluginTrait::access function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::baseConfigurationDefaults function core/lib/Drupal/Core/Block/BlockPluginTrait.php Returns generic default configuration for block plugins.
BlockPluginTrait::blockAccess function core/lib/Drupal/Core/Block/BlockPluginTrait.php Indicates whether the block should be shown.
BlockPluginTrait::blockForm function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::blockSubmit function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::blockValidate function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::buildConfigurationForm function core/lib/Drupal/Core/Block/BlockPluginTrait.php Creates a generic configuration form for all block types. Individual
block plugins can add elements to this form by overriding
BlockBase::blockForm(). Most block plugins should not override this
method unless they need to alter the generic form elements.
BlockPluginTrait::calculateDependencies function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::defaultConfiguration function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::getConfiguration function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::getMachineNameSuggestion function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::getPreviewFallbackString function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::label function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::setConfiguration function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::setConfigurationValue function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::setInPreview function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::setTransliteration function core/lib/Drupal/Core/Block/BlockPluginTrait.php Sets the transliteration service.
BlockPluginTrait::submitConfigurationForm function core/lib/Drupal/Core/Block/BlockPluginTrait.php Most block plugins should not override this method. To add submission
handling for a specific block type, override BlockBase::blockSubmit().
BlockPluginTrait::transliteration function core/lib/Drupal/Core/Block/BlockPluginTrait.php Wraps the transliteration service.
BlockPluginTrait::validateConfigurationForm function core/lib/Drupal/Core/Block/BlockPluginTrait.php Most block plugins should not override this method. To add validation
for a specific block type, override BlockBase::blockValidate().
BlockPluginTrait::__construct function core/lib/Drupal/Core/Block/BlockPluginTrait.php
blockquote.admin.css file core/modules/ckeditor5/css/blockquote.admin.css .ckeditor5-toolbar-button-blockQuote {
background-image: url(../icons/blockquote.svg);
}
BlockRebuildTest class core/modules/block/tests/src/Kernel/BlockRebuildTest.php Tests block_rebuild().
BlockRebuildTest.php file core/modules/block/tests/src/Kernel/BlockRebuildTest.php

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