Block::$id

The ID of the block. Type: string File core/modules/block/src/Entity/Block.php, line 59 Class Block Defines a Block configuration entity class. Namespace Drupal\block\Entity Code protected $id;

Block::$id

The plugin ID. Type: string File core/lib/Drupal/Core/Block/Annotation/Block.php, line 21 Class Block Defines a Block annotation object. Namespace Drupal\Core\Block\Annotation Code public $id;

Block::$contexts

The available contexts for this block and its visibility conditions. Type: array File core/modules/block/src/Entity/Block.php, line 108 Class Block Defines a Block configuration entity class. Namespace Drupal\block\Entity Code protected $contexts = [];

Block::$category

The category in the admin UI where the block will be listed. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/lib/Drupal/Core/Block/Annotation/Block.php, line 39 Class Block Defines a Block annotation object. Namespace Drupal\Core\Block\Annotation Code public $category = '';

Block::$admin_label

The administrative label of the block. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/lib/Drupal/Core/Block/Annotation/Block.php, line 30 Class Block Defines a Block annotation object. Namespace Drupal\Core\Block\Annotation Code public $admin_label = '';

block.module

Controls the visual building blocks a page is constructed with. File core/modules/block/block.module Functions Name Description block_configurable_language_delete Implements hook_ENTITY_TYPE_delete() for 'configurable_language'. block_help Implements hook_help(). block_menu_delete Implements hook_ENTITY_TYPE_delete() for menu entities. block_page_top Implements hook_page_top(). block_rebuild Implements hook_rebuild(). block_theme Implements hook_theme(). block_th

block.install

Contains install and update functions for Block. File core/modules/block/block.install Functions Name Description block_install Implements hook_install(). block_update_8001 Update block visibility context mapping. block_update_8002 Placeholder for the previous 8002 update. block_update_8003 Remove 'cache' setting.

block.html.twig

Default theme implementation to display a block. Available variables: plugin_id: The ID of the block implementation. label: The configured label of the block if visible. configuration: A list of the block's configuration values. label: The configured label for the block. label_display: The display settings for the label. provider: The module or other provider that provided this block plugin. Block plugin specific settings will also be stored here. content: The content of this block. at

block-content-add-list.html.twig

Default theme implementation to present a list of custom block types. Available variables: types: A collection of all the available custom block types. Each block type contains the following: link: A link to add a block of this type. description: A description of this custom block type. See also template_preprocess_block_content_add_list() File core/modules/block_content/templates/block-content-add-list.html.twig Related topics Theme system overview Functions and templates for the use

block--system-messages-block.html.twig

Default theme implementation for the messages block. Removes wrapper elements from block so that empty block does not appear when there are no messages. Available variables: content: The content of this block. File core/modules/system/templates/block--system-messages-block.html.twig Related topics Theme system overview Functions and templates for the user interface that themes can override.