You are here

function graphql_theme in GraphQL 8.3

Same name and namespace in other branches
  1. 8.4 graphql.module \graphql_theme()
  2. 8 graphql.module \graphql_theme()
  3. 8.2 graphql.module \graphql_theme()

Implements hook_theme().

File

./graphql.module, line 44

Code

function graphql_theme() {
  return [
    'page__graphql_explorer' => [
      'render element' => 'elements',
      'base hook' => 'block',
    ],
    'page__graphql_voyager' => [
      'render element' => 'elements',
      'base hook' => 'block',
    ],
  ];
}