shortcut_preprocess_page_title
function shortcut_preprocess_page_title
shortcut_preprocess_page_title(&$variables)
Implements hook_preprocess_HOOK() for page title templates.
File
- core/modules/shortcut/shortcut.module, line 303
- Allows users to manage customizable lists of shortcut links.
Code
function shortcut_preprocess_page_title(&$variables) { // Only display the shortcut link if the user has the ability to edit // shortcuts and if the page's actual content is being shown (for example, // we do not want to display it on "access denied" or "page not found" // pages). if (shortcut_s