You are here

function content_calendar_theme in Content Planner 8

Implements hook_theme().

File

modules/content_calendar/content_calendar.module, line 16
Contains content_calendar.module.

Code

function content_calendar_theme($existing, $type, $theme, $path) {
  return [
    'content_calendar_overview' => [
      'variables' => [
        'calendars' => [],
        'filters_form' => [],
        'has_permission' => FALSE,
      ],
    ],
    'content_calendar' => array(
      'variables' => array(
        'calendar' => array(),
        'node_type_creation_permissions' => array(),
      ),
    ),
    'content_calendar_entry' => [
      'variables' => [
        'node' => NULL,
        'node_type_config' => NULL,
        'calendar_id' => NULL,
        'month' => NULL,
        'year' => NULL,
        'user_picture' => NULL,
        'options' => [],
        'workflow_state' => NULL,
      ],
    ],
    'content_calendar_legend' => [
      'variables' => [
        'content_type_configs' => [],
      ],
    ],
    'content_calendar_jump_links' => [
      'variables' => [
        'months' => [],
        'year' => NULL,
      ],
    ],
    'recent_calendar_content' => [
      'variables' => [
        'last_nodes' => [],
        'next_nodes' => NULL,
      ],
    ],
  ];
}