function domain_domaininstall in Domain Access 5
Same name and namespace in other branches
- 6.2 domain.module \domain_domaininstall()
- 7.2 domain.module \domain_domaininstall()
Implement hook_domaininstall()
File
- ./
domain.module, line 1311 - Core module functions for the Domain Access suite.
Code
function domain_domaininstall() {
// Check to see if the hook_url_alter() patch is installed.
if (url('domain_access_test_path') != url('domain_access_path_test')) {
drupal_set_message(t('The <em>custom_url_rewrite_outbound()</em> patch is not installed. Some features are not available. See the Patches to Drupal Core section of <a href="!url">INSTALL.txt</a>', array(
'!url' => base_path() . drupal_get_path('module', 'domain') . '/INSTALL.txt',
)));
}
}