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::$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::$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::$region

The region this block is placed in. Type: string File core/modules/block/src/Entity/Block.php, line 73 Class Block Defines a Block configuration entity class. Namespace Drupal\block\Entity Code protected $region = self::BLOCK_REGION_NONE;

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.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.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--system-menu-block.html.twig

Default theme implementation for a menu 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. attr

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.