standard.install

Same filename and directory in other branches
  1. 10 core/profiles/standard/standard.install
  2. 11.x core/profiles/standard/standard.install
  3. 9 core/profiles/standard/standard.install
  4. 8.9.x core/profiles/standard/standard.install
  5. 7.x profiles/standard/standard.install

Install, update and uninstall hooks for the Standard profile.

File

core/profiles/standard/standard.install

View source
<?php


/**
 * @file
 * Install, update and uninstall hooks for the Standard profile.
 */


/**
 * Implements hook_install().
 */
function standard_install() : void {
  // Mark fresh Standard installs so updated sites don't get the welcome page.
  \Drupal::state()->set('standard.show_welcome', TRUE);
}

Functions

Title Deprecated Summary
standard_install Implements hook_install().

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