You are here

build_hooks_netlify.install in Build Hooks 8.2

Same filename and directory in other branches
  1. 3.x modules/build_hooks_netlify/build_hooks_netlify.install

Contains install and update hooks.

File

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

/**
 * @file
 * Contains install and update hooks.
 */

/**
 * Update netlify configuration
 */
function build_hooks_netlify_update_8201(&$sandbox) {
  $config_factory = \Drupal::configFactory();
  $config_factory
    ->rename('build_hooks_netlify.netlifyConfig', 'build_hooks_netlify.settings');
}

Functions

Namesort descending Description
build_hooks_netlify_update_8201 Update netlify configuration