Issue #2988905 by sourabh.singhal, longwave, Chris Matthews, jhedstrom: Remove machine name data from Responsive image styles table
(cherry picked from commit 7681f14c5c
)
merge-requests/64/head
parent
55ca5ff963
commit
795d6bbf33
|
@ -15,7 +15,6 @@ class ResponsiveImageStyleListBuilder extends ConfigEntityListBuilder {
|
||||||
*/
|
*/
|
||||||
public function buildHeader() {
|
public function buildHeader() {
|
||||||
$header['label'] = t('Label');
|
$header['label'] = t('Label');
|
||||||
$header['id'] = t('Machine name');
|
|
||||||
return $header + parent::buildHeader();
|
return $header + parent::buildHeader();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,7 +23,6 @@ class ResponsiveImageStyleListBuilder extends ConfigEntityListBuilder {
|
||||||
*/
|
*/
|
||||||
public function buildRow(EntityInterface $entity) {
|
public function buildRow(EntityInterface $entity) {
|
||||||
$row['label'] = $entity->label();
|
$row['label'] = $entity->label();
|
||||||
$row['id'] = $entity->id();
|
|
||||||
return $row + parent::buildRow($entity);
|
return $row + parent::buildRow($entity);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,6 @@ class ResponsiveImageAdminUITest extends BrowserTestBase {
|
||||||
$this->drupalGet('admin/config/media/responsive-image-style');
|
$this->drupalGet('admin/config/media/responsive-image-style');
|
||||||
$this->assertNoText('There are no responsive image styles yet.');
|
$this->assertNoText('There are no responsive image styles yet.');
|
||||||
$this->assertText('Style One');
|
$this->assertText('Style One');
|
||||||
$this->assertText('style_one');
|
|
||||||
|
|
||||||
// Edit the group.
|
// Edit the group.
|
||||||
$this->drupalGet('admin/config/media/responsive-image-style/style_one');
|
$this->drupalGet('admin/config/media/responsive-image-style/style_one');
|
||||||
|
|
Loading…
Reference in New Issue