function content_kanban_theme in Content Planner 8
Implements hook_theme().
File
- modules/
content_kanban/ content_kanban.module, line 17 - Contains content_kanban.module.
Code
function content_kanban_theme($existing, $type, $theme, $path) {
return [
'content_kanban' => [
'variables' => [
'kanban_id' => NULL,
'kanban_label' => NULL,
'filter_form' => [],
'permissions' => [],
'headers' => [],
'columns' => [],
'addEntitiesLinks' => [],
],
],
'content_kanban_column' => [
'variables' => [
'column_id' => NULL,
'workflow_id' => NULL,
'state_id' => NULL,
'state_label' => NULL,
'entities' => [],
],
],
'content_kanban_column_entry' => [
'variables' => [
'entity' => NULL,
'entity_type' => '',
'entity_id' => '',
'entity_type_config' => NULL,
'user_picture' => NULL,
'workflow_state' => NULL,
'operation_links' => NULL,
'item_options' => [],
],
],
'content_kanban_log_recent_activity' => [
'variables' => [
'show_user_thumb' => FALSE,
'entries' => [],
],
],
'content_state_statistic' => [
'variables' => [
'data' => FALSE,
],
],
];
}