You are here

function classified_context_registry_alter in Classified Ads 6.3

Same name and namespace in other branches
  1. 7.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 788
A pure D6 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';
  }
}