2 * Implements hook_install_tasks_alter().
4 function {{ machine_name }}_install_tasks_alter(&$tasks, $install_state) {
5 // Replace the "Choose language" installation task provided by Drupal core
6 // with a custom callback function defined by this installation profile.
7 $tasks['install_select_locale']['function'] = 'myprofile_locale_selection';