Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
Block::getPlugin function core/modules/block/src/Entity/Block.php
Block::getPluginCollection function core/modules/block/src/Entity/Block.php Encapsulates the creation of the block's LazyPluginCollection.
Block::getPluginCollections function core/modules/block/src/Entity/Block.php
Block::getPluginId function core/modules/block/src/Entity/Block.php
Block::getRegion function core/modules/block/src/Entity/Block.php
Block::getTheme function core/modules/block/src/Entity/Block.php
Block::getVisibility function core/modules/block/src/Entity/Block.php
Block::getVisibilityCondition function core/modules/block/src/Entity/Block.php
Block::getVisibilityConditions function core/modules/block/src/Entity/Block.php
Block::getWeight function core/modules/block/src/Entity/Block.php
Block::initializeIterator function core/modules/block/src/Plugin/migrate/source/Block.php
Block::label function core/modules/block/src/Entity/Block.php
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
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
Block::preSave function core/modules/block/src/Entity/Block.php
Block::query function core/modules/block/src/Plugin/migrate/source/Block.php
Block::remove function core/modules/views/src/Plugin/views/display/Block.php
Block::setRegion function core/modules/block/src/Entity/Block.php
Block::setVisibilityConfig function core/modules/block/src/Entity/Block.php
Block::setWeight function core/modules/block/src/Entity/Block.php
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.
There is no need for this function to actually store the data.
Block::usesExposed function core/modules/views/src/Plugin/views/display/Block.php Block views use exposed widgets only if AJAX is set.
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
BlockAccessControlHandler::createInstance function core/modules/block/src/BlockAccessControlHandler.php
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.
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
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::testSevenAdminTheme function core/modules/block/tests/src/Functional/BlockAdminThemeTest.php Ensure contextual links are disabled in Seven 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
BlockBaseTest class core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php @coversDefaultClass \Drupal\Core\Block\BlockBase[[api-linebreak]]
@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().
BlockBaseTest::testGetMachineNameSuggestion function core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php Tests the machine name suggestion.
BlockCacheTest class core/modules/block/tests/src/Functional/BlockCacheTest.php Tests block caching.

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