You are here

function flipping_book_theme in Flipping Book 8

Implements hook_theme().

File

./flipping_book.module, line 32
Contains flipping_book.module..

Code

function flipping_book_theme() {
  $theme = [];
  $theme['flipping_book'] = array(
    'render element' => 'elements',
    'file' => 'flipping_book.page.inc',
    'template' => 'flipping_book',
  );
  $theme['flipping_book_content_add_list'] = [
    'render element' => 'content',
    'variables' => [
      'content' => NULL,
    ],
    'file' => 'flipping_book.page.inc',
  ];
  return $theme;
}