standard_install()
Implements hook_install().
Perform actions to set up the site for this profile.
See also
system_install()
File
core/profiles/standard/standard.install, line 19 Install, update and uninstall functions for the standard installation profile.
Code
function standard_install() {
// Set front page to "node".
\Drupal::configFactory()->getEditable('system.site')->set('page.front', '/node')->save(TRUE);
// Allow visitor account creation with administrative approval.