function block_theme
Same name in other branches
- 9 core/modules/block/block.module \block_theme()
- 8.9.x core/modules/block/block.module \block_theme()
- 10 core/modules/block/block.module \block_theme()
Implements hook_theme().
File
-
modules/
block/ block.module, line 78
Code
function block_theme() {
return array(
'block' => array(
'render element' => 'elements',
'template' => 'block',
),
'block_admin_display_form' => array(
'template' => 'block-admin-display-form',
'file' => 'block.admin.inc',
'render element' => 'form',
),
);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.