gatsby_instantpreview.post_update.php in Gatsby Live Preview & Incremental Builds 2.0.x
Same filename and directory in other branches
Post update functions for the gatsby module.
File
modules/gatsby_instantpreview/gatsby_instantpreview.post_update.phpView source
<?php
/**
* @file
* Post update functions for the gatsby module.
*/
/**
* Updates the module weight to 100.
*/
function gatsby_instantpreview_post_update_001() {
// Gatsby's hook_node_insert must run after all other modules have modified
// the entity.
module_set_weight('gatsby', 100);
}
Functions
Name | Description |
---|---|
gatsby_instantpreview_post_update_001 | Updates the module weight to 100. |