You are here

function hook_registration_event_count_alter in Entity Registration 7

Same name and namespace in other branches
  1. 8.2 registration.api.php \hook_registration_event_count_alter()
  2. 8 registration.api.php \hook_registration_event_count_alter()
  3. 7.2 registration.api.php \hook_registration_event_count_alter()

Allow modules to override event count.

This can impact access control and the ability for users to register.

Parameters

int $count:

array $context: array( 'entity_type' => $entity_type, 'entity_id' => $entity_id, 'registration_id' => $registration_id, 'settings' => $settings, );

1 invocation of hook_registration_event_count_alter()
registration_event_count in ./registration.module
Determines current number of spaces filled for a host entity.

File

./registration.api.php, line 58
API documentation for Relation module.

Code

function hook_registration_event_count_alter(&$count, $context) {
}