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
SetInlineBlockDependency class core/modules/layout_builder/src/EventSubscriber/SetInlineBlockDependency.php An event subscriber that returns an access dependency for inline blocks.
SetInlineBlockDependency.php file core/modules/layout_builder/src/EventSubscriber/SetInlineBlockDependency.php
SetInlineBlockDependency::$database property core/modules/layout_builder/src/EventSubscriber/SetInlineBlockDependency.php The database connection.
SetInlineBlockDependency::$entityTypeManager property core/modules/layout_builder/src/EventSubscriber/SetInlineBlockDependency.php The entity type manager.
SetInlineBlockDependency::$usage property core/modules/layout_builder/src/EventSubscriber/SetInlineBlockDependency.php The inline block usage service.
SetInlineBlockDependency::getInlineBlockDependency function core/modules/layout_builder/src/EventSubscriber/SetInlineBlockDependency.php Get the access dependency of an inline block.
SetInlineBlockDependency::getSubscribedEvents function core/modules/layout_builder/src/EventSubscriber/SetInlineBlockDependency.php
SetInlineBlockDependency::isBlockRevisionUsedInEntity function core/modules/layout_builder/src/EventSubscriber/SetInlineBlockDependency.php Determines if a block content revision is used in an entity.
SetInlineBlockDependency::onGetDependency function core/modules/layout_builder/src/EventSubscriber/SetInlineBlockDependency.php Handles the BlockContentEvents::INLINE_BLOCK_GET_DEPENDENCY event.
SetInlineBlockDependency::__construct function core/modules/layout_builder/src/EventSubscriber/SetInlineBlockDependency.php Constructs SetInlineBlockDependency object.
SettingsTrayBlockFormTest class core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php Testing opening and saving block forms in the off-canvas dialog.
SettingsTrayBlockFormTest.php file core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php
SettingsTrayBlockFormTest::$defaultTheme property core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php The theme to install as the default for testing.
SettingsTrayBlockFormTest::$modules property core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php Modules to enable.
SettingsTrayBlockFormTest::doTestBlocks function core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php Tests opening off-canvas dialog by click blocks and elements in the blocks.
SettingsTrayBlockFormTest::getBlockTests function core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php Creates tests for ::testBlocks().
SettingsTrayBlockFormTest::setUp function core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php
SettingsTrayBlockFormTest::testBlocks function core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php Tests opening off-canvas dialog by click blocks and elements in the blocks.
SettingsTrayBlockFormTest::testEditModeEnableDisable function core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php Tests enabling and disabling Edit Mode.
SettingsTrayBlockFormTest::testValidationMessages function core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayBlockFormTest.php Tests that validation errors appear in the off-canvas dialog.
SettingsTrayFormAnnotationIsClassBlock class core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/SettingsTrayFormAnnotationIsClassBlock.php Block that explicitly provides a "settings_tray" form class.
SettingsTrayFormAnnotationIsClassBlock.php file core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/SettingsTrayFormAnnotationIsClassBlock.php
SettingsTrayFormAnnotationIsClassBlock::build function core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/SettingsTrayFormAnnotationIsClassBlock.php Builds and returns the renderable array for this block plugin.
SettingsTrayFormAnnotationIsClassBlockForm class core/modules/settings_tray/tests/modules/settings_tray_test/src/Form/SettingsTrayFormAnnotationIsClassBlockForm.php
SettingsTrayFormAnnotationIsClassBlockForm.php file core/modules/settings_tray/tests/modules/settings_tray_test/src/Form/SettingsTrayFormAnnotationIsClassBlockForm.php
SettingsTrayFormAnnotationIsClassBlockForm::$plugin property core/modules/settings_tray/tests/modules/settings_tray_test/src/Form/SettingsTrayFormAnnotationIsClassBlockForm.php The block plugin.
SettingsTrayFormAnnotationIsClassBlockForm::buildConfigurationForm function core/modules/settings_tray/tests/modules/settings_tray_test/src/Form/SettingsTrayFormAnnotationIsClassBlockForm.php Form constructor.
SettingsTrayFormAnnotationIsClassBlockForm::submitConfigurationForm function core/modules/settings_tray/tests/modules/settings_tray_test/src/Form/SettingsTrayFormAnnotationIsClassBlockForm.php Form submission handler.
SettingsTrayFormAnnotationIsFalseBlock class core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/SettingsTrayFormAnnotationIsFalseBlock.php Block that explicitly provides no "settings_tray" form, thus opting out.
SettingsTrayFormAnnotationIsFalseBlock.php file core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/SettingsTrayFormAnnotationIsFalseBlock.php
SettingsTrayFormAnnotationIsFalseBlock::build function core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/SettingsTrayFormAnnotationIsFalseBlock.php Builds and returns the renderable array for this block plugin.
SettingsTrayFormAnnotationNoneBlock class core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/SettingsTrayFormAnnotationNoneBlock.php Block that does nothing explicit for Settings Tray.
SettingsTrayFormAnnotationNoneBlock.php file core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/SettingsTrayFormAnnotationNoneBlock.php
SettingsTrayFormAnnotationNoneBlock::build function core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/SettingsTrayFormAnnotationNoneBlock.php Builds and returns the renderable array for this block plugin.
SettingsTrayIntegrationTest::createBlockContent function core/modules/quickedit/tests/src/FunctionalJavascript/SettingsTrayIntegrationTest.php Creates a custom block.
SettingsTrayIntegrationTest::createBlockContentType function core/modules/quickedit/tests/src/FunctionalJavascript/SettingsTrayIntegrationTest.php Creates a custom block type (bundle).
SettingsTrayIntegrationTest::testCustomBlockLinks function core/modules/quickedit/tests/src/FunctionalJavascript/SettingsTrayIntegrationTest.php Tests that contextual links in custom blocks are changed.
SettingsTrayTest::getBlockSelector function core/modules/settings_tray/tests/src/Functional/SettingsTrayTest.php Gets the block CSS selector.
SettingsTrayTestBase::assertOffCanvasBlockFormIsValid function core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayTestBase.php Asserts that Off-Canvas block form is valid.
SettingsTrayTestBase::getBlockSelector function core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayTestBase.php Gets the block CSS selector.
SettingsTrayTestBase::openBlockForm function core/modules/settings_tray/tests/src/FunctionalJavascript/SettingsTrayTestBase.php Open block form by clicking the element found with a css selector.
settings_tray_block_alter function core/modules/settings_tray/settings_tray.module Implements hook_block_alter().
settings_tray_block_view_alter function core/modules/settings_tray/settings_tray.module Implements hook_block_view_alter().
settings_tray_preprocess_block function core/modules/settings_tray/settings_tray.module Implements hook_preprocess_HOOK() for block templates.
seven_preprocess_admin_block_content function core/themes/seven/seven.theme Implements hook_preprocess_HOOK() for block admin page templates.
seven_preprocess_block function core/themes/seven/seven.theme Implements hook_preprocess_block() for block content.
seven_preprocess_block_content_add_list function core/themes/seven/seven.theme Implements hook_preprocess_HOOK() for block content add list templates.
ShortcutLinksTest::testShortcutBlockAccess function core/modules/shortcut/tests/src/Functional/ShortcutLinksTest.php Tests the 'access shortcuts' permission with the shortcut block.
ShortcutsBlock class core/modules/shortcut/src/Plugin/Block/ShortcutsBlock.php Provides a 'Shortcut' block.
ShortcutsBlock.php file core/modules/shortcut/src/Plugin/Block/ShortcutsBlock.php

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