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
AccessRouteAlterSubscriber::accessAdminMenuBlockPage function core/modules/system/src/EventSubscriber/AccessRouteAlterSubscriber.php Adds _access_admin_menu_block_page requirement to routes pointing to SystemController::systemAdminMenuBlockPage.
access_check.admin_menu_block_page service core/modules/system/system.services.yml Drupal\system\Access\SystemAdminMenuBlockAccessCheck
access_check.settings_tray.block.has_overrides service core/modules/settings_tray/settings_tray.services.yml Drupal\settings_tray\Access\BlockHasOverridesAccessCheck
access_check.settings_tray.block.settings_tray_form service core/modules/settings_tray/settings_tray.services.yml Drupal\settings_tray\Access\BlockPluginHasSettingsTrayFormAccessCheck
ActiveTopicsBlock class core/modules/forum/src/Plugin/Block/ActiveTopicsBlock.php Provides an 'Active forum topics' block.
ActiveTopicsBlock.php file core/modules/forum/src/Plugin/Block/ActiveTopicsBlock.php
ActiveTopicsBlock::buildForumQuery function core/modules/forum/src/Plugin/Block/ActiveTopicsBlock.php Builds the select query to use for this forum block.
AddBlockForm class core/modules/layout_builder/src/Form/AddBlockForm.php Provides a form to add a block.
AddBlockForm.php file core/modules/layout_builder/src/Form/AddBlockForm.php
AddBlockForm::buildForm function core/modules/layout_builder/src/Form/AddBlockForm.php Builds the form for the block.
AddBlockForm::getFormId function core/modules/layout_builder/src/Form/AddBlockForm.php Returns a unique string identifying the form.
AddBlockForm::submitLabel function core/modules/layout_builder/src/Form/AddBlockForm.php Returns the label for the submit button.
AddNavigationBlock class core/modules/navigation/src/Plugin/ConfigAction/AddNavigationBlock.php @internal
This API is experimental.
AddNavigationBlock.php file core/modules/navigation/src/Plugin/ConfigAction/AddNavigationBlock.php
AddNavigationBlock::apply function core/modules/navigation/src/Plugin/ConfigAction/AddNavigationBlock.php Applies the config action.
AddNavigationBlock::create function core/modules/navigation/src/Plugin/ConfigAction/AddNavigationBlock.php Creates an instance of the plugin.
AddNavigationBlock::__construct function core/modules/navigation/src/Plugin/ConfigAction/AddNavigationBlock.php
AddNavigationBlockConfigActionTest class core/modules/navigation/tests/src/Kernel/ConfigAction/AddNavigationBlockConfigActionTest.php @covers \Drupal\navigation\Plugin\ConfigAction\AddNavigationBlock
@group navigation
@group Recipe
AddNavigationBlockConfigActionTest.php file core/modules/navigation/tests/src/Kernel/ConfigAction/AddNavigationBlockConfigActionTest.php
AddNavigationBlockConfigActionTest::$modules property core/modules/navigation/tests/src/Kernel/ConfigAction/AddNavigationBlockConfigActionTest.php Modules to install.
AddNavigationBlockConfigActionTest::setUp function core/modules/navigation/tests/src/Kernel/ConfigAction/AddNavigationBlockConfigActionTest.php
AddNavigationBlockConfigActionTest::testActionOnlySupportsNavigationConfig function core/modules/navigation/tests/src/Kernel/ConfigAction/AddNavigationBlockConfigActionTest.php Checks invalid config exception.
AddNavigationBlockConfigActionTest::testAddBlockToNavigation function core/modules/navigation/tests/src/Kernel/ConfigAction/AddNavigationBlockConfigActionTest.php Tests add item logic.
admin-block-content.html.twig file core/modules/system/templates/admin-block-content.html.twig Default theme implementation for the content of an administrative block.
admin-block-content.html.twig file core/themes/stable9/templates/admin/admin-block-content.html.twig Theme override for the content of an administrative block.
admin-block-content.html.twig file core/themes/claro/templates/admin/admin-block-content.html.twig Claro's theme implementation for the content of an administrative block.
admin-block.html.twig file core/modules/system/templates/admin-block.html.twig Default theme implementation for an administrative block.
admin-block.html.twig file core/themes/stable9/templates/admin/admin-block.html.twig Theme override for an administrative block.
AdminTest::testConfigBlocksDescription function core/modules/system/tests/src/Functional/System/AdminTest.php Tests admin config page blocks without descriptions.
AjaxBlockTest class core/modules/layout_builder/tests/src/FunctionalJavascript/AjaxBlockTest.php Ajax blocks tests.
AjaxBlockTest.php file core/modules/layout_builder/tests/src/FunctionalJavascript/AjaxBlockTest.php
AjaxBlockTest::$defaultTheme property core/modules/layout_builder/tests/src/FunctionalJavascript/AjaxBlockTest.php The theme to install as the default for testing.
AjaxBlockTest::$modules property core/modules/layout_builder/tests/src/FunctionalJavascript/AjaxBlockTest.php Modules to install.
AjaxBlockTest::setUp function core/modules/layout_builder/tests/src/FunctionalJavascript/AjaxBlockTest.php
AjaxBlockTest::testAddAjaxBlock function core/modules/layout_builder/tests/src/FunctionalJavascript/AjaxBlockTest.php Tests configuring a field block for a user field.
AjaxFormBlock class core/modules/system/tests/modules/ajax_forms_test/src/Plugin/Block/AjaxFormBlock.php Provides an AJAX form block.
AjaxFormBlock.php file core/modules/system/tests/modules/ajax_forms_test/src/Plugin/Block/AjaxFormBlock.php
AjaxFormBlock::$formBuilder property core/modules/system/tests/modules/ajax_forms_test/src/Plugin/Block/AjaxFormBlock.php The form builder.
AjaxFormBlock::$messenger property core/modules/system/tests/modules/ajax_forms_test/src/Plugin/Block/AjaxFormBlock.php The messenger.
AjaxFormBlock::build function core/modules/system/tests/modules/ajax_forms_test/src/Plugin/Block/AjaxFormBlock.php Builds and returns the renderable array for this block plugin.
AjaxFormBlock::buildForm function core/modules/system/tests/modules/ajax_forms_test/src/Plugin/Block/AjaxFormBlock.php Form constructor.
AjaxFormBlock::create function core/modules/system/tests/modules/ajax_forms_test/src/Plugin/Block/AjaxFormBlock.php Creates an instance of the plugin.
AjaxFormBlock::getFormId function core/modules/system/tests/modules/ajax_forms_test/src/Plugin/Block/AjaxFormBlock.php Returns a unique string identifying the form.
AjaxFormBlock::submitForm function core/modules/system/tests/modules/ajax_forms_test/src/Plugin/Block/AjaxFormBlock.php Form submission handler.
AjaxFormBlock::updateOptions function core/modules/system/tests/modules/ajax_forms_test/src/Plugin/Block/AjaxFormBlock.php Updates the options of a select list.
AjaxFormBlock::validateForm function core/modules/system/tests/modules/ajax_forms_test/src/Plugin/Block/AjaxFormBlock.php Form validation handler.
AjaxFormBlock::__construct function core/modules/system/tests/modules/ajax_forms_test/src/Plugin/Block/AjaxFormBlock.php Constructs a new AjaxFormBlock.
AjaxFormCacheTest::testBlockForms function core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxFormCacheTest.php Tests AJAX forms in blocks.
AjaxTestController::insertLinksBlockWrapper function core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php Returns a render array of links that directly Drupal.ajax().
AnnounceBlock class core/modules/announcements_feed/src/Plugin/Block/AnnounceBlock.php Provides an 'Announcements Feed' block.

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