You are here

function domain_batch_actions in Domain Access 7.3

Defines batch operations for domain settings.

Return value

An array of elements defined by hook_domain_batch().

3 calls to domain_batch_actions()
DomainHookTest::testDomainHooks in tests/domain.test
domain_batch in ./domain.admin.inc
Allows for the batch update of certain elements.
domain_conf_form in domain_conf/domain_conf.admin.inc
Custom form to generate domain-specific site settings.

File

./domain.module, line 4125
Core module functions for the Domain Access suite.

Code

function domain_batch_actions() {
  $batch =& drupal_static(__FUNCTION__);
  if (!empty($batch)) {
    return $batch;
  }

  // Get all implementations.
  $batch = module_invoke_all('domain_batch');

  // Allow modules to alter the list.
  drupal_alter('domain_batch', $batch);
  return $batch;
}