Closed (fixed)
Project:
Domain
Version:
5.x-1.0beta3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
6 Oct 2007 at 17:35 UTC
Updated:
17 Dec 2007 at 23:07 UTC
Are you developing for Domain Access? Trying to add a new feature?
Use this issue to request new hooks!
Comments
Comment #1
agentrickardAbout to commit another sub-module, which creates navigation block for moving from domain to domain.
Introduces function
hook_domainlist(), which allows for the insertion of additional data for theming.Comment #2
agentrickardhook_domainlist() renamed as hook_domainnav().
Comment #3
agentrickardhook_domainrecord() renamed hook_domaunupdate.
Two new (useful) hooks to let submodules overwrite default node access behaviors.
hook_domainrecords() -- alter the $grants array before saving a node.
hook_domaingrants() -- alter the $grants array before loading a node.
These hooks open the door for a domain_og() module to integrate the access control rules for the two systems.
Comment #4
agentrickardThere is a need for a domaincron() hook that can be used to fire a single cron function for all active domains.
The hook has been scoped and should be in beta4.
It is possible, by the way, that we might want to use a custom domain cron hook instead of the default cron.php. The issue of how cron interacts with Domain Access needs investigation.
Comment #5
agentrickardAdded hook_domainload() to allow submodules to modify the $domain array.
Comment #6
agentrickardSee API.php in the download or http://therickards.com/api