Closed (works as designed)
Project:
Domain
Version:
7.x-3.x-dev
Component:
- Domain Content
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2010 at 14:29 UTC
Updated:
1 Aug 2011 at 13:17 UTC
Jump to comment: Most recent file
Comments
Comment #1
agentrickardDeprecated:
hook_domainrecords() use hook_node_grants_alter()
hook_domaingrants() use hook_node_access_records_alter()
These are now core features. Be careful when using hook_node_access_records_alter() that you are now responsible for updating the {domain_access} table properly, as that table will be populated before your hook fires.
Comment #2
agentrickardhook_domainview() has changed to match the new database layer.
Comment #3
agentrickardUse
$_domain = domain_get_domain();instead ofglobal $_domain;whenever you need to access the $_domain global in READ-ONLY mode.Comment #4
agentrickardBig patch that cleans up API hooks and introduces the use of $module.domain.inc files.
Needs some documentation, perhaps.
Committed to HEAD.
HEAD and 7.x.2 branch are now incompatible.
Comment #5
agentrickardComment #6
agentrickardDEPRECATED:
hook_domainview()
hook_domainlinks()
Menu callbacks for domain subtasks are now MENU_LOCAL_TASK or the path /admin/structure/domain/view/%domain/YOURMODULE
Comment #7
pillarsdotnet commentedI hope this is the right place to post this.
Following patch applies to 7.x-3.x-dev checkout and moves paths from
admin/domain/contenttoadmin/structure/domain/contentComment #8
agentrickardThat would be a separate issue, and for me, those paths are correct. I intend to have a top-level admin item there.
Even so, /structure would be the wrong path here.
This issue can probably be closed. It was designed to warn other developers about API changes.