updated core from 8.4 to 8.5 : bug with login_destination
This commit is contained in:
+4
-1
@@ -51,7 +51,10 @@ content:
|
||||
type: entity_reference_autocomplete_tags
|
||||
weight: 3
|
||||
region: content
|
||||
settings: { }
|
||||
settings:
|
||||
match_operator: CONTAINS
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
path:
|
||||
type: path
|
||||
|
||||
+3
-3
@@ -55,6 +55,6 @@ content:
|
||||
links:
|
||||
weight: 100
|
||||
region: content
|
||||
hidden:
|
||||
field_image: true
|
||||
field_tags: true
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
hidden: { }
|
||||
|
||||
@@ -12,7 +12,7 @@ entity_type: node
|
||||
bundle: article
|
||||
label: Comments
|
||||
description: ''
|
||||
required: true
|
||||
required: false
|
||||
translatable: true
|
||||
default_value:
|
||||
-
|
||||
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.media.audio.field_media_audio_file
|
||||
- media.type.audio
|
||||
module:
|
||||
- file
|
||||
- path
|
||||
id: media.audio.default
|
||||
targetEntityType: media
|
||||
bundle: audio
|
||||
mode: default
|
||||
content:
|
||||
created:
|
||||
type: datetime_timestamp
|
||||
weight: 3
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
field_media_audio_file:
|
||||
weight: 0
|
||||
settings:
|
||||
progress_indicator: throbber
|
||||
third_party_settings: { }
|
||||
type: file_generic
|
||||
region: content
|
||||
name:
|
||||
type: string_textfield
|
||||
weight: -5
|
||||
region: content
|
||||
settings:
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
path:
|
||||
type: path
|
||||
weight: 4
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
status:
|
||||
type: boolean_checkbox
|
||||
settings:
|
||||
display_label: true
|
||||
weight: 5
|
||||
region: content
|
||||
third_party_settings: { }
|
||||
uid:
|
||||
type: entity_reference_autocomplete
|
||||
weight: 2
|
||||
settings:
|
||||
match_operator: CONTAINS
|
||||
size: 60
|
||||
placeholder: ''
|
||||
region: content
|
||||
third_party_settings: { }
|
||||
hidden: { }
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.media.file.field_media_file
|
||||
- media.type.file
|
||||
module:
|
||||
- file
|
||||
id: media.file.default
|
||||
targetEntityType: media
|
||||
bundle: file
|
||||
mode: default
|
||||
content:
|
||||
created:
|
||||
type: datetime_timestamp
|
||||
weight: 10
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
field_media_file:
|
||||
settings:
|
||||
progress_indicator: throbber
|
||||
third_party_settings: { }
|
||||
type: file_generic
|
||||
weight: 0
|
||||
region: content
|
||||
name:
|
||||
type: string_textfield
|
||||
weight: -5
|
||||
region: content
|
||||
settings:
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
status:
|
||||
type: boolean_checkbox
|
||||
settings:
|
||||
display_label: true
|
||||
weight: 100
|
||||
region: content
|
||||
third_party_settings: { }
|
||||
uid:
|
||||
type: entity_reference_autocomplete
|
||||
weight: 5
|
||||
settings:
|
||||
match_operator: CONTAINS
|
||||
size: 60
|
||||
placeholder: ''
|
||||
region: content
|
||||
third_party_settings: { }
|
||||
hidden: { }
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.media.image.field_media_image
|
||||
- image.style.thumbnail
|
||||
- media.type.image
|
||||
module:
|
||||
- image
|
||||
id: media.image.default
|
||||
targetEntityType: media
|
||||
bundle: image
|
||||
mode: default
|
||||
content:
|
||||
created:
|
||||
type: datetime_timestamp
|
||||
weight: 10
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
field_media_image:
|
||||
settings:
|
||||
progress_indicator: throbber
|
||||
preview_image_style: thumbnail
|
||||
third_party_settings: { }
|
||||
type: image_image
|
||||
weight: 0
|
||||
region: content
|
||||
name:
|
||||
type: string_textfield
|
||||
weight: -5
|
||||
region: content
|
||||
settings:
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
status:
|
||||
type: boolean_checkbox
|
||||
settings:
|
||||
display_label: true
|
||||
weight: 100
|
||||
region: content
|
||||
third_party_settings: { }
|
||||
uid:
|
||||
type: entity_reference_autocomplete
|
||||
weight: 5
|
||||
settings:
|
||||
match_operator: CONTAINS
|
||||
size: 60
|
||||
placeholder: ''
|
||||
region: content
|
||||
third_party_settings: { }
|
||||
hidden: { }
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.media.video.field_media_video_file
|
||||
- media.type.video
|
||||
module:
|
||||
- file
|
||||
- path
|
||||
id: media.video.default
|
||||
targetEntityType: media
|
||||
bundle: video
|
||||
mode: default
|
||||
content:
|
||||
created:
|
||||
type: datetime_timestamp
|
||||
weight: 3
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
field_media_video_file:
|
||||
weight: 0
|
||||
settings:
|
||||
progress_indicator: throbber
|
||||
third_party_settings: { }
|
||||
type: file_generic
|
||||
region: content
|
||||
name:
|
||||
type: string_textfield
|
||||
weight: -5
|
||||
region: content
|
||||
settings:
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
path:
|
||||
type: path
|
||||
weight: 4
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
status:
|
||||
type: boolean_checkbox
|
||||
settings:
|
||||
display_label: true
|
||||
weight: 5
|
||||
region: content
|
||||
third_party_settings: { }
|
||||
uid:
|
||||
type: entity_reference_autocomplete
|
||||
weight: 2
|
||||
settings:
|
||||
match_operator: CONTAINS
|
||||
size: 60
|
||||
placeholder: ''
|
||||
region: content
|
||||
third_party_settings: { }
|
||||
hidden: { }
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.media.audio.field_media_audio_file
|
||||
- media.type.audio
|
||||
module:
|
||||
- file
|
||||
id: media.audio.default
|
||||
targetEntityType: media
|
||||
bundle: audio
|
||||
mode: default
|
||||
content:
|
||||
field_media_audio_file:
|
||||
type: file_audio
|
||||
weight: 0
|
||||
label: visually_hidden
|
||||
settings:
|
||||
controls: true
|
||||
autoplay: false
|
||||
loop: false
|
||||
multiple_file_display_type: tags
|
||||
third_party_settings: { }
|
||||
region: content
|
||||
hidden:
|
||||
created: true
|
||||
name: true
|
||||
thumbnail: true
|
||||
uid: true
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.media.file.field_media_file
|
||||
- media.type.file
|
||||
module:
|
||||
- file
|
||||
id: media.file.default
|
||||
targetEntityType: media
|
||||
bundle: file
|
||||
mode: default
|
||||
content:
|
||||
field_media_file:
|
||||
label: visually_hidden
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
type: file_default
|
||||
weight: 1
|
||||
region: content
|
||||
hidden:
|
||||
created: true
|
||||
thumbnail: true
|
||||
uid: true
|
||||
name: true
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.media.image.field_media_image
|
||||
- image.style.medium
|
||||
- media.type.image
|
||||
module:
|
||||
- image
|
||||
id: media.image.default
|
||||
targetEntityType: media
|
||||
bundle: image
|
||||
mode: default
|
||||
content:
|
||||
field_media_image:
|
||||
label: visually_hidden
|
||||
settings:
|
||||
image_style: ''
|
||||
image_link: file
|
||||
third_party_settings: { }
|
||||
type: image
|
||||
weight: 1
|
||||
region: content
|
||||
hidden:
|
||||
created: true
|
||||
thumbnail: true
|
||||
uid: true
|
||||
name: true
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.media.video.field_media_video_file
|
||||
- media.type.video
|
||||
module:
|
||||
- file
|
||||
id: media.video.default
|
||||
targetEntityType: media
|
||||
bundle: video
|
||||
mode: default
|
||||
content:
|
||||
field_media_video_file:
|
||||
type: file_video
|
||||
weight: 0
|
||||
label: visually_hidden
|
||||
settings:
|
||||
muted: false
|
||||
width: 640
|
||||
height: 480
|
||||
controls: true
|
||||
autoplay: false
|
||||
loop: false
|
||||
multiple_file_display_type: tags
|
||||
third_party_settings: { }
|
||||
region: content
|
||||
hidden:
|
||||
created: true
|
||||
name: true
|
||||
thumbnail: true
|
||||
uid: true
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.media.field_media_audio_file
|
||||
- media.type.audio
|
||||
module:
|
||||
- file
|
||||
id: media.audio.field_media_audio_file
|
||||
field_name: field_media_audio_file
|
||||
entity_type: media
|
||||
bundle: audio
|
||||
label: 'Audio file'
|
||||
description: ''
|
||||
required: true
|
||||
translatable: true
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
file_extensions: 'mp3 wav aac'
|
||||
file_directory: '[date:custom:Y]-[date:custom:m]'
|
||||
max_filesize: ''
|
||||
description_field: false
|
||||
handler: 'default:file'
|
||||
handler_settings: { }
|
||||
field_type: file
|
||||
@@ -0,0 +1,29 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.media.field_media_file
|
||||
- media.type.file
|
||||
enforced:
|
||||
module:
|
||||
- media
|
||||
module:
|
||||
- file
|
||||
id: media.file.field_media_file
|
||||
field_name: field_media_file
|
||||
entity_type: media
|
||||
bundle: file
|
||||
label: File
|
||||
description: ''
|
||||
required: true
|
||||
translatable: true
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
file_directory: '[date:custom:Y]-[date:custom:m]'
|
||||
file_extensions: 'txt rtf doc docx ppt pptx xls xlsx pdf odf odg odp ods odt fodt fods fodp fodg key numbers pages'
|
||||
max_filesize: ''
|
||||
handler: 'default:file'
|
||||
handler_settings: { }
|
||||
description_field: false
|
||||
field_type: file
|
||||
@@ -0,0 +1,40 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.media.field_media_image
|
||||
- media.type.image
|
||||
enforced:
|
||||
module:
|
||||
- media
|
||||
module:
|
||||
- image
|
||||
id: media.image.field_media_image
|
||||
field_name: field_media_image
|
||||
entity_type: media
|
||||
bundle: image
|
||||
label: Image
|
||||
description: ''
|
||||
required: true
|
||||
translatable: true
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
alt_field: true
|
||||
alt_field_required: true
|
||||
title_field: false
|
||||
title_field_required: false
|
||||
max_resolution: ''
|
||||
min_resolution: ''
|
||||
default_image:
|
||||
uuid: null
|
||||
alt: ''
|
||||
title: ''
|
||||
width: null
|
||||
height: null
|
||||
file_directory: '[date:custom:Y]-[date:custom:m]'
|
||||
file_extensions: 'png gif jpg jpeg'
|
||||
max_filesize: ''
|
||||
handler: 'default:file'
|
||||
handler_settings: { }
|
||||
field_type: image
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.media.field_media_video_file
|
||||
- media.type.video
|
||||
module:
|
||||
- file
|
||||
id: media.video.field_media_video_file
|
||||
field_name: field_media_video_file
|
||||
entity_type: media
|
||||
bundle: video
|
||||
label: 'Video file'
|
||||
description: ''
|
||||
required: true
|
||||
translatable: true
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
file_extensions: mp4
|
||||
file_directory: '[date:custom:Y]-[date:custom:m]'
|
||||
max_filesize: ''
|
||||
description_field: false
|
||||
handler: 'default:file'
|
||||
handler_settings: { }
|
||||
field_type: file
|
||||
@@ -0,0 +1,22 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- file
|
||||
- media
|
||||
id: media.field_media_audio_file
|
||||
field_name: field_media_audio_file
|
||||
entity_type: media
|
||||
type: file
|
||||
settings:
|
||||
target_type: file
|
||||
display_field: false
|
||||
display_default: false
|
||||
uri_scheme: public
|
||||
module: file
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
@@ -0,0 +1,25 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- media
|
||||
module:
|
||||
- file
|
||||
- media
|
||||
id: media.field_media_file
|
||||
field_name: field_media_file
|
||||
entity_type: media
|
||||
type: file
|
||||
settings:
|
||||
uri_scheme: public
|
||||
target_type: file
|
||||
display_field: false
|
||||
display_default: false
|
||||
module: file
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
@@ -0,0 +1,32 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- media
|
||||
module:
|
||||
- file
|
||||
- image
|
||||
- media
|
||||
id: media.field_media_image
|
||||
field_name: field_media_image
|
||||
entity_type: media
|
||||
type: image
|
||||
settings:
|
||||
default_image:
|
||||
uuid: null
|
||||
alt: ''
|
||||
title: ''
|
||||
width: null
|
||||
height: null
|
||||
target_type: file
|
||||
display_field: false
|
||||
display_default: false
|
||||
uri_scheme: public
|
||||
module: image
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
@@ -0,0 +1,22 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- file
|
||||
- media
|
||||
id: media.field_media_video_file
|
||||
field_name: field_media_video_file
|
||||
entity_type: media
|
||||
type: file
|
||||
settings:
|
||||
target_type: file
|
||||
display_field: false
|
||||
display_default: false
|
||||
uri_scheme: public
|
||||
module: file
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
@@ -0,0 +1,12 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: audio
|
||||
label: Audio
|
||||
description: 'A locally hosted audio file.'
|
||||
source: audio_file
|
||||
queue_thumbnail_downloads: false
|
||||
new_revision: true
|
||||
source_configuration:
|
||||
source_field: field_media_audio_file
|
||||
field_map: { }
|
||||
@@ -0,0 +1,12 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: file
|
||||
label: File
|
||||
description: "Use local files for reusable media."
|
||||
source: file
|
||||
queue_thumbnail_downloads: false
|
||||
new_revision: true
|
||||
source_configuration:
|
||||
source_field: field_media_file
|
||||
field_map: { }
|
||||
@@ -0,0 +1,12 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: image
|
||||
label: Image
|
||||
description: "Use local images for reusable media."
|
||||
source: image
|
||||
queue_thumbnail_downloads: false
|
||||
new_revision: true
|
||||
source_configuration:
|
||||
source_field: field_media_image
|
||||
field_map: { }
|
||||
@@ -0,0 +1,12 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: video
|
||||
label: Video
|
||||
description: 'A locally hosted video file.'
|
||||
source: video_file
|
||||
queue_thumbnail_downloads: false
|
||||
new_revision: true
|
||||
source_configuration:
|
||||
source_field: field_media_video_file
|
||||
field_map: { }
|
||||
@@ -26,6 +26,7 @@ dependencies:
|
||||
- path
|
||||
- page_cache
|
||||
- dynamic_page_cache
|
||||
- big_pipe
|
||||
- taxonomy
|
||||
- dblog
|
||||
- search
|
||||
@@ -42,8 +43,8 @@ themes:
|
||||
- bartik
|
||||
- seven
|
||||
|
||||
# Information added by Drupal.org packaging script on 2018-01-03
|
||||
version: '8.4.4'
|
||||
# Information added by Drupal.org packaging script on 2018-03-07
|
||||
version: '8.5.0'
|
||||
core: '8.x'
|
||||
project: 'drupal'
|
||||
datestamp: 1515021228
|
||||
datestamp: 1520457825
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
<?php
|
||||
|
||||
namespace Drupal\Tests\standard\FunctionalJavascript;
|
||||
|
||||
use Drupal\FunctionalJavascriptTests\JavascriptTestBase;
|
||||
use Drupal\node\Entity\Node;
|
||||
|
||||
/**
|
||||
* Tests Standard installation profile JavaScript expectations.
|
||||
*
|
||||
* @group standard
|
||||
*/
|
||||
class StandardJavascriptTest extends JavascriptTestBase {
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected $profile = 'standard';
|
||||
|
||||
/**
|
||||
* Tests BigPipe accelerates particular Standard installation profile routes.
|
||||
*/
|
||||
public function testBigPipe() {
|
||||
$this->drupalLogin($this->drupalCreateUser([
|
||||
'access content',
|
||||
'post comments',
|
||||
'skip comment approval',
|
||||
]));
|
||||
|
||||
$node = Node::create(['type' => 'article'])
|
||||
->setTitle($this->randomMachineName())
|
||||
->setPromoted(TRUE)
|
||||
->setPublished(TRUE);
|
||||
$node->save();
|
||||
|
||||
// Front page: one placeholder, for messages.
|
||||
$this->drupalGet('');
|
||||
$this->assertBigPipePlaceholderReplacementCount(1);
|
||||
|
||||
// Node page: 3 placeholders:
|
||||
// 1. messages
|
||||
// 2. local tasks block
|
||||
// 3. comment form
|
||||
$this->drupalGet($node->toUrl());
|
||||
$this->assertBigPipePlaceholderReplacementCount(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Asserts the number of BigPipe placeholders that are replaced on the page.
|
||||
*
|
||||
* @param int $expected_count
|
||||
* The expected number of BigPipe placeholders.
|
||||
*/
|
||||
protected function assertBigPipePlaceholderReplacementCount($expected_count) {
|
||||
$web_assert = $this->assertSession();
|
||||
$web_assert->waitForElement('css', 'script[data-big-pipe-event="stop"]');
|
||||
$page = $this->getSession()->getPage();
|
||||
$this->assertCount($expected_count, $this->getDrupalSettings()['bigPipePlaceholderIds']);
|
||||
$this->assertCount($expected_count, $page->findAll('css', 'script[data-big-pipe-replacement-for-placeholder-with-id]'));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user