diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-17 05:50:29 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-17 05:50:29 +0000 |
commit | 4278afa16bb46819975f95fe91021edcb852ca47 (patch) | |
tree | 736530aa01cbf453813a68b505b5532a2d6597fa /modules/system/system.install | |
parent | 29067790f1295bd657343da8eba6722d6824d15a (diff) | |
download | brdo-4278afa16bb46819975f95fe91021edcb852ca47.tar.gz brdo-4278afa16bb46819975f95fe91021edcb852ca47.tar.bz2 |
#473268 by David_Rothstein, sun, yoroy, Gábor Hojtsy, cwgordon7, et al.: Allow contextual editing of dang near everything on the page. Also adds a context system to menu local tasks.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r-- | modules/system/system.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index bf73bda9b..66901ef4b 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -1026,6 +1026,12 @@ function system_schema() { 'default' => 0, 'size' => 'small', ), + 'context' => array( + 'description' => 'Only for local tasks (tabs) - the context of a local task to control its placement.', + 'type' => 'int', + 'not null' => TRUE, + 'default' => 0, + ), 'tab_parent' => array( 'description' => 'Only for local tasks (tabs) - the router path of the parent page (which may also be a local task).', 'type' => 'varchar', @@ -2758,6 +2764,18 @@ function system_update_7042() { } /** + * Add a 'context' field to {menu_router} to control contextual placement of local tasks. + */ +function system_update_7043() { + db_add_field('menu_router', 'context', array( + 'description' => 'Only for local tasks (tabs) - the context of a local task to control its placement.', + 'type' => 'int', + 'not null' => TRUE, + 'default' => 0, + )); +} + +/** * @} End of "defgroup updates-6.x-to-7.x" * The next series of updates should start at 8000. */ |