1 drupal.inc drupal_is_front_page()

Check if the current page is the front page.

Deprecated

since 1.0.0

See also

backdrop_is_front_page()

Related topics

File

core/includes/drupal.inc, line 2194
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function drupal_is_front_page() {
  watchdog_deprecated_function('drupal', __FUNCTION__);
  return backdrop_is_front_page();
}