Same name and namespace in other branches
  1. 8.9.x core/modules/block_content/block_content.module \block_content_theme()
  2. 9 core/modules/block_content/block_content.module \block_content_theme()

Implements hook_theme().

File

core/modules/block_content/block_content.module, line 41
Allows the creation of content 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',
    ],
  ];
}