function block_content_theme

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

Implements hook_theme().

File

core/modules/block_content/block_content.module, line 49

Code

function block_content_theme($existing, $type, $theme, $path) {
    return [
        'block_content_add_list' => [
            'variables' => [
                'content' => NULL,
            ],
            'file' => 'block_content.pages.inc',
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.