function block_content_theme in Drupal 9
Same name and namespace in other branches
- 8 core/modules/block_content/block_content.module \block_content_theme()
Implements hook_theme().
File
- core/
modules/ block_content/ block_content.module, line 49 - Allows the creation of custom blocks through the user interface.
Code
function block_content_theme($existing, $type, $theme, $path) {
return [
'block_content_add_list' => [
'variables' => [
'content' => NULL,
],
'file' => 'block_content.pages.inc',
],
];
}