tvi.install in Taxonomy Views Integrator 8
Same filename and directory in other branches
Install, update, and uninstall functions for the tvi module.
File
tvi.installView 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
Name | Description |
---|---|
tvi_install | Implements hook_install(). |