From ba88b16a779c8be43a8e6db6c501b8548d962fa9 Mon Sep 17 00:00:00 2001 From: Esha Date: Wed, 3 Jul 2019 16:04:14 +0530 Subject: changes made and views added --- ...splay.node.corporate_advisory_board.default.yml | 4 +- .../install/core.entity_view_mode.node.teaser.yml | 15 ------- .../config/install/image.style.cabimg.yml | 19 +++++++++ .../config/install/image.style.thumbnail.yml | 20 ---------- .../esha/corporate/templates/corporate.html.twig | 1 - .../corporate/tests/src/Functional/LoadTest.php | 46 ---------------------- 6 files changed, 21 insertions(+), 84 deletions(-) delete mode 100644 modules/esha/corporate/config/install/core.entity_view_mode.node.teaser.yml create mode 100644 modules/esha/corporate/config/install/image.style.cabimg.yml delete mode 100644 modules/esha/corporate/config/install/image.style.thumbnail.yml delete mode 100644 modules/esha/corporate/templates/corporate.html.twig delete mode 100644 modules/esha/corporate/tests/src/Functional/LoadTest.php (limited to 'modules/esha/corporate') diff --git a/modules/esha/corporate/config/install/core.entity_form_display.node.corporate_advisory_board.default.yml b/modules/esha/corporate/config/install/core.entity_form_display.node.corporate_advisory_board.default.yml index d36c401..e76e9b5 100644 --- a/modules/esha/corporate/config/install/core.entity_form_display.node.corporate_advisory_board.default.yml +++ b/modules/esha/corporate/config/install/core.entity_form_display.node.corporate_advisory_board.default.yml @@ -6,7 +6,7 @@ dependencies: - field.field.node.corporate_advisory_board.field_company_website - field.field.node.corporate_advisory_board.field_designation - field.field.node.corporate_advisory_board.field_member_image - - image.style.thumbnail + - image.style.cabimg - node.type.corporate_advisory_board module: - image @@ -30,7 +30,7 @@ content: weight: 124 settings: progress_indicator: throbber - preview_image_style: thumbnail + preview_image_style: cabimg third_party_settings: { } type: image_image region: content diff --git a/modules/esha/corporate/config/install/core.entity_view_mode.node.teaser.yml b/modules/esha/corporate/config/install/core.entity_view_mode.node.teaser.yml deleted file mode 100644 index 4632edd..0000000 --- a/modules/esha/corporate/config/install/core.entity_view_mode.node.teaser.yml +++ /dev/null @@ -1,15 +0,0 @@ -uuid: eae4e8eb-df75-49ff-b350-c4bd59679b36 -langcode: en -status: true -dependencies: - module: - - node - enforced: - module: - - corporate -_core: - default_config_hash: Mz9qWr1kUYK0mjRAGDsr5XS6PvtZ24en_7ndt-pyWe4 -id: node.teaser -label: Teaser -targetEntityType: node -cache: true diff --git a/modules/esha/corporate/config/install/image.style.cabimg.yml b/modules/esha/corporate/config/install/image.style.cabimg.yml new file mode 100644 index 0000000..8657f2c --- /dev/null +++ b/modules/esha/corporate/config/install/image.style.cabimg.yml @@ -0,0 +1,19 @@ +langcode: en +status: true +dependencies: + enforced: + module: + - corporate +_core: + default_config_hash: cCiWdBHgLwj5omG35lsKc4LkW4MBdmcctkVop4ol5x0 +name: cabimg +label: 'CAB img (100×100)' +effects: + 1cfec298-8620-4749-b100-ccb6c4500779: + uuid: 1cfec298-8620-4749-b100-ccb6c4500779 + id: image_scale + weight: 0 + data: + width: 100 + height: 100 + upscale: false diff --git a/modules/esha/corporate/config/install/image.style.thumbnail.yml b/modules/esha/corporate/config/install/image.style.thumbnail.yml deleted file mode 100644 index 7389c76..0000000 --- a/modules/esha/corporate/config/install/image.style.thumbnail.yml +++ /dev/null @@ -1,20 +0,0 @@ -uuid: 253400b6-2e54-4c6a-92ba-9ccb091444e2 -langcode: en -status: true -dependencies: - enforced: - module: - - corporate -_core: - default_config_hash: cCiWdBHgLwj5omG35lsKc4LkW4MBdmcctkVop4ol5x0 -name: thumbnail -label: 'Thumbnail (100×100)' -effects: - 1cfec298-8620-4749-b100-ccb6c4500779: - uuid: 1cfec298-8620-4749-b100-ccb6c4500779 - id: image_scale - weight: 0 - data: - width: 100 - height: 100 - upscale: false diff --git a/modules/esha/corporate/templates/corporate.html.twig b/modules/esha/corporate/templates/corporate.html.twig deleted file mode 100644 index 91e43c8..0000000 --- a/modules/esha/corporate/templates/corporate.html.twig +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/modules/esha/corporate/tests/src/Functional/LoadTest.php b/modules/esha/corporate/tests/src/Functional/LoadTest.php deleted file mode 100644 index 8e09521..0000000 --- a/modules/esha/corporate/tests/src/Functional/LoadTest.php +++ /dev/null @@ -1,46 +0,0 @@ -user = $this->drupalCreateUser(['administer site configuration']); - $this->drupalLogin($this->user); - } - - /** - * Tests that the home page loads with a 200 response. - */ - public function testLoad() { - $this->drupalGet(Url::fromRoute('')); - $this->assertSession()->statusCodeEquals(200); - } - -} -- cgit