diff --git a/core/modules/node/config/views.view.frontpage.yml b/core/modules/node/config/views.view.frontpage.yml index 6f7cf24..7ad95d7 100644 --- a/core/modules/node/config/views.view.frontpage.yml +++ b/core/modules/node/config/views.view.frontpage.yml @@ -138,7 +138,7 @@ display: display_title: Page id: page_1 position: { } -human_name: Frontpage +label: Frontpage langcode: und module: node id: frontpage diff --git a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_data.yml b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_data.yml index bea2076..fff9da8 100644 --- a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_data.yml +++ b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_data.yml @@ -114,7 +114,7 @@ display: field: created order: DESC plugin_id: date -human_name: test_user_data +label: test_user_data module: views id: test_user_data tag: '' diff --git a/core/modules/views/lib/Drupal/views/Plugin/Core/Entity/View.php b/core/modules/views/lib/Drupal/views/Plugin/Core/Entity/View.php index b22a596..3c7e525 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/Core/Entity/View.php +++ b/core/modules/views/lib/Drupal/views/Plugin/Core/Entity/View.php @@ -34,7 +34,7 @@ * fieldable = FALSE, * entity_keys = { * "id" = "id", - * "label" = "human_name", + * "label" = "label", * "uuid" = "uuid", * "status" = "status" * } diff --git a/core/modules/views/lib/Drupal/views/Tests/Wizard/WizardPluginBaseUnitTest.php b/core/modules/views/lib/Drupal/views/Tests/Wizard/WizardPluginBaseUnitTest.php index 6cae58f..7cac36b 100644 --- a/core/modules/views/lib/Drupal/views/Tests/Wizard/WizardPluginBaseUnitTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/Wizard/WizardPluginBaseUnitTest.php @@ -59,7 +59,7 @@ public function testCreateView() { $form_state = array(); $form = $this->wizard->build_form($form, $form_state); $random_id = strtolower($this->randomName()); - $random_human_name = $this->randomName(); + $random_label = $this->randomName(); $random_description = $this->randomName(); // Add a new language and mark it as default. @@ -72,7 +72,7 @@ public function testCreateView() { $form_state['values'] = array( 'id' => $random_id, - 'human_name' => $random_human_name, + 'label' => $random_label, 'description' => $random_description, 'base_table' => 'views_test_data', ); @@ -81,7 +81,7 @@ public function testCreateView() { $view = $this->wizard->create_view($form, $form_state); $this->assertTrue($view instanceof ViewUI, 'The created view is a ViewUI object.'); $this->assertEqual($view->get('id'), $random_id); - $this->assertEqual($view->get('human_name'), $random_human_name); + $this->assertEqual($view->get('label'), $random_label); $this->assertEqual($view->get('description'), $random_description); $this->assertEqual($view->get('base_table'), 'views_test_data'); $this->assertEqual($view->get('langcode'), 'it');