gatsby.install in Gatsby Live Preview & Incremental Builds 8
Same filename and directory in other branches
Install, update, and uninstall functions for the gatsby module.
File
gatsby.installView source
<?php
/**
* @file
* Install, update, and uninstall functions for the gatsby module.
*/
/**
* Implements hook_install().
*/
function gatsby_install() {
// Gatsby's hook_node_insert must run after all other modules have modified
// the entity.
module_set_weight('gatsby', 100);
}
Functions
Name | Description |
---|---|
gatsby_install | Implements hook_install(). |