function domain_theme_batch_lookup in Domain Access 7.3
Same name and namespace in other branches
- 7.2 domain_theme/domain_theme.module \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_domain_batch in domain_theme/
domain_theme.domain.inc - Implements hook_domain_batch().
File
- domain_theme/
domain_theme.domain.inc, line 98 - Domain hooks for Domain Theme.
Code
function domain_theme_batch_lookup($domain) {
$theme = domain_theme_lookup($domain['domain_id']);
if (isset($theme['theme'])) {
return $theme['theme'];
}
return -1;
}