views.install

Same filename and directory in other branches
  1. 9 core/modules/views/views.install
  2. 8.9.x core/modules/views/views.install
  3. 11.x 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

Title Deprecated Summary
views_install Implements hook_install().
views_update_last_removed Implements hook_update_last_removed().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.