Skip to content
Snippets Groups Projects
Commit aead8ca4 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2809635 by markconroy, navneet0693, alexpott, smaz, larowlan, Eli-T,...

Issue #2809635 by markconroy, navneet0693, alexpott, smaz, larowlan, Eli-T, webchick, yoroy, ikit-claw, budda, kjay, timmillwood, tkoleary, Gábor Hojtsy, andrewmacpherson, lauriii, JayKandari, jibran, ok_lyndsey, big_man, ckrina, nathancz, Paul_Gregory, vijaycs85, SharJay, tomphippen, tim.plunkett, Tarun Lewis, cehfisher, kreynen, Petr Illek, mariohernandez, thamas, thatdamnqa, John Cook, philipnorton42, h2cm, kattekrab, martin_q, waako: Create experimental installation profile
parent 47c2dda6
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Showing
with 389 additions and 18 deletions
......@@ -21,25 +21,20 @@ class SingleVisibleProfileTest extends InstallerTestBase {
*/
protected $profile = NULL;
/**
* The install profile info.
*
* @var array
*/
protected $info;
protected function setUp() {
$this->info = [
'type' => 'profile',
'core' => \Drupal::CORE_COMPATIBILITY,
'name' => 'Override standard',
'hidden' => TRUE,
];
// File API functions are not available yet.
$path = $this->siteDirectory . '/profiles/standard';
mkdir($path, 0777, TRUE);
file_put_contents("$path/standard.info.yml", Yaml::encode($this->info));
$profiles = ['standard', 'demo_umami'];
foreach ($profiles as $profile) {
$info = [
'type' => 'profile',
'core' => \Drupal::CORE_COMPATIBILITY,
'name' => 'Override ' . $profile,
'hidden' => TRUE,
];
// File API functions are not available yet.
$path = $this->siteDirectory . '/profiles/' . $profile;
mkdir($path, 0777, TRUE);
file_put_contents("$path/$profile.info.yml", Yaml::encode($info));
}
parent::setUp();
}
......
langcode: en
status: true
dependencies:
module:
- system
theme:
- umami
id: breadcrumbs
theme: umami
region: breadcrumbs
weight: 0
provider: null
plugin: system_breadcrumb_block
settings:
id: system_breadcrumb_block
label: Breadcrumbs
provider: system
label_display: '0'
visibility:
request_path:
id: request_path
pages: '<front>'
negate: true
context_mapping: { }
langcode: en
status: true
dependencies:
module:
- help
theme:
- umami
id: help
theme: umami
region: highlighted
weight: 0
provider: null
plugin: help_block
settings:
id: help_block
label: Help
provider: help
label_display: '0'
visibility: { }
langcode: en
status: true
dependencies:
module:
- system
theme:
- seven
id: seven_breadcrumbs
theme: seven
region: breadcrumb
weight: 0
provider: null
plugin: system_breadcrumb_block
settings:
id: system_breadcrumb_block
label: Breadcrumbs
provider: system
label_display: '0'
visibility: { }
langcode: en
status: true
dependencies:
module:
- system
theme:
- seven
id: seven_content
theme: seven
region: content
weight: 0
provider: null
plugin: system_main_block
settings:
id: system_main_block
label: 'Main page content'
provider: system
label_display: '0'
visibility: { }
langcode: en
status: true
dependencies:
module:
- help
theme:
- seven
id: seven_help
theme: seven
region: help
weight: 0
provider: null
plugin: help_block
settings:
id: help_block
label: Help
provider: help
label_display: '0'
visibility: { }
langcode: en
status: true
dependencies:
theme:
- seven
id: seven_local_actions
theme: seven
region: content
weight: -10
provider: null
plugin: local_actions_block
settings:
id: local_actions_block
label: 'Primary admin actions'
provider: core
label_display: '0'
visibility: { }
langcode: en
status: true
dependencies:
module:
- user
theme:
- seven
id: seven_login
theme: seven
region: content
weight: 10
provider: null
plugin: user_login_block
settings:
id: user_login_block
label: 'User login'
provider: user
label_display: visible
visibility: { }
langcode: en
status: true
dependencies:
module:
- system
theme:
- seven
id: seven_messages
theme: seven
region: highlighted
weight: 0
provider: null
plugin: system_messages_block
settings:
id: system_messages_block
label: 'Status messages'
provider: system
label_display: '0'
visibility: { }
langcode: en
status: true
dependencies:
theme:
- seven
id: seven_page_title
theme: seven
region: header
weight: -30
provider: null
plugin: page_title_block
settings:
id: page_title_block
label: 'Page title'
provider: core
label_display: '0'
visibility: { }
langcode: en
status: true
dependencies:
theme:
- seven
id: seven_primary_local_tasks
theme: seven
region: header
weight: 0
provider: null
plugin: local_tasks_block
settings:
id: local_tasks_block
label: 'Primary tabs'
provider: core
label_display: '0'
primary: true
secondary: false
visibility: { }
langcode: en
status: true
dependencies:
theme:
- seven
id: seven_secondary_local_tasks
theme: seven
region: pre_content
weight: 0
provider: null
plugin: local_tasks_block
settings:
id: local_tasks_block
label: 'Secondary tabs'
provider: core
label_display: '0'
primary: false
secondary: true
visibility: { }
langcode: en
status: true
dependencies:
config:
- system.menu.account
module:
- system
theme:
- umami
id: umami_account_menu
theme: umami
region: header
weight: -4
provider: null
plugin: 'system_menu_block:account'
settings:
id: 'system_menu_block:account'
label: 'User account menu'
provider: system
label_display: '0'
level: 1
depth: 1
visibility: { }
langcode: en
status: true
dependencies:
module:
- system
theme:
- umami
id: umami_branding
theme: umami
region: header
weight: -8
provider: null
plugin: system_branding_block
settings:
id: system_branding_block
label: 'Site branding'
provider: system
label_display: '0'
use_site_logo: true
use_site_name: true
use_site_slogan: true
visibility: { }
langcode: en
status: true
dependencies:
module:
- system
theme:
- umami
id: umami_content
theme: umami
region: content
weight: -7
provider: null
plugin: system_main_block
settings:
id: system_main_block
label: 'Main page content'
provider: system
label_display: '0'
visibility: { }
langcode: en
status: true
dependencies:
config:
- system.menu.footer
module:
- system
theme:
- umami
id: umami_footer
theme: umami
region: footer
weight: 0
provider: null
plugin: 'system_menu_block:footer'
settings:
id: 'system_menu_block:footer'
label: 'Tell us what you think'
provider: system
label_display: '1'
level: 1
depth: 0
visibility: { }
langcode: en
status: true
dependencies:
theme:
- umami
id: umami_local_tasks
theme: umami
region: tabs
weight: -7
provider: null
plugin: local_tasks_block
settings:
id: local_tasks_block
label: Tabs
provider: core
label_display: '0'
primary: true
secondary: true
visibility: { }
langcode: en
status: true
dependencies:
config:
- system.menu.main
module:
- system
theme:
- umami
id: umami_main_menu
theme: umami
region: header
weight: -8
provider: null
plugin: 'system_menu_block:main'
settings:
id: 'system_menu_block:main'
label: 'Main navigation'
provider: system
label_display: '0'
level: 1
depth: 1
visibility: { }
langcode: en
status: true
dependencies:
module:
- system
theme:
- umami
id: umami_messages
theme: umami
region: highlighted
weight: -8
provider: null
plugin: system_messages_block
settings:
id: system_messages_block
label: 'Status messages'
provider: system
label_display: '0'
visibility: { }
langcode: en
status: true
dependencies:
theme:
- umami
id: umami_page_title
theme: umami
region: page_title
weight: -7
provider: null
plugin: page_title_block
settings:
id: page_title_block
label: 'Page title'
provider: core
label_display: '0'
visibility: { }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment