You are here

function domain_theme_batch_lookup in Domain Access 7.2

Same name and namespace in other branches
  1. 7.3 domain_theme/domain_theme.domain.inc \domain_theme_batch_lookup()

Return a theme setting for batch processing.

Parameters

$domain: The domain being processed.

Return value

A valid theme name or -1 on failure.

1 string reference to 'domain_theme_batch_lookup'
domain_theme_domainbatch in domain_theme/domain_theme.module
Implements hook_domainbatch()

File

domain_theme/domain_theme.module, line 288
Domain Theme module for the Domain Access module group.

Code

function domain_theme_batch_lookup($domain) {
  $theme = domain_theme_lookup($domain['domain_id']);
  if (isset($theme['theme'])) {
    return $theme['theme'];
  }
  return -1;
}