5 * Install, update and uninstall functions for the minimal installation profile.
9 * Implements hook_install().
11 * Performs actions to set up the site for this profile.
13 * @see system_install()
15 function minimal_install() {
16 // Disable the user pictures on nodes.
17 \Drupal::configFactory()->getEditable('system.theme.global')->set('features.node_user_picture', FALSE)->save(TRUE);
19 // Allow visitor account creation, but with administrative approval.
20 \Drupal::configFactory()->getEditable('user.settings')->set('register', USER_REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL)->save(TRUE);