Same name and namespace in other branches
  1. 6.x modules/block/block.module \block_theme()
  2. 7.x modules/block/block.module \block_theme()
  3. 8.9.x core/modules/block/block.module \block_theme()
  4. 9 core/modules/block/block.module \block_theme()

Implements hook_theme().

4 string references to 'block_theme'
d6_block.yml in core/modules/block/migrations/d6_block.yml
core/modules/block/migrations/d6_block.yml
d6_block_translation.yml in core/modules/config_translation/migrations/d6_block_translation.yml
core/modules/config_translation/migrations/d6_block_translation.yml
d7_block.yml in core/modules/block/migrations/d7_block.yml
core/modules/block/migrations/d7_block.yml
d7_block_translation.yml in core/modules/config_translation/migrations/d7_block_translation.yml
core/modules/config_translation/migrations/d7_block_translation.yml

File

core/modules/block/block.module, line 56
Controls the visual building blocks a page is constructed with.

Code

function block_theme() {
  return [
    'block' => [
      'render element' => 'elements',
    ],
  ];
}