function rules_condition_path_alias_exists
Condition implementation: Check if the URL alias exists.
Related topics
1 string reference to 'rules_condition_path_alias_exists'
- rules_path_condition_info in modules/
path.rules.inc - Implements hook_rules_condition_info() on behalf of the path module.
File
-
modules/
path.eval.inc, line 73
Code
function rules_condition_path_alias_exists($alias, $langcode = LANGUAGE_NONE) {
return (bool) drupal_lookup_path('source', $alias, $langcode);
}