summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-12-02 07:28:22 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-12-02 07:28:22 +0000
commitc912008307dd49b5e3e85c78069153f2f9f70411 (patch)
tree6e219858505bd38130a7d679488d3a41e689ce1d /modules/node/node.module
parentcfc96df9a7181526cb1c71cf4e39886026c668fe (diff)
downloadbrdo-c912008307dd49b5e3e85c78069153f2f9f70411.tar.gz
brdo-c912008307dd49b5e3e85c78069153f2f9f70411.tar.bz2
#610234 by Gábor Hojtsy, ksenzee, cwgordon7, David_Rothstein, seutje, marcvangend, sun, JoshuaRogers, markus_petrux, Bojhan, Rob Loach, Everett Zufelt, drifter, markboulton, leisareichelt, et al: Added Overlay module to core, which shows administrative pages in a JS overlay, retaining context on the front-end site.
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index d91139f83..24ca6c4c3 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -247,6 +247,20 @@ function node_field_build_modes($obj_type) {
}
/**
+ * Implement hook_admin_paths().
+ */
+function node_admin_paths() {
+ $paths = array(
+ 'node/*/add' => TRUE,
+ 'node/*/edit' => TRUE,
+ 'node/*/delete' => TRUE,
+ 'node/add' => TRUE,
+ 'node/add/*' => TRUE,
+ );
+ return $paths;
+}
+
+/**
* Gather a listing of links to nodes.
*
* @param $result