You are here

function panopoly_theme_profile_theme_selection_install_task in Panopoly Theme 8.2

Same name and namespace in other branches
  1. 7 panopoly_theme.profile.inc \panopoly_theme_profile_theme_selection_install_task()

Adds an install task to allow selection of the theme.

File

./panopoly_theme.profile.inc, line 13
Provides an install task for selection a default theme.

Code

function panopoly_theme_profile_theme_selection_install_task(&$install_task) {
  $tasks[PanopolyThemeSelectionForm::class] = [
    'display_name' => t('Choose a theme'),
    'type' => 'form',
  ];
  return $tasks;
}