Commit d2cd3e66 authored by xjm's avatar xjm

Issue #2752709 by ChandeepKhosa, kamalrajsahu21, pashupathi nath gajawada,...

Issue #2752709 by ChandeepKhosa, kamalrajsahu21, pashupathi nath gajawada, ifrik, Gábor Hojtsy, Haza, marcvangend: "Add mode" instead of "Add new mode"
parent f86f3991
field_ui.entity_view_mode_add:
route_name: field_ui.entity_view_mode_add
title: 'Add new view mode'
title: 'Add view mode'
weight: 1
appears_on:
- entity.entity_view_mode.collection
field_ui.entity_form_mode_add:
route_name: field_ui.entity_form_mode_add
title: 'Add new form mode'
title: 'Add form mode'
weight: 1
appears_on:
- entity.entity_form_mode.collection
......
......@@ -38,7 +38,7 @@ public function testEntityViewModeUI() {
$this->drupalLogin($this->drupalCreateUser(array('administer display modes')));
$this->drupalGet('admin/structure/display-modes/view');
$this->assertResponse(200);
$this->assertText(t('Add new view mode'));
$this->assertText(t('Add view mode'));
$this->assertLinkByHref('admin/structure/display-modes/view/add');
$this->assertLinkByHref('admin/structure/display-modes/view/add/entity_test');
......@@ -85,7 +85,7 @@ public function testEntityFormModeUI() {
$this->drupalLogin($this->drupalCreateUser(array('administer display modes')));
$this->drupalGet('admin/structure/display-modes/form');
$this->assertResponse(200);
$this->assertText(t('Add new form mode'));
$this->assertText(t('Add form mode'));
$this->assertLinkByHref('admin/structure/display-modes/form/add');
$this->drupalGet('admin/structure/display-modes/form/add/entity_test_no_label');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment