function classified_context_registry_alter in Classified Ads 7.3
Same name and namespace in other branches
- 6.3 classified.module \classified_context_registry_alter()
Implements hook_context_registry_alter().
Override the default path condition plugin with our own.
File
- ./
classified.module, line 831 - A pure D7 classified ads module inspired by the ed_classified module.
Code
function classified_context_registry_alter(&$registry) {
if (!empty($registry['conditions']['path'])) {
$registry['conditions']['path']['plugin'] = 'classified_context_condition_classified';
}
}