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
SearchBlock class core/modules/search/src/Plugin/Block/SearchBlock.php Provides a 'Search form' block.
SearchBlock.php file core/modules/search/src/Plugin/Block/SearchBlock.php
SearchBlock::$formBuilder property core/modules/search/src/Plugin/Block/SearchBlock.php The form builder.
SearchBlock::$searchPageRepository property core/modules/search/src/Plugin/Block/SearchBlock.php The search page repository.
SearchBlock::blockAccess function core/modules/search/src/Plugin/Block/SearchBlock.php Indicates whether the block should be shown.
SearchBlock::blockForm function core/modules/search/src/Plugin/Block/SearchBlock.php
SearchBlock::blockSubmit function core/modules/search/src/Plugin/Block/SearchBlock.php
SearchBlock::build function core/modules/search/src/Plugin/Block/SearchBlock.php Builds and returns the renderable array for this block plugin.
SearchBlock::create function core/modules/search/src/Plugin/Block/SearchBlock.php Creates an instance of the plugin.
SearchBlock::defaultConfiguration function core/modules/search/src/Plugin/Block/SearchBlock.php
SearchBlock::__construct function core/modules/search/src/Plugin/Block/SearchBlock.php Constructs a new SearchLocalTask.
SearchBlockForm class core/modules/search/src/Form/SearchBlockForm.php Builds the search form for the search block.
SearchBlockForm.php file core/modules/search/src/Form/SearchBlockForm.php
SearchBlockForm::$configFactory property core/modules/search/src/Form/SearchBlockForm.php The config factory.
SearchBlockForm::$renderer property core/modules/search/src/Form/SearchBlockForm.php The renderer.
SearchBlockForm::$searchPageRepository property core/modules/search/src/Form/SearchBlockForm.php The search page repository.
SearchBlockForm::buildForm function core/modules/search/src/Form/SearchBlockForm.php Form constructor.
SearchBlockForm::create function core/modules/search/src/Form/SearchBlockForm.php Instantiates a new instance of this class.
SearchBlockForm::getFormId function core/modules/search/src/Form/SearchBlockForm.php Returns a unique string identifying the form.
SearchBlockForm::submitForm function core/modules/search/src/Form/SearchBlockForm.php Form submission handler.
SearchBlockForm::__construct function core/modules/search/src/Form/SearchBlockForm.php Constructs a new SearchBlockForm.
SearchBlockPageIdUpdatePathTest class core/modules/search/tests/src/Functional/Update/SearchBlockPageIdUpdatePathTest.php Tests update path for the search block's `page_id` setting from '' to NULL.
SearchBlockPageIdUpdatePathTest.php file core/modules/search/tests/src/Functional/Update/SearchBlockPageIdUpdatePathTest.php
SearchBlockPageIdUpdatePathTest::setDatabaseDumpFiles function core/modules/search/tests/src/Functional/Update/SearchBlockPageIdUpdatePathTest.php Set database dump files to be used.
SearchBlockPageIdUpdatePathTest::testRunUpdates function core/modules/search/tests/src/Functional/Update/SearchBlockPageIdUpdatePathTest.php Tests update path for the search block's `page_id` setting from '' to NULL.
SearchBlockTest class core/modules/search/tests/src/Functional/SearchBlockTest.php Tests if the search form block is available.
SearchBlockTest.php file core/modules/search/tests/src/Functional/SearchBlockTest.php
SearchBlockTest::$adminUser property core/modules/search/tests/src/Functional/SearchBlockTest.php The administrative user.
SearchBlockTest::$defaultTheme property core/modules/search/tests/src/Functional/SearchBlockTest.php The theme to install as the default for testing.
SearchBlockTest::$modules property core/modules/search/tests/src/Functional/SearchBlockTest.php Modules to install.
SearchBlockTest::setUp function core/modules/search/tests/src/Functional/SearchBlockTest.php
SearchBlockTest::testSearchFormBlock function core/modules/search/tests/src/Functional/SearchBlockTest.php Tests that the search form block can be placed and works.
SearchHooks::blockPresave function core/modules/search/src/Hook/SearchHooks.php Implements hook_ENTITY_TYPE_presave() for block entities.
SearchHooks::formSearchBlockFormAlter function core/modules/search/src/Hook/SearchHooks.php Implements hook_form_FORM_ID_alter() for the search_block_form form.
search_post_update_block_with_empty_page_id function core/modules/search/search.post_update.php Updates Search Blocks' without an explicit `page_id` from '' to NULL.
search_preprocess_block function core/modules/search/search.module Implements hook_preprocess_HOOK() for block templates.
SectionRenderTest::$blockManager property core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php The block plugin manager.
SectionRenderTest::testContextAwareBlock function core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php @covers ::toRenderArray[[api-linebreak]]
SectionStorage::$allow_inline_blocks property core/modules/layout_builder/src/Annotation/SectionStorage.php Indicates that this section storage allows inline block creation.
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.

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