You are here

views.install in Drupal 9

Same filename and directory in other branches
  1. 8 core/modules/views/views.install
  2. 10 core/modules/views/views.install

Contains install and update functions for Views.

File

core/modules/views/views.install
View source
<?php

/**
 * @file
 * Contains install and update functions for Views.
 */

/**
 * Implements hook_install().
 */
function views_install() {
  module_set_weight('views', 10);
}

/**
 * Implements hook_update_last_removed().
 */
function views_update_last_removed() {
  return 8500;
}

Functions