You are here

function features_install in Features 7

Same name and namespace in other branches
  1. 6 features.install \features_install()
  2. 7.2 features.install \features_install()

Implements hook_install().

File

./features.install, line 11
Install, update and uninstall functions for the features module.

Code

function features_install() {
  _features_install_menu();
  db_update('system')
    ->fields(array(
    'weight' => 20,
  ))
    ->condition('name', 'features')
    ->condition('type', 'module')
    ->execute();
}