You are here

function patterns_utils_is_public_page_enabled in Patterns 7.2

Same name and namespace in other branches
  1. 7 includes/utils.inc \patterns_utils_is_public_page_enabled()

Checks whether the public patterns page has been enabled.

Return value

Bool TRUE, if a valid url was specified for the public patterns page.

1 call to patterns_utils_is_public_page_enabled()
patterns_menu in ./patterns.module
Implements hook_menu().

File

includes/utils.inc, line 197
Collectiion of general purpose functions.

Code

function patterns_utils_is_public_page_enabled() {
  return variable_get('patterns_public_url', '') != '' ? TRUE : FALSE;
}