Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. BlockContentHooks.php

function BlockContentHooks::theme

Implements hook_theme().

File

core/modules/block_content/src/Hook/BlockContentHooks.php, line 53

Class

BlockContentHooks
Hook implementations for block_content.

Namespace

Drupal\block_content\Hook

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal