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
Block::getRegion function core/modules/block/src/Entity/Block.php Returns the region this block is placed in.
Block::getTheme function core/modules/block/src/Entity/Block.php Returns the theme ID.
Block::getVisibility function core/modules/block/src/Entity/Block.php Returns an array of visibility condition configurations.
Block::getVisibilityCondition function core/modules/block/src/Entity/Block.php Gets a visibility condition plugin instance.
Block::getVisibilityConditions function core/modules/block/src/Entity/Block.php Gets conditions for this block.
Block::getWeight function core/modules/block/src/Entity/Block.php Returns the weight of this block (used for sorting).
Block::initializeIterator function core/modules/block/src/Plugin/migrate/source/Block.php Initializes the iterator with the source data.
Block::label function core/modules/block/src/Entity/Block.php Gets the label of the entity.
Block::optionsSummary function core/modules/views/src/Plugin/views/display/Block.php Provide the summary for page options in the views UI.
Block::postSave function core/modules/block/src/Entity/Block.php Acts on a saved entity before the insert or update hook is invoked.
Block::preBlockBuild function core/modules/views/src/Plugin/views/display/Block.php Allows to change the display settings right before executing the block.
Block::prepareRow function core/modules/block/src/Plugin/migrate/source/Block.php Adds additional data to the row.
Block::preSave function core/modules/block/src/Entity/Block.php Acts on an entity before the presave hook is invoked.
Block::query function core/modules/block/src/Plugin/migrate/source/Block.php
Block::remove function core/modules/views/src/Plugin/views/display/Block.php Reacts on deleting a display.
Block::setRegion function core/modules/block/src/Entity/Block.php Sets the region this block is placed in.
Block::setVisibilityConfig function core/modules/block/src/Entity/Block.php Sets the visibility condition configuration.
Block::setWeight function core/modules/block/src/Entity/Block.php Sets the block weight.
Block::sort function core/modules/block/src/Entity/Block.php Sorts active blocks by weight; sorts inactive blocks by name.
Block::submitOptionsForm function core/modules/views/src/Plugin/views/display/Block.php Perform any necessary changes to the form values prior to storage.
Block::usesExposedFormInBlock function core/modules/views/src/Plugin/views/display/Block.php Checks to see if the display can put the exposed form in a block.
Block::__construct function core/modules/views/src/Plugin/views/display/Block.php Constructs a new Block instance.
BlockAccessControlHandler class core/modules/block/src/BlockAccessControlHandler.php Defines the access control handler for the block entity type.
BlockAccessControlHandler.php file core/modules/block/src/BlockAccessControlHandler.php
BlockAccessControlHandler::$contextHandler property core/modules/block/src/BlockAccessControlHandler.php The plugin context handler.
BlockAccessControlHandler::$contextRepository property core/modules/block/src/BlockAccessControlHandler.php The context manager service.
BlockAccessControlHandler::checkAccess function core/modules/block/src/BlockAccessControlHandler.php Performs access checks.
BlockAccessControlHandler::createInstance function core/modules/block/src/BlockAccessControlHandler.php Instantiates a new instance of this entity handler.
BlockAccessControlHandler::mergeCacheabilityFromConditions function core/modules/block/src/BlockAccessControlHandler.php Merges cacheable metadata from conditions onto the access result object.
BlockAccessControlHandler::__construct function core/modules/block/src/BlockAccessControlHandler.php Constructs the block access control handler instance.
BlockAddController class core/modules/block/src/Controller/BlockAddController.php Controller for building the block instance add form.
BlockAddController.php file core/modules/block/src/Controller/BlockAddController.php
BlockAddController::blockAddConfigureForm function core/modules/block/src/Controller/BlockAddController.php Build the block instance add form.
BlockAddTest class core/modules/block/tests/src/FunctionalJavascript/BlockAddTest.php Tests the JS functionality in the block add form.
BlockAddTest.php file core/modules/block/tests/src/FunctionalJavascript/BlockAddTest.php
BlockAddTest::$defaultTheme property core/modules/block/tests/src/FunctionalJavascript/BlockAddTest.php The theme to install as the default for testing.
BlockAddTest::$modules property core/modules/block/tests/src/FunctionalJavascript/BlockAddTest.php Modules to enable.
BlockAddTest::testBlockAddThemeSelector function core/modules/block/tests/src/FunctionalJavascript/BlockAddTest.php Tests the AJAX for the theme selector.
BlockAdminThemeTest class core/modules/block/tests/src/Functional/BlockAdminThemeTest.php Tests the block system with admin themes.
BlockAdminThemeTest.php file core/modules/block/tests/src/Functional/BlockAdminThemeTest.php
BlockAdminThemeTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockAdminThemeTest.php The theme to install as the default for testing.
BlockAdminThemeTest::$modules property core/modules/block/tests/src/Functional/BlockAdminThemeTest.php Modules to install.
BlockAdminThemeTest::testAdminTheme function core/modules/block/tests/src/Functional/BlockAdminThemeTest.php Check for the accessibility of the admin theme on the block admin page.
BlockAdminThemeTest::testClaroAdminTheme function core/modules/block/tests/src/Functional/BlockAdminThemeTest.php Ensure contextual links are disabled in Claro theme.
BlockBase class core/lib/Drupal/Core/Block/BlockBase.php Defines a base block implementation that most blocks plugins will extend.
BlockBase.php file core/lib/Drupal/Core/Block/BlockBase.php
BlockBase::buildConfigurationForm function core/lib/Drupal/Core/Block/BlockBase.php Form constructor.
BlockBaseTest class core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php @coversDefaultClass \Drupal\Core\Block\BlockBase
@group block
BlockBaseTest.php file core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php
BlockBaseTest::providerTestGetMachineNameSuggestion function core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php Provides data for testGetMachineNameSuggestion().

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