You are here

function gatsby_instantpreview_install in Gatsby Live Preview & Incremental Builds 8

Same name and namespace in other branches
  1. 2.0.x modules/gatsby_instantpreview/gatsby_instantpreview.install \gatsby_instantpreview_install()

Implements hook_install().

File

modules/gatsby_instantpreview/gatsby_instantpreview.install, line 11
Install, update, and uninstall functions for the gatsby module.

Code

function gatsby_instantpreview_install() {

  // Gatsby's hook_node_insert must run after all other modules have modified
  // the entity.
  module_set_weight('gatsby_instantpreview', 100);
}