1 system.pages.inc system_token_browser_access()

Token browser JSON endpoint access callback.

@since 1.30.0 Function added.

File

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

Code

function system_token_browser_access() {
  return isset($_GET['token']) && backdrop_valid_token($_GET['token'], 'token-browser-endpoint');
}