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 11.x for %s
  6. Other projects
Title Object type File name Summary
block.css file core/themes/olivero/css/components/block.css Block styling.
block.install file core/modules/block/block.install Contains install and update functions for Block.
block.libraries.yml file core/modules/block/block.libraries.yml core/modules/block/block.libraries.yml
block.links.contextual.yml file core/modules/block/block.links.contextual.yml core/modules/block/block.links.contextual.yml
block.links.menu.yml file core/modules/block/block.links.menu.yml core/modules/block/block.links.menu.yml
block.links.task.yml file core/modules/block/block.links.task.yml core/modules/block/block.links.task.yml
block.page_display_variant_subscriber service core/modules/block/block.services.yml Drupal\block\EventSubscriber\BlockPageDisplayVariantSubscriber
block.pcss.css file core/themes/olivero/css/components/block.pcss.css Block styling.
block.permissions.yml file core/modules/block/block.permissions.yml core/modules/block/block.permissions.yml
block.post_update.php file core/modules/block/block.post_update.php Post update functions for Block.
block.repository service core/modules/block/block.services.yml Drupal\block\BlockRepository
block.schema.yml file core/modules/block/config/schema/block.schema.yml core/modules/block/config/schema/block.schema.yml
block.services.yml file core/modules/block/block.services.yml core/modules/block/block.services.yml
Block::$contexts property core/modules/block/src/Entity/Block.php The available contexts for this block and its visibility conditions.
Block::$context_definitions property core/lib/Drupal/Core/Block/Annotation/Block.php An array of context definitions describing the context used by the plugin.
Block::$settings property core/modules/block/src/Entity/Block.php The plugin instance settings.
Block::$userRoleTable property core/modules/block/src/Plugin/migrate/source/Block.php Table listing user roles.
Block::$usesAttachments property core/modules/views/src/Plugin/views/display/Block.php Whether the display allows attachments.
Block::$visibility property core/modules/block/src/Entity/Block.php The visibility settings for this block.
Block::$visibilityCollection property core/modules/block/src/Entity/Block.php The visibility collection.
Block::blockSettings function core/modules/views/src/Plugin/views/display/Block.php Returns plugin-specific settings for the block.
Block::blockSubmit function core/modules/views/src/Plugin/views/display/Block.php Handles form submission for the views block configuration form.
Block::buildOptionsForm function core/modules/views/src/Plugin/views/display/Block.php Provide the default form for setting options.
Block::calculateDependencies function core/modules/block/src/Entity/Block.php
Block::defineOptions function core/modules/views/src/Plugin/views/display/Block.php
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
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
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::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
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
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
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
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.

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