Domain hook functions

Core hooks for the Domain module suite.

Functions

NameLocationDescription
hook_domain_batchcontrib-7/domain/API.phpAllows modules to expose batch editing functions.
hook_domain_confcontrib-7/domain/API.phpAllows modules to add additional form elements for saving as domain-specific settings.
hook_domain_croncontrib-7/domain/API.phpEnables Domain Access modules to fire cron hooks across all active domains.
hook_domain_insertcontrib-7/domain/API.phpNotify other modules that we have created a new domain.
hook_domain_installcontrib-7/domain/API.phpSome Domain modules require that settings.php be edited to add additional files during the bootstrap process.
hook_domain_linkcontrib-7/domain/API.phpReturns links to additional functions for the Domain Access module's admin screen
hook_domain_loadcontrib-7/domain/API.phpNotifies other modules that we are loading a domain record from the database.
hook_domain_navcontrib-7/domain/API.phpEnables modules to add additional parameters to the $domain array for use by the Domain Navigation module.
hook_domain_pathcontrib-7/domain/API.phpAllows modules to alter path when rewriting URLs.
hook_domain_updatecontrib-7/domain/API.phpNotify other modules that we have updated a domain.
hook_domain_viewcontrib-7/domain/API.phpAllows Domain modules to add columns to the domain list view at path 'admin/config/domain/view'.
hook_domain_warningcontrib-7/domain/API.phpAllows a warning message to be printed when entering specific forms that may have values that vary on each domain.

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options