20 lines
372 B
Plaintext
Raw Normal View History

2021-07-27 14:46:32 +02:00
<?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);
}
}