function rules_condition_url_has_alias in Rules 6
Condition implementation: Check if the path has an alias
Related topics
File
- rules/
modules/ path.rules.inc, line 32 - Rules integration for the path module
Code
function rules_condition_url_has_alias($settings) {
return (bool) drupal_lookup_path('alias', $settings['src'], $settings['language']);
}