function BlockHooks::theme

Implements hook_theme().

File

core/modules/block/src/Hook/BlockHooks.php, line 59

Class

BlockHooks
Hook implementations for block.

Namespace

Drupal\block\Hook

Code

public function theme() : array {
    return [
        'block' => [
            'render element' => 'elements',
        ],
    ];
}

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