function rules_condition_path_has_alias

Condition implementation: Check if the path has an alias.

Related topics

1 string reference to 'rules_condition_path_has_alias'
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 66

Code

function rules_condition_path_has_alias($source, $langcode = LANGUAGE_NONE) {
    return (bool) drupal_lookup_path('alias', $source, $langcode);
}