You are here

tvi.install in Taxonomy Views Integrator 8

Same filename and directory in other branches
  1. 6 tvi.install
  2. 7 tvi.install

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

File

tvi.install
View source
<?php

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

/**
 * Implements hook_install().
 */
function tvi_install() {
  $extension_config = \Drupal::configFactory()
    ->getEditable('core.extension');
  if (($views_weight = $extension_config
    ->get("module.views")) !== NULL) {
    module_set_weight('tvi', $views_weight + 5);
  }
}

Functions

Namesort descending Description
tvi_install Implements hook_install().