Search for block

  1. Search 7.x for block
  2. Search 9.5.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 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
BlockForm::$language property core/modules/block/src/BlockForm.php The language manager service.
BlockForm::$manager property core/modules/block/src/BlockForm.php The condition plugin manager.
BlockForm::$pluginFormFactory property core/modules/block/src/BlockForm.php The plugin form manager.
BlockForm::$storage property core/modules/block/src/BlockForm.php The block storage.
BlockForm::$themeHandler property core/modules/block/src/BlockForm.php The theme handler.
BlockForm::actions function core/modules/block/src/BlockForm.php Returns an array of supported actions for the current entity form.
BlockForm::buildVisibilityInterface function core/modules/block/src/BlockForm.php Helper function for building the visibility UI form.
BlockForm::create function core/modules/block/src/BlockForm.php Instantiates a new instance of this class.
BlockForm::form function core/modules/block/src/BlockForm.php Gets the actual form array to be built.
BlockForm::getPluginForm function core/modules/block/src/BlockForm.php Retrieves the plugin form for a given block and operation.
BlockForm::getUniqueMachineName function core/modules/block/src/BlockForm.php Generates a unique machine name for a block.
BlockForm::submitForm function core/modules/block/src/BlockForm.php This is the default entity object builder function. It is called before any
other submit handler to build the new entity object to be used by the
following submit handlers. At this point of the form workflow the entity is
validated and the form state…
BlockForm::submitVisibility function core/modules/block/src/BlockForm.php Helper function to independently submit the visibility UI.
BlockForm::themeSwitch function core/modules/block/src/BlockForm.php Handles switching the available regions based on the selected theme.
BlockForm::validateForm function core/modules/block/src/BlockForm.php Form validation handler.
BlockForm::validateVisibility function core/modules/block/src/BlockForm.php Helper function to independently validate the visibility UI.
BlockForm::__construct function core/modules/block/src/BlockForm.php Constructs a BlockForm object.
BlockFormInBlockTest class core/modules/block/tests/src/Functional/BlockFormInBlockTest.php Tests form in block caching.
BlockFormInBlockTest.php file core/modules/block/tests/src/Functional/BlockFormInBlockTest.php
BlockFormInBlockTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockFormInBlockTest.php The theme to install as the default for testing.
BlockFormInBlockTest::$modules property core/modules/block/tests/src/Functional/BlockFormInBlockTest.php Modules to install.
BlockFormInBlockTest::setUp function core/modules/block/tests/src/Functional/BlockFormInBlockTest.php
BlockFormInBlockTest::testCachePerPage function core/modules/block/tests/src/Functional/BlockFormInBlockTest.php Test to see if form in block's redirect isn't cached.
BlockFormInBlockTest::testPlaceholders function core/modules/block/tests/src/Functional/BlockFormInBlockTest.php Test the actual placeholders
BlockFormMessagesTest class core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php Tests that messages appear in the off-canvas dialog with configuring blocks.
BlockFormMessagesTest.php file core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php
BlockFormMessagesTest::$defaultTheme property core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php The theme to install as the default for testing.
BlockFormMessagesTest::$modules property core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php Modules to enable.
BlockFormMessagesTest::assertMessagesDisplayed function core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php Asserts that the validation messages are shown correctly.
BlockFormMessagesTest::clickElementWhenClickable function core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php Attempts to click an element until it is in a clickable state.
BlockFormMessagesTest::setUp function core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php
BlockFormMessagesTest::testValidationMessage function core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php Tests that validation messages are shown on the block form.
BlockFormTest class core/modules/block/tests/src/Unit/BlockFormTest.php @coversDefaultClass \Drupal\block\BlockForm
@group block
BlockFormTest.php file core/modules/block/tests/src/Unit/BlockFormTest.php
BlockFormTest::$conditionManager property core/modules/block/tests/src/Unit/BlockFormTest.php The condition plugin manager.
BlockFormTest::$contextRepository property core/modules/block/tests/src/Unit/BlockFormTest.php The mocked context repository.
BlockFormTest::$entityTypeManager property core/modules/block/tests/src/Unit/BlockFormTest.php The entity type manager.
BlockFormTest::$language property core/modules/block/tests/src/Unit/BlockFormTest.php The language manager service.
BlockFormTest::$pluginFormFactory property core/modules/block/tests/src/Unit/BlockFormTest.php The plugin form manager.
BlockFormTest::$storage property core/modules/block/tests/src/Unit/BlockFormTest.php The block storage.
BlockFormTest::$themeHandler property core/modules/block/tests/src/Unit/BlockFormTest.php The theme handler.
BlockFormTest::getBlockMockWithMachineName function core/modules/block/tests/src/Unit/BlockFormTest.php Mocks a block with a block plugin.
BlockFormTest::setUp function core/modules/block/tests/src/Unit/BlockFormTest.php
BlockFormTest::testGetUniqueMachineName function core/modules/block/tests/src/Unit/BlockFormTest.php Tests the unique machine name generator.
BlockHalJsonAnonTest class core/modules/block/tests/src/Functional/Hal/BlockHalJsonAnonTest.php @group hal
BlockHalJsonAnonTest.php file core/modules/block/tests/src/Functional/Hal/BlockHalJsonAnonTest.php
BlockHalJsonAnonTest::$defaultTheme property core/modules/block/tests/src/Functional/Hal/BlockHalJsonAnonTest.php The theme to install as the default for testing.
BlockHalJsonAnonTest::$format property core/modules/block/tests/src/Functional/Hal/BlockHalJsonAnonTest.php The format to use in this test.
BlockHalJsonAnonTest::$mimeType property core/modules/block/tests/src/Functional/Hal/BlockHalJsonAnonTest.php The MIME type that corresponds to $format.
BlockHalJsonAnonTest::$modules property core/modules/block/tests/src/Functional/Hal/BlockHalJsonAnonTest.php Modules to install.

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