diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-10-15 14:07:30 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-10-15 14:07:30 +0000 |
commit | f42bca3bd4a7b97e103ddba3fdb4e403f7215b2a (patch) | |
tree | 771d33dbec4ead4d7a3a20022dbbdd669bd32691 /modules/system/system.install | |
parent | dbac31e066a95983c6a20d9cf9c69f048bb12ead (diff) | |
download | brdo-f42bca3bd4a7b97e103ddba3fdb4e403f7215b2a.tar.gz brdo-f42bca3bd4a7b97e103ddba3fdb4e403f7215b2a.tar.bz2 |
- Patch #599804 by effulgentsia, catch: unify page, AJAX 'path', and AJAX 'callback' callbacks. Oh my, this is the beginning of something big.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r-- | modules/system/system.install | 15 |
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. */ |