function workflow_extensions_install in Workflow Extensions 7
Same name and namespace in other branches
- 6 workflow_extensions.install \workflow_extensions_install()
Implements hook_install().
File
- ./
workflow_extensions.install, line 11 - Install and uninstall hooks for Workflow Extensions module.
Code
function workflow_extensions_install() {
// Patch by galaxor: [#1346078]
// Weight should be a higher weight than Noderelationships module. That way
// it can grab the submit handlers when dealing with a form in a modalframe.
// If we don't get that handler, the modalframe won't close.
db_update('system')
->fields(array(
'weight' => 2,
))
->condition('name', 'workflow_extensions')
->execute();
}