summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 47bc3a968..3c3fc0c71 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -1005,6 +1005,13 @@ function system_schema() {
'type' => 'text',
'not null' => FALSE,
),
+ 'delivery_callback' => array(
+ 'description' => 'The name of the function that sends the result of the page_callback function to the browser.',
+ 'type' => 'varchar',
+ 'length' => 255,
+ 'not null' => TRUE,
+ 'default' => '',
+ ),
'fit' => array(
'description' => 'A numeric representation of how specific the path is.',
'type' => 'int',
@@ -2726,6 +2733,14 @@ function system_update_7040() {
}
/**
+ * Adds 'delivery_callback' field to the {menu_router} table to allow a custom
+ * function to be used for final page rendering and sending to browser.
+ */
+function system_update_7041() {
+ db_add_field('menu_router', 'delivery_callback', array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => ''));
+}
+
+/**
* @} End of "defgroup updates-6.x-to-7.x"
* The next series of updates should start at 8000.
*/