function panopoly_theme_profile_theme_selection_install_task in Panopoly 8.2
Same name and namespace in other branches
- 7 modules/panopoly/panopoly_theme/panopoly_theme.profile.inc \panopoly_theme_profile_theme_selection_install_task()
Adds an install task to allow selection of the theme.
1 call to panopoly_theme_profile_theme_selection_install_task()
- panopoly_install_tasks in ./
panopoly.install - Implements hook_install_tasks().
File
- modules/
panopoly/ panopoly_theme/ 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;
}