function ContentModerationHooks::theme

Implements hook_theme().

File

core/modules/content_moderation/src/Hook/ContentModerationHooks.php, line 260

Class

ContentModerationHooks
Hook implementations for content_moderation.

Namespace

Drupal\content_moderation\Hook

Code

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

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