You are here

function gatsby_instantpreview_post_update_001 in Gatsby Live Preview & Incremental Builds 8

Same name and namespace in other branches
  1. 2.0.x modules/gatsby_instantpreview/gatsby_instantpreview.post_update.php \gatsby_instantpreview_post_update_001()

Updates the module weight to 100.

File

modules/gatsby_instantpreview/gatsby_instantpreview.post_update.php, line 11
Post update functions for the gatsby module.

Code

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);
}