summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxjm2018-01-08 09:18:44 (GMT)
committerxjm2018-01-08 09:21:14 (GMT)
commitec31a14195e55aaff636011d4a110e410a655493 (patch)
tree7099eb4bac426db6ba7e3d4910055f5b88095491
parentb022734be83866f657ea0c0bb40bc8d1dae474cb (diff)
Issue #2934649 by chr.fritsch, marcoscano: Fix wrong header "Source" on media overview page
-rw-r--r--core/modules/media/config/optional/views.view.media.yml6
-rw-r--r--core/modules/media/tests/src/Functional/MediaOverviewPageTest.php4
2 files changed, 5 insertions, 5 deletions
diff --git a/core/modules/media/config/optional/views.view.media.yml b/core/modules/media/config/optional/views.view.media.yml
index 88e9fef..88b7674 100644
--- a/core/modules/media/config/optional/views.view.media.yml
+++ b/core/modules/media/config/optional/views.view.media.yml
@@ -252,7 +252,7 @@ display:
relationship: none
group_type: group
admin_label: ''
- label: Source
+ label: Type
exclude: false
alter:
alter_text: false
@@ -614,11 +614,11 @@ display:
exposed: true
expose:
operator_id: bundle_op
- label: Source
+ label: Type
description: ''
use_operator: false
operator: bundle_op
- identifier: source
+ identifier: type
required: false
remember: false
multiple: false
diff --git a/core/modules/media/tests/src/Functional/MediaOverviewPageTest.php b/core/modules/media/tests/src/Functional/MediaOverviewPageTest.php
index d7e5f01..f946789 100644
--- a/core/modules/media/tests/src/Functional/MediaOverviewPageTest.php
+++ b/core/modules/media/tests/src/Functional/MediaOverviewPageTest.php
@@ -36,7 +36,7 @@ class MediaOverviewPageTest extends MediaFunctionalTestBase {
$assert_session->statusCodeEquals(200);
$assert_session->titleEquals('Media | Drupal');
$assert_session->fieldExists('Media name');
- $assert_session->selectExists('source');
+ $assert_session->selectExists('type');
$assert_session->selectExists('status');
$assert_session->selectExists('langcode');
$assert_session->buttonExists('Filter');
@@ -45,7 +45,7 @@ class MediaOverviewPageTest extends MediaFunctionalTestBase {
$header = $assert_session->elementExists('css', 'th#view-name-table-column');
$this->assertEquals('Media name', $header->getText());
$header = $assert_session->elementExists('css', 'th#view-bundle-table-column');
- $this->assertEquals('Source', $header->getText());
+ $this->assertEquals('Type', $header->getText());
$header = $assert_session->elementExists('css', 'th#view-uid-table-column');
$this->assertEquals('Author', $header->getText());
$header = $assert_session->elementExists('css', 'th#view-status-table-column');