You are here

function is_adminpage in Back To Top 7

Same name and namespace in other branches
  1. 8 back_to_top.module \is_adminpage()
  2. 2.x back_to_top.module \is_adminpage()

Check if page viewed is in admin section or a node/edit for possible option to not include javascript and css in that case.

1 call to is_adminpage()
back_to_top_page_build in ./back_to_top.module
Implements hook_page_build().

File

./back_to_top.module, line 265
Back To Top link using JQuery.

Code

function is_adminpage() {
  return path_is_admin(current_path());
}