Skip to content
Snippets Groups Projects
Commit 453569e7 authored by Angie Byron's avatar Angie Byron
Browse files

#539442 by deekayen: Re-order functions in trigger.install so schema comes first.

parent b5674375
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -6,14 +6,6 @@ ...@@ -6,14 +6,6 @@
* Install, update and uninstall functions for the trigger module. * Install, update and uninstall functions for the trigger module.
*/ */
/**
* Implement hook_install().
*/
function trigger_install() {
// Do initial synchronization of actions in code and the database.
actions_synchronize();
}
/** /**
* Implement hook_schema(). * Implement hook_schema().
*/ */
...@@ -50,6 +42,14 @@ function trigger_schema() { ...@@ -50,6 +42,14 @@ function trigger_schema() {
return $schema; return $schema;
} }
/**
* Implement hook_install().
*/
function trigger_install() {
// Do initial synchronization of actions in code and the database.
actions_synchronize();
}
/** /**
* Adds operation names to the hook names and drops the "op" field. * Adds operation names to the hook names and drops the "op" field.
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment