template_preprocess_page

Functions called by template_preprocess_page()

Namesort iconLocationDescription
argdrupal/includes/path.incReturn a component of the current Drupal path.
base_pathdrupal/includes/common.incReturns the base URL path of the Drupal installation. At the very least, this will always default to /.
check_urldrupal/includes/common.incPrepare a URL for use in an HTML attribute. Strips harmful protocols.
drupal_add_cssdrupal/includes/common.incAdds a CSS file to the stylesheet queue.
drupal_get_breadcrumbdrupal/includes/common.incGet the breadcrumb trail for the current page.
drupal_get_cssdrupal/includes/common.incReturns a themed representation of all stylesheets that should be attached to the page.
drupal_get_feedsdrupal/includes/common.incGet the feed URLs for the current page.
drupal_get_formdrupal/includes/form.incRetrieves a form from a constructor function, or from the cache if the form was built in a previous page-load. The form is then passed on for processing, after and rendered for display if necessary.
drupal_get_html_headdrupal/includes/common.incRetrieve output to be displayed in the head tag of the HTML page.
drupal_get_jsdrupal/includes/common.incReturns a themed presentation of all JavaScript code for the current page.
drupal_get_rdf_namespacesdrupal/includes/common.incReturn a string containing RDF namespaces for the <html> tag of an XHTML page.
drupal_get_titledrupal/includes/path.incGet the title of the current page, for display on the page and in the title bar.
drupal_is_front_pagedrupal/includes/path.incCheck if the current page is the front page.
drupal_set_html_headdrupal/includes/common.incAdd output to the head tag of the HTML page.
drupal_strtolowerdrupal/includes/unicode.incLowercase a UTF-8 string.
filter_xss_admindrupal/modules/filter/filter.moduleVery permissive XSS/HTML filter for admin-only use.
form_clean_iddrupal/includes/form.incPrepare an HTML ID attribute string for a form item.
menu_get_objectdrupal/includes/menu.incGet a loaded object from a router item.
menu_main_menudrupal/includes/menu.incReturn an array of links to be rendered as the Main menu.
menu_secondary_menudrupal/includes/menu.incReturn an array of links to be rendered as the Secondary links.
node_loaddrupal/modules/node/node.moduleLoad a node object from the database.
system_region_listdrupal/modules/system/system.moduleGet a list of available regions from a specified theme.
themedrupal/includes/theme.incGenerate the themed output.
theme_get_settingdrupal/includes/theme.incRetrieve a setting for the current theme. This function is designed for use from within themes & engines to determine theme settings made in the admin interface.
urldrupal/includes/common.incGenerate a URL from a Drupal menu path. Will also pass-through existing URLs.
variable_getdrupal/includes/bootstrap.incReturn a persistent variable.