function moderation_sidebar_theme in Moderation Sidebar 8
Implements hook_theme().
File
- ./
moderation_sidebar.module, line 128 - Contains hook implementations for moderation_sidebar.
Code
function moderation_sidebar_theme() {
return [
'moderation_sidebar_container' => [
'render element' => 'element',
],
'moderation_sidebar_info' => [
'variables' => [
'state' => '',
'revision_time' => NULL,
'revision_time_pretty' => NULL,
'revision_author' => NULL,
'revision_author_link' => NULL,
],
],
'moderation_sidebar_revision' => [
'variables' => [
'revision_message' => '',
'revision_time' => NULL,
'revision_time_pretty' => NULL,
'revision_author' => NULL,
'revision_author_link' => NULL,
'revision_link' => NULL,
],
],
'moderation_sidebar_translations' => [
'variables' => [
'current_language' => NULL,
'translations' => NULL,
'view_all' => NULL,
],
],
];
}