You are here

gatsby_instantpreview.install in Gatsby Live Preview & Incremental Builds 8

Same filename and directory in other branches
  1. 2.0.x modules/gatsby_instantpreview/gatsby_instantpreview.install

Install, update, and uninstall functions for the gatsby module.

File

modules/gatsby_instantpreview/gatsby_instantpreview.install
View source
<?php

/**
 * @file
 * Install, update, and uninstall functions for the gatsby module.
 */

/**
 * Implements hook_install().
 */
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);
}

Functions

Namesort descending Description
gatsby_instantpreview_install Implements hook_install().