panopoly_theme.profile.inc in Panopoly Theme 8.2
Same filename and directory in other branches
Provides an install task for selection a default theme.
File
panopoly_theme.profile.incView source
<?php
/**
* @file
* Provides an install task for selection a default theme.
*/
use Drupal\panopoly_theme\Form\PanopolyThemeSelectionForm;
/**
* Adds an install task to allow selection of the theme.
*/
function panopoly_theme_profile_theme_selection_install_task(&$install_task) {
$tasks[PanopolyThemeSelectionForm::class] = [
'display_name' => t('Choose a theme'),
'type' => 'form',
];
return $tasks;
}
Functions
Name | Description |
---|---|
panopoly_theme_profile_theme_selection_install_task | Adds an install task to allow selection of the theme. |