function standard_install

Same name and namespace in other branches
  1. 10 core/profiles/standard/standard.install \standard_install()
  2. 11.x core/profiles/standard/standard.install \standard_install()
  3. 9 core/profiles/standard/standard.install \standard_install()
  4. 8.9.x core/profiles/standard/standard.install \standard_install()
  5. 7.x profiles/standard/standard.install \standard_install()

Implements hook_install().

File

core/profiles/standard/standard.install, line 11

Code

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

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