1 system.pages.inc system_token_browser_output($page_callback_result)

Token browser JSON endpoint delivery callback.

@since 1.30.0 Function added.

File

core/modules/system/system.pages.inc, line 89
System module non-administrative page callbacks.

Code

function system_token_browser_output($page_callback_result) {
  if (is_int($page_callback_result)) {
    backdrop_deliver_html_page($page_callback_result);
  }
  elseif (isset($page_callback_result)) {
    backdrop_json_output($page_callback_result);
  }
  else {
    backdrop_page_header();
    backdrop_page_footer();
  }
}