You are here

function search_api_theme in Search API 8

Same name and namespace in other branches
  1. 7 search_api.module \search_api_theme()

Implements hook_theme().

File

./search_api.module, line 316
Provides a rich framework for creating searches.

Code

function search_api_theme() {
  return [
    'search_api_admin_fields_table' => [
      'render element' => 'element',
    ],
    'search_api_admin_data_type_table' => [
      'variables' => [
        'data_types' => [],
        'fallback_mapping' => [],
        'table' => NULL,
      ],
    ],
    'search_api_form_item_list' => [
      'render element' => 'element',
    ],
    'search_api_server' => [
      'variables' => [
        'server' => NULL,
        'server_info_table' => NULL,
        'description' => NULL,
      ],
    ],
    'search_api_index' => [
      'variables' => [
        'index' => NULL,
        'server_count' => NULL,
        'server_count_error' => NULL,
        'index_process' => NULL,
        'description' => NULL,
        'table' => NULL,
      ],
    ],
  ];
}