You are here

function ajax_links_api_theme in Ajaxify Drupal with JQuery Ajax 8

Same name and namespace in other branches
  1. 6 ajax_links_api.module \ajax_links_api_theme()
  2. 7 ajax_links_api.module \ajax_links_api_theme()

Implements hook_theme().

File

./ajax_links_api.module, line 70
Make any links or create new links via jQuery Ajax.

Code

function ajax_links_api_theme() {
  return array(
    'page__ajax' => array(
      'render element' => 'elements',
      'base hook' => 'page',
    ),
    'html__ajax' => array(
      'render element' => 'html',
      'base hook' => 'html',
    ),
  );
}