Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 10.3.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
Block::fields function core/modules/block/src/Plugin/migrate/source/Block.php Returns available fields on the source.
Block::getCacheTagsToInvalidate function core/modules/block/src/Entity/Block.php Returns the cache tags that should be used to invalidate caches.
Block::getIds function core/modules/block/src/Plugin/migrate/source/Block.php Defines the source fields uniquely identifying a source row.
Block::getPluginCollections function core/modules/block/src/Entity/Block.php Gets the plugin collections used by this object.
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::optionsSummary function core/modules/views/src/Plugin/views/display/Block.php Provide the summary for page options in the views UI.
Block::preSave function core/modules/block/src/Entity/Block.php Acts on an entity before the presave hook is invoked.
Block::setRegion function core/modules/block/src/Entity/Block.php #[ActionMethod(adminLabel: new TranslatableMarkup('Set block region'), pluralize: FALSE)]
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 #[ActionMethod(adminLabel: new TranslatableMarkup('Set block weight'), pluralize: FALSE)]
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.
Block::__construct function core/lib/Drupal/Core/Block/Attribute/Block.php Constructs a Block attribute.
BlockAccessControlHandler class core/modules/block/src/BlockAccessControlHandler.php Defines the access control handler for the content 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.
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 install.
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.
BlockBackwardCompatibilityTest class core/themes/stable9/tests/Unit/BlockBackwardCompatibilityTest.php Tests backward compatibility for block templates.
BlockBackwardCompatibilityTest.php file core/themes/stable9/tests/Unit/BlockBackwardCompatibilityTest.php
BlockBackwardCompatibilityTest::testAttributeCopy function core/themes/stable9/tests/Unit/BlockBackwardCompatibilityTest.php Tests copying content attributes to the wrapper.
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.
BlockBase::submitConfigurationForm function core/lib/Drupal/Core/Block/BlockBase.php Form submission handler.
BlockBaseTest class core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php Tests Drupal\Core\Block\BlockBase.
BlockBaseTest class core/tests/Drupal/KernelTests/Core/Block/BlockBaseTest.php Tests the BlockBase class, base for all block plugins.
BlockBaseTest.php file core/tests/Drupal/KernelTests/Core/Block/BlockBaseTest.php
BlockBaseTest.php file core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php
BlockBaseTest::$modules property core/tests/Drupal/KernelTests/Core/Block/BlockBaseTest.php Modules to install.
BlockBaseTest::providerTestGetMachineNameSuggestion function core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php Provides data for testGetMachineNameSuggestion().
BlockBaseTest::testContextMapping function core/tests/Drupal/KernelTests/Core/Block/BlockBaseTest.php Tests that blocks config form have context mapping, and it is stored in configuration.

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