You are here

function hook_domain_batch_alter in Domain Access 7.3

Allow modules to modify the batch editing functions.

Parameters

&$batch: An array of batch editing functions, passed by reference.

Return value

No return value. Modify $batch by reference.

See also

drupal_alter()

1 function implements hook_domain_batch_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

domain_test_domain_batch_alter in tests/domain_test.domain.inc
Implements hook_domain_batch_alter().
1 invocation of hook_domain_batch_alter()
domain_batch_actions in ./domain.module
Defines batch operations for domain settings.

File

./domain.api.php, line 499
API documentation file.

Code

function hook_domain_batch_alter(&$batch) {

  // Rename 'Put site into maintenance mode'.
  $batch['maintenance_mode']['#form']['#title'] = t('Take site offline');
}