diff options
author | Esha | 2019-07-03 16:04:14 +0530 |
---|---|---|
committer | Esha | 2019-07-03 16:04:14 +0530 |
commit | ba88b16a779c8be43a8e6db6c501b8548d962fa9 (patch) | |
tree | e48dbc936e52541ec3189140cf6b6ba0fa79c12e /modules/esha/corporate | |
parent | 141ce8c97abe36f1f8bb06a38623e93563d6c618 (diff) | |
download | acadmix_distribution-ba88b16a779c8be43a8e6db6c501b8548d962fa9.tar.gz acadmix_distribution-ba88b16a779c8be43a8e6db6c501b8548d962fa9.tar.bz2 acadmix_distribution-ba88b16a779c8be43a8e6db6c501b8548d962fa9.zip |
changes made and views added
Diffstat (limited to 'modules/esha/corporate')
-rw-r--r-- | modules/esha/corporate/config/install/core.entity_form_display.node.corporate_advisory_board.default.yml | 4 | ||||
-rw-r--r-- | modules/esha/corporate/config/install/core.entity_view_mode.node.teaser.yml | 15 | ||||
-rw-r--r-- | modules/esha/corporate/config/install/image.style.cabimg.yml (renamed from modules/esha/corporate/config/install/image.style.thumbnail.yml) | 5 | ||||
-rw-r--r-- | modules/esha/corporate/templates/corporate.html.twig | 1 | ||||
-rw-r--r-- | modules/esha/corporate/tests/src/Functional/LoadTest.php | 46 |
5 files changed, 4 insertions, 67 deletions
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.thumbnail.yml b/modules/esha/corporate/config/install/image.style.cabimg.yml index 7389c76..8657f2c 100644 --- a/modules/esha/corporate/config/install/image.style.thumbnail.yml +++ b/modules/esha/corporate/config/install/image.style.cabimg.yml @@ -1,4 +1,3 @@ -uuid: 253400b6-2e54-4c6a-92ba-9ccb091444e2 langcode: en status: true dependencies: @@ -7,8 +6,8 @@ dependencies: - corporate _core: default_config_hash: cCiWdBHgLwj5omG35lsKc4LkW4MBdmcctkVop4ol5x0 -name: thumbnail -label: 'Thumbnail (100×100)' +name: cabimg +label: 'CAB img (100×100)' effects: 1cfec298-8620-4749-b100-ccb6c4500779: uuid: 1cfec298-8620-4749-b100-ccb6c4500779 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 @@ -<!-- Add you custom twig html here -->
\ 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 @@ -<?php - -namespace Drupal\Tests\corporate\Functional; - -use Drupal\Core\Url; -use Drupal\Tests\BrowserTestBase; - -/** - * Simple test to ensure that main page loads with module enabled. - * - * @group corporate - */ -class LoadTest extends BrowserTestBase { - - /** - * Modules to enable. - * - * @var array - */ - public static $modules = ['corporate']; - - /** - * A user with permission to administer site configuration. - * - * @var \Drupal\user\UserInterface - */ - protected $user; - - /** - * {@inheritdoc} - */ - protected function setUp() { - parent::setUp(); - $this->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('<front>')); - $this->assertSession()->statusCodeEquals(200); - } - -} |