summaryrefslogtreecommitdiff
path: root/modules/esha
diff options
context:
space:
mode:
authorNitesh Kumar Sinha2019-08-19 11:14:26 +0530
committerGitHub2019-08-19 11:14:26 +0530
commitf8d43f51937aae5240b2885108fd08efab768155 (patch)
tree998c1d749bf3533d24a4799b53c79413dfce7eba /modules/esha
parent58dbf8fcb04c01c338b9e346b8266690c8b92a2f (diff)
parent67eeae320422623bc2873b2c00afb8b29ec6160e (diff)
downloadacadmix_distribution-f8d43f51937aae5240b2885108fd08efab768155.tar.gz
acadmix_distribution-f8d43f51937aae5240b2885108fd08efab768155.tar.bz2
acadmix_distribution-f8d43f51937aae5240b2885108fd08efab768155.zip
Merge pull request #29 from FOSSEE/stageHEADmaster
merge with Stage
Diffstat (limited to 'modules/esha')
-rw-r--r--modules/esha/achievements/config/install/core.entity_view_mode.node.teaser.yml15
-rw-r--r--modules/esha/achievements/config/install/views.view.achieve.yml242
-rw-r--r--modules/esha/achievements/templates/achievements.html.twig1
-rw-r--r--modules/esha/achievements/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/esha/corporate/config/install/core.entity_form_display.node.corporate_advisory_board.default.yml4
-rw-r--r--modules/esha/corporate/config/install/core.entity_view_mode.node.teaser.yml15
-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.twig1
-rw-r--r--modules/esha/corporate/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/esha/lab/config/install/node.type.fac_page.yml23
-rw-r--r--modules/esha/lab/config/install/views.view.lab_view.yml308
-rw-r--r--modules/esha/lab/lab.info.yml1
-rw-r--r--modules/esha/lab/templates/lab.html.twig1
-rw-r--r--modules/esha/lab/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/esha/lab/views.view.lab_manual.yml320
-rw-r--r--modules/esha/labmanual/config/install/core.entity_view_mode.node.teaser.yml15
-rw-r--r--modules/esha/labmanual/config/install/field.storage.node.field_description.yml1
-rw-r--r--modules/esha/labmanual/config/install/field.storage.node.field_manual.yml1
-rw-r--r--modules/esha/labmanual/config/install/views.view.lab_manual.yml320
-rw-r--r--modules/esha/labmanual/templates/labmanual.html.twig1
-rw-r--r--modules/esha/labmanual/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/esha/onlinecourse/composer.json2
-rw-r--r--modules/esha/onlinecourse/config/install/core.entity_form_display.node.online_course.default.yml3
-rw-r--r--modules/esha/onlinecourse/config/install/core.entity_view_display.node.online_course.default.yml3
-rw-r--r--modules/esha/onlinecourse/config/install/core.entity_view_display.node.online_course.teaser.yml3
-rw-r--r--modules/esha/onlinecourse/config/install/core.entity_view_mode.node.teaser.yml12
-rw-r--r--modules/esha/onlinecourse/config/install/field.field.node.online_course.field_faculty_name.yml3
-rw-r--r--modules/esha/onlinecourse/config/install/field.field.node.online_course.field_link_to_cour.yml3
-rw-r--r--modules/esha/onlinecourse/config/install/field.field.node.online_course.field_offered_by.yml3
-rw-r--r--modules/esha/onlinecourse/config/install/field.storage.node.field_faculty_name.yml3
-rw-r--r--modules/esha/onlinecourse/config/install/field.storage.node.field_link_to_cour.yml3
-rw-r--r--modules/esha/onlinecourse/config/install/field.storage.node.field_offered_by.yml3
-rw-r--r--modules/esha/onlinecourse/config/install/node.type.fac_page.yml23
-rw-r--r--modules/esha/onlinecourse/config/install/node.type.online_course.yml3
-rw-r--r--modules/esha/onlinecourse/config/install/views.view.faculty_online_courses.yml298
-rw-r--r--modules/esha/onlinecourse/onlinecourse.info.yml5
-rw-r--r--modules/esha/onlinecourse/templates/onlinecourse.html.twig1
-rw-r--r--modules/esha/onlinecourse/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/esha/placements/config/install/core.entity_view_mode.node.teaser.yml15
-rw-r--r--modules/esha/placements/config/install/field.storage.node.body.yml24
-rw-r--r--modules/esha/placements/config/install/views.view.placement_details.yml351
-rw-r--r--modules/esha/placements/templates/placements.html.twig1
-rw-r--r--modules/esha/placements/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/esha/programs/composer.json2
-rw-r--r--modules/esha/programs/config/install/views.view.programs_offered_.yml191
-rw-r--r--modules/esha/programs/programs.info.yml2
-rw-r--r--modules/esha/programs/templates/programs.html.twig1
-rw-r--r--modules/esha/programs/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/esha/sig/config/install/core.entity_view_mode.node.teaser.yml15
-rw-r--r--modules/esha/sig/config/install/node.type.fac_page.yml26
-rw-r--r--modules/esha/sig/config/install/views.view.sig.yml289
-rw-r--r--modules/esha/sig/sig.info.yml1
-rw-r--r--modules/esha/sig/templates/sig.html.twig1
-rw-r--r--modules/esha/sig/tests/src/Functional/LoadTest.php46
54 files changed, 2361 insertions, 571 deletions
diff --git a/modules/esha/achievements/config/install/core.entity_view_mode.node.teaser.yml b/modules/esha/achievements/config/install/core.entity_view_mode.node.teaser.yml
deleted file mode 100644
index 83ada37..0000000
--- a/modules/esha/achievements/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:
- - achievements
-_core:
- default_config_hash: Mz9qWr1kUYK0mjRAGDsr5XS6PvtZ24en_7ndt-pyWe4
-id: node.teaser
-label: Teaser
-targetEntityType: node
-cache: true
diff --git a/modules/esha/achievements/config/install/views.view.achieve.yml b/modules/esha/achievements/config/install/views.view.achieve.yml
new file mode 100644
index 0000000..2ce6513
--- /dev/null
+++ b/modules/esha/achievements/config/install/views.view.achieve.yml
@@ -0,0 +1,242 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - node.type.achievements
+ - taxonomy.vocabulary.achievement
+ module:
+ - node
+ - taxonomy
+ - user
+id: achieve
+label: achieve
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: mini
+ options:
+ items_per_page: 10
+ offset: 0
+ id: 0
+ total_pages: null
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ tags:
+ previous: ‹‹
+ next: ››
+ style:
+ type: default
+ row:
+ type: 'entity:node'
+ options:
+ view_mode: teaser
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ entity_type: node
+ entity_field: title
+ label: ''
+ alter:
+ alter_text: false
+ make_link: false
+ absolute: false
+ trim: false
+ word_boundary: false
+ ellipsis: false
+ strip_tags: false
+ html: false
+ hide_empty: false
+ empty_zero: false
+ settings:
+ link_to_entity: true
+ plugin_id: field
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exclude: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ filters:
+ status:
+ value: '1'
+ table: node_field_data
+ field: status
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ id: status
+ expose:
+ operator: ''
+ group: 1
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ achievements: achievements
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ field_achievement_type_target_id:
+ id: field_achievement_type_target_id
+ table: node__field_achievement_type
+ field: field_achievement_type_target_id
+ relationship: none
+ group_type: group
+ admin_label: ''
+ operator: or
+ value: { }
+ group: 1
+ exposed: true
+ expose:
+ operator_id: field_achievement_type_target_id_op
+ label: 'Achievement Type (field_achievement_type)'
+ description: ''
+ use_operator: false
+ operator: field_achievement_type_target_id_op
+ identifier: field_achievement_type_target_id
+ required: false
+ remember: false
+ multiple: false
+ remember_roles:
+ authenticated: authenticated
+ anonymous: '0'
+ administrator: '0'
+ reduce: false
+ is_grouped: false
+ group_info:
+ label: ''
+ description: ''
+ identifier: ''
+ optional: true
+ widget: select
+ multiple: false
+ remember: false
+ default_group: All
+ default_group_multiple: { }
+ group_items: { }
+ reduce_duplicates: false
+ type: select
+ limit: true
+ vid: achievement
+ hierarchy: false
+ error_message: true
+ plugin_id: taxonomy_index_tid
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: achieve
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url
+ - url.query_args
+ - user
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: achieve
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url
+ - url.query_args
+ - user
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
diff --git a/modules/esha/achievements/templates/achievements.html.twig b/modules/esha/achievements/templates/achievements.html.twig
deleted file mode 100644
index 91e43c8..0000000
--- a/modules/esha/achievements/templates/achievements.html.twig
+++ /dev/null
@@ -1 +0,0 @@
-<!-- Add you custom twig html here --> \ No newline at end of file
diff --git a/modules/esha/achievements/tests/src/Functional/LoadTest.php b/modules/esha/achievements/tests/src/Functional/LoadTest.php
deleted file mode 100644
index 0d54e64..0000000
--- a/modules/esha/achievements/tests/src/Functional/LoadTest.php
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-
-namespace Drupal\Tests\achievements\Functional;
-
-use Drupal\Core\Url;
-use Drupal\Tests\BrowserTestBase;
-
-/**
- * Simple test to ensure that main page loads with module enabled.
- *
- * @group achievements
- */
-class LoadTest extends BrowserTestBase {
-
- /**
- * Modules to enable.
- *
- * @var array
- */
- public static $modules = ['achievements'];
-
- /**
- * 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);
- }
-
-}
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);
- }
-
-}
diff --git a/modules/esha/lab/config/install/node.type.fac_page.yml b/modules/esha/lab/config/install/node.type.fac_page.yml
deleted file mode 100644
index 47f8ffb..0000000
--- a/modules/esha/lab/config/install/node.type.fac_page.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-uuid: b7471e78-83f0-4359-9512-d4a8f02c2218
-langcode: en
-status: true
-dependencies:
- enforced:
- module:
- - acadmix_faculty
- module:
- - menu_ui
-third_party_settings:
- menu_ui:
- available_menus:
- - main
- parent: 'main:'
-_core:
- default_config_hash: yZnGgm-oTEuH3Qz8VcW49f94qFn-pYOYZdrX601an0U
-name: 'Faculty Page'
-type: fac_page
-description: 'Content template for opening Faculty Page'
-help: ''
-new_revision: true
-preview_mode: 1
-display_submitted: false
diff --git a/modules/esha/lab/config/install/views.view.lab_view.yml b/modules/esha/lab/config/install/views.view.lab_view.yml
new file mode 100644
index 0000000..d8de977
--- /dev/null
+++ b/modules/esha/lab/config/install/views.view.lab_view.yml
@@ -0,0 +1,308 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.lab
+ module:
+ - node
+ - text
+ - user
+id: lab_view
+label: 'Lab View'
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: mini
+ options:
+ items_per_page: 10
+ offset: 0
+ id: 0
+ total_pages: null
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ tags:
+ previous: ‹‹
+ next: ››
+ style:
+ type: default
+ options:
+ grouping: { }
+ row_class: ''
+ default_row_class: true
+ row:
+ type: fields
+ options:
+ default_field_elements: true
+ inline: { }
+ separator: ''
+ hide_empty: false
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: ''
+ exclude: false
+ alter:
+ alter_text: false
+ text: ''
+ make_link: false
+ path: ''
+ absolute: false
+ external: false
+ replace_spaces: false
+ path_case: none
+ trim_whitespace: false
+ alt: ''
+ rel: ''
+ link_class: ''
+ prefix: ''
+ suffix: ''
+ target: ''
+ nl2br: false
+ max_length: 0
+ word_boundary: false
+ ellipsis: false
+ more_link: false
+ more_link_text: ''
+ more_link_path: ''
+ strip_tags: false
+ trim: false
+ preserve_tags: ''
+ html: false
+ element_type: h3
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: false
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ settings:
+ link_to_entity: true
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ entity_type: node
+ entity_field: title
+ plugin_id: field
+ body:
+ id: body
+ table: node__body
+ field: body
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: ''
+ exclude: false
+ alter:
+ alter_text: false
+ text: ''
+ make_link: false
+ path: ''
+ absolute: false
+ external: false
+ replace_spaces: false
+ path_case: none
+ trim_whitespace: false
+ alt: ''
+ rel: ''
+ link_class: ''
+ prefix: ''
+ suffix: ''
+ target: ''
+ nl2br: false
+ max_length: 0
+ word_boundary: true
+ ellipsis: true
+ more_link: false
+ more_link_text: ''
+ more_link_path: ''
+ strip_tags: false
+ trim: false
+ preserve_tags: ''
+ html: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: false
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: value
+ type: text_default
+ settings: { }
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ plugin_id: field
+ filters:
+ status:
+ id: status
+ table: node_field_data
+ field: status
+ relationship: none
+ group_type: group
+ admin_label: ''
+ operator: '='
+ value: '1'
+ group: 1
+ exposed: false
+ expose:
+ operator_id: ''
+ label: ''
+ description: ''
+ use_operator: false
+ operator: ''
+ identifier: ''
+ required: false
+ remember: false
+ multiple: false
+ remember_roles:
+ authenticated: authenticated
+ is_grouped: false
+ group_info:
+ label: ''
+ description: ''
+ identifier: ''
+ optional: true
+ widget: select
+ multiple: false
+ remember: false
+ default_group: All
+ default_group_multiple: { }
+ group_items: { }
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ lab: lab
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: 'Lab View'
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.body'
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: lab-view
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.body'
diff --git a/modules/esha/lab/lab.info.yml b/modules/esha/lab/lab.info.yml
index 8507cd7..ada0648 100644
--- a/modules/esha/lab/lab.info.yml
+++ b/modules/esha/lab/lab.info.yml
@@ -10,3 +10,4 @@ dependencies:
- drupal:user
- drupal:node
- drupal:menu_ui
+ - acadmix_faculty:acadmix_faculty
diff --git a/modules/esha/lab/templates/lab.html.twig b/modules/esha/lab/templates/lab.html.twig
deleted file mode 100644
index 91e43c8..0000000
--- a/modules/esha/lab/templates/lab.html.twig
+++ /dev/null
@@ -1 +0,0 @@
-<!-- Add you custom twig html here --> \ No newline at end of file
diff --git a/modules/esha/lab/tests/src/Functional/LoadTest.php b/modules/esha/lab/tests/src/Functional/LoadTest.php
deleted file mode 100644
index 918be07..0000000
--- a/modules/esha/lab/tests/src/Functional/LoadTest.php
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-
-namespace Drupal\Tests\lab\Functional;
-
-use Drupal\Core\Url;
-use Drupal\Tests\BrowserTestBase;
-
-/**
- * Simple test to ensure that main page loads with module enabled.
- *
- * @group lab
- */
-class LoadTest extends BrowserTestBase {
-
- /**
- * Modules to enable.
- *
- * @var array
- */
- public static $modules = ['lab'];
-
- /**
- * 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);
- }
-
-}
diff --git a/modules/esha/lab/views.view.lab_manual.yml b/modules/esha/lab/views.view.lab_manual.yml
new file mode 100644
index 0000000..705a7cd
--- /dev/null
+++ b/modules/esha/lab/views.view.lab_manual.yml
@@ -0,0 +1,320 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_description
+ - field.storage.node.field_manual
+ - node.type.lab_manual
+ module:
+ - file
+ - node
+ - user
+id: lab_manual
+label: 'Lab Manual'
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: mini
+ options:
+ items_per_page: 20
+ offset: 0
+ id: 0
+ total_pages: null
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ tags:
+ previous: ‹‹
+ next: ››
+ style:
+ type: table
+ row:
+ type: fields
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ entity_type: node
+ entity_field: title
+ alter:
+ alter_text: false
+ make_link: false
+ absolute: false
+ trim: false
+ word_boundary: false
+ ellipsis: false
+ strip_tags: false
+ html: false
+ hide_empty: false
+ empty_zero: false
+ settings:
+ link_to_entity: true
+ plugin_id: field
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: Title
+ exclude: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ field_description:
+ id: field_description
+ table: node__field_description
+ field: field_description
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: Description
+ exclude: false
+ alter:
+ alter_text: false
+ text: ''
+ make_link: false
+ path: ''
+ absolute: false
+ external: false
+ replace_spaces: false
+ path_case: none
+ trim_whitespace: false
+ alt: ''
+ rel: ''
+ link_class: ''
+ prefix: ''
+ suffix: ''
+ target: ''
+ nl2br: false
+ max_length: 0
+ word_boundary: true
+ ellipsis: true
+ more_link: false
+ more_link_text: ''
+ more_link_path: ''
+ strip_tags: false
+ trim: false
+ preserve_tags: ''
+ html: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: value
+ type: basic_string
+ settings: { }
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ plugin_id: field
+ field_manual:
+ id: field_manual
+ table: node__field_manual
+ field: field_manual
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: Manual
+ exclude: false
+ alter:
+ alter_text: false
+ text: ''
+ make_link: false
+ path: ''
+ absolute: false
+ external: false
+ replace_spaces: false
+ path_case: none
+ trim_whitespace: false
+ alt: ''
+ rel: ''
+ link_class: ''
+ prefix: ''
+ suffix: ''
+ target: ''
+ nl2br: false
+ max_length: 0
+ word_boundary: true
+ ellipsis: true
+ more_link: false
+ more_link_text: ''
+ more_link_path: ''
+ strip_tags: false
+ trim: false
+ preserve_tags: ''
+ html: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: target_id
+ type: file_default
+ settings:
+ use_description_as_link_text: true
+ group_column: ''
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ plugin_id: field
+ filters:
+ status:
+ value: '1'
+ table: node_field_data
+ field: status
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ id: status
+ expose:
+ operator: ''
+ group: 1
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ lab_manual: lab_manual
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: 'Lab Manual'
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.field_description'
+ - 'config:field.storage.node.field_manual'
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: lab-manual
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.field_description'
+ - 'config:field.storage.node.field_manual'
diff --git a/modules/esha/labmanual/config/install/core.entity_view_mode.node.teaser.yml b/modules/esha/labmanual/config/install/core.entity_view_mode.node.teaser.yml
deleted file mode 100644
index ce0398e..0000000
--- a/modules/esha/labmanual/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:
- - labmanual
-_core:
- default_config_hash: Mz9qWr1kUYK0mjRAGDsr5XS6PvtZ24en_7ndt-pyWe4
-id: node.teaser
-label: Teaser
-targetEntityType: node
-cache: true
diff --git a/modules/esha/labmanual/config/install/field.storage.node.field_description.yml b/modules/esha/labmanual/config/install/field.storage.node.field_description.yml
index f272899..6efdf35 100644
--- a/modules/esha/labmanual/config/install/field.storage.node.field_description.yml
+++ b/modules/esha/labmanual/config/install/field.storage.node.field_description.yml
@@ -1,4 +1,3 @@
-uuid: 2607b4e4-518c-4aff-9b49-5f398e718487
langcode: en
status: true
dependencies:
diff --git a/modules/esha/labmanual/config/install/field.storage.node.field_manual.yml b/modules/esha/labmanual/config/install/field.storage.node.field_manual.yml
index 9070112..19b2ceb 100644
--- a/modules/esha/labmanual/config/install/field.storage.node.field_manual.yml
+++ b/modules/esha/labmanual/config/install/field.storage.node.field_manual.yml
@@ -1,4 +1,3 @@
-uuid: 9772805f-ffb2-443f-afdd-0bc6dfd48416
langcode: en
status: true
dependencies:
diff --git a/modules/esha/labmanual/config/install/views.view.lab_manual.yml b/modules/esha/labmanual/config/install/views.view.lab_manual.yml
new file mode 100644
index 0000000..705a7cd
--- /dev/null
+++ b/modules/esha/labmanual/config/install/views.view.lab_manual.yml
@@ -0,0 +1,320 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_description
+ - field.storage.node.field_manual
+ - node.type.lab_manual
+ module:
+ - file
+ - node
+ - user
+id: lab_manual
+label: 'Lab Manual'
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: mini
+ options:
+ items_per_page: 20
+ offset: 0
+ id: 0
+ total_pages: null
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ tags:
+ previous: ‹‹
+ next: ››
+ style:
+ type: table
+ row:
+ type: fields
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ entity_type: node
+ entity_field: title
+ alter:
+ alter_text: false
+ make_link: false
+ absolute: false
+ trim: false
+ word_boundary: false
+ ellipsis: false
+ strip_tags: false
+ html: false
+ hide_empty: false
+ empty_zero: false
+ settings:
+ link_to_entity: true
+ plugin_id: field
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: Title
+ exclude: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ field_description:
+ id: field_description
+ table: node__field_description
+ field: field_description
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: Description
+ exclude: false
+ alter:
+ alter_text: false
+ text: ''
+ make_link: false
+ path: ''
+ absolute: false
+ external: false
+ replace_spaces: false
+ path_case: none
+ trim_whitespace: false
+ alt: ''
+ rel: ''
+ link_class: ''
+ prefix: ''
+ suffix: ''
+ target: ''
+ nl2br: false
+ max_length: 0
+ word_boundary: true
+ ellipsis: true
+ more_link: false
+ more_link_text: ''
+ more_link_path: ''
+ strip_tags: false
+ trim: false
+ preserve_tags: ''
+ html: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: value
+ type: basic_string
+ settings: { }
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ plugin_id: field
+ field_manual:
+ id: field_manual
+ table: node__field_manual
+ field: field_manual
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: Manual
+ exclude: false
+ alter:
+ alter_text: false
+ text: ''
+ make_link: false
+ path: ''
+ absolute: false
+ external: false
+ replace_spaces: false
+ path_case: none
+ trim_whitespace: false
+ alt: ''
+ rel: ''
+ link_class: ''
+ prefix: ''
+ suffix: ''
+ target: ''
+ nl2br: false
+ max_length: 0
+ word_boundary: true
+ ellipsis: true
+ more_link: false
+ more_link_text: ''
+ more_link_path: ''
+ strip_tags: false
+ trim: false
+ preserve_tags: ''
+ html: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: target_id
+ type: file_default
+ settings:
+ use_description_as_link_text: true
+ group_column: ''
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ plugin_id: field
+ filters:
+ status:
+ value: '1'
+ table: node_field_data
+ field: status
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ id: status
+ expose:
+ operator: ''
+ group: 1
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ lab_manual: lab_manual
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: 'Lab Manual'
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.field_description'
+ - 'config:field.storage.node.field_manual'
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: lab-manual
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.field_description'
+ - 'config:field.storage.node.field_manual'
diff --git a/modules/esha/labmanual/templates/labmanual.html.twig b/modules/esha/labmanual/templates/labmanual.html.twig
deleted file mode 100644
index 91e43c8..0000000
--- a/modules/esha/labmanual/templates/labmanual.html.twig
+++ /dev/null
@@ -1 +0,0 @@
-<!-- Add you custom twig html here --> \ No newline at end of file
diff --git a/modules/esha/labmanual/tests/src/Functional/LoadTest.php b/modules/esha/labmanual/tests/src/Functional/LoadTest.php
deleted file mode 100644
index e548812..0000000
--- a/modules/esha/labmanual/tests/src/Functional/LoadTest.php
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-
-namespace Drupal\Tests\labmanual\Functional;
-
-use Drupal\Core\Url;
-use Drupal\Tests\BrowserTestBase;
-
-/**
- * Simple test to ensure that main page loads with module enabled.
- *
- * @group labmanual
- */
-class LoadTest extends BrowserTestBase {
-
- /**
- * Modules to enable.
- *
- * @var array
- */
- public static $modules = ['labmanual'];
-
- /**
- * 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);
- }
-
-}
diff --git a/modules/esha/onlinecourse/composer.json b/modules/esha/onlinecourse/composer.json
index 9d4a149..c7aa5b1 100644
--- a/modules/esha/onlinecourse/composer.json
+++ b/modules/esha/onlinecourse/composer.json
@@ -1,7 +1,7 @@
{
"name": "drupal/onlinecourse",
"type": "drupal-module",
- "description": "My Awesome Module",
+ "description": "Module for Content Type online_course",
"keywords": ["Drupal"],
"license": "GPL-2.0+",
"homepage": "https://www.drupal.org/project/onlinecourse",
diff --git a/modules/esha/onlinecourse/config/install/core.entity_form_display.node.online_course.default.yml b/modules/esha/onlinecourse/config/install/core.entity_form_display.node.online_course.default.yml
index 86b561a..ef8ff26 100644
--- a/modules/esha/onlinecourse/config/install/core.entity_form_display.node.online_course.default.yml
+++ b/modules/esha/onlinecourse/config/install/core.entity_form_display.node.online_course.default.yml
@@ -9,6 +9,9 @@ dependencies:
module:
- link
- path
+ enforced:
+ module:
+ online_course
id: node.online_course.default
targetEntityType: node
bundle: online_course
diff --git a/modules/esha/onlinecourse/config/install/core.entity_view_display.node.online_course.default.yml b/modules/esha/onlinecourse/config/install/core.entity_view_display.node.online_course.default.yml
index a774ce8..659d2b2 100644
--- a/modules/esha/onlinecourse/config/install/core.entity_view_display.node.online_course.default.yml
+++ b/modules/esha/onlinecourse/config/install/core.entity_view_display.node.online_course.default.yml
@@ -9,6 +9,9 @@ dependencies:
module:
- link
- user
+ enforced:
+ module:
+ online_course
id: node.online_course.default
targetEntityType: node
bundle: online_course
diff --git a/modules/esha/onlinecourse/config/install/core.entity_view_display.node.online_course.teaser.yml b/modules/esha/onlinecourse/config/install/core.entity_view_display.node.online_course.teaser.yml
index 79dc5ec..4f1d50a 100644
--- a/modules/esha/onlinecourse/config/install/core.entity_view_display.node.online_course.teaser.yml
+++ b/modules/esha/onlinecourse/config/install/core.entity_view_display.node.online_course.teaser.yml
@@ -8,6 +8,9 @@ dependencies:
- node.type.online_course
module:
- user
+ enforced:
+ module:
+ online_course
id: node.online_course.teaser
targetEntityType: node
bundle: online_course
diff --git a/modules/esha/onlinecourse/config/install/core.entity_view_mode.node.teaser.yml b/modules/esha/onlinecourse/config/install/core.entity_view_mode.node.teaser.yml
deleted file mode 100644
index fb7a35a..0000000
--- a/modules/esha/onlinecourse/config/install/core.entity_view_mode.node.teaser.yml
+++ /dev/null
@@ -1,12 +0,0 @@
-uuid: eae4e8eb-df75-49ff-b350-c4bd59679b36
-langcode: en
-status: true
-dependencies:
- module:
- - node
-_core:
- default_config_hash: Mz9qWr1kUYK0mjRAGDsr5XS6PvtZ24en_7ndt-pyWe4
-id: node.teaser
-label: Teaser
-targetEntityType: node
-cache: true
diff --git a/modules/esha/onlinecourse/config/install/field.field.node.online_course.field_faculty_name.yml b/modules/esha/onlinecourse/config/install/field.field.node.online_course.field_faculty_name.yml
index c5ea1a1..c1d3513 100644
--- a/modules/esha/onlinecourse/config/install/field.field.node.online_course.field_faculty_name.yml
+++ b/modules/esha/onlinecourse/config/install/field.field.node.online_course.field_faculty_name.yml
@@ -5,6 +5,9 @@ dependencies:
- field.storage.node.field_faculty_name
- node.type.fac_page
- node.type.online_course
+ enforced:
+ module:
+ online_course
id: node.online_course.field_faculty_name
field_name: field_faculty_name
entity_type: node
diff --git a/modules/esha/onlinecourse/config/install/field.field.node.online_course.field_link_to_cour.yml b/modules/esha/onlinecourse/config/install/field.field.node.online_course.field_link_to_cour.yml
index fddd4ed..74e3531 100644
--- a/modules/esha/onlinecourse/config/install/field.field.node.online_course.field_link_to_cour.yml
+++ b/modules/esha/onlinecourse/config/install/field.field.node.online_course.field_link_to_cour.yml
@@ -6,6 +6,9 @@ dependencies:
- node.type.online_course
module:
- link
+ enforced:
+ module:
+ online_course
id: node.online_course.field_link_to_cour
field_name: field_link_to_cour
entity_type: node
diff --git a/modules/esha/onlinecourse/config/install/field.field.node.online_course.field_offered_by.yml b/modules/esha/onlinecourse/config/install/field.field.node.online_course.field_offered_by.yml
index 973b204..08fac16 100644
--- a/modules/esha/onlinecourse/config/install/field.field.node.online_course.field_offered_by.yml
+++ b/modules/esha/onlinecourse/config/install/field.field.node.online_course.field_offered_by.yml
@@ -4,6 +4,9 @@ dependencies:
config:
- field.storage.node.field_offered_by
- node.type.online_course
+ enforced:
+ module:
+ online_course
id: node.online_course.field_offered_by
field_name: field_offered_by
entity_type: node
diff --git a/modules/esha/onlinecourse/config/install/field.storage.node.field_faculty_name.yml b/modules/esha/onlinecourse/config/install/field.storage.node.field_faculty_name.yml
index d7653f8..5cd1b7a 100644
--- a/modules/esha/onlinecourse/config/install/field.storage.node.field_faculty_name.yml
+++ b/modules/esha/onlinecourse/config/install/field.storage.node.field_faculty_name.yml
@@ -4,6 +4,9 @@ status: true
dependencies:
module:
- node
+ enforced:
+ module:
+ online_course
id: node.field_faculty_name
field_name: field_faculty_name
entity_type: node
diff --git a/modules/esha/onlinecourse/config/install/field.storage.node.field_link_to_cour.yml b/modules/esha/onlinecourse/config/install/field.storage.node.field_link_to_cour.yml
index 86d2592..58eb169 100644
--- a/modules/esha/onlinecourse/config/install/field.storage.node.field_link_to_cour.yml
+++ b/modules/esha/onlinecourse/config/install/field.storage.node.field_link_to_cour.yml
@@ -5,6 +5,9 @@ dependencies:
module:
- link
- node
+ enforced:
+ module:
+ online_course
id: node.field_link_to_cour
field_name: field_link_to_cour
entity_type: node
diff --git a/modules/esha/onlinecourse/config/install/field.storage.node.field_offered_by.yml b/modules/esha/onlinecourse/config/install/field.storage.node.field_offered_by.yml
index 6cf5567..83d4cac 100644
--- a/modules/esha/onlinecourse/config/install/field.storage.node.field_offered_by.yml
+++ b/modules/esha/onlinecourse/config/install/field.storage.node.field_offered_by.yml
@@ -4,6 +4,9 @@ status: true
dependencies:
module:
- node
+ enforced:
+ module:
+ online_course
id: node.field_offered_by
field_name: field_offered_by
entity_type: node
diff --git a/modules/esha/onlinecourse/config/install/node.type.fac_page.yml b/modules/esha/onlinecourse/config/install/node.type.fac_page.yml
deleted file mode 100644
index 47f8ffb..0000000
--- a/modules/esha/onlinecourse/config/install/node.type.fac_page.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-uuid: b7471e78-83f0-4359-9512-d4a8f02c2218
-langcode: en
-status: true
-dependencies:
- enforced:
- module:
- - acadmix_faculty
- module:
- - menu_ui
-third_party_settings:
- menu_ui:
- available_menus:
- - main
- parent: 'main:'
-_core:
- default_config_hash: yZnGgm-oTEuH3Qz8VcW49f94qFn-pYOYZdrX601an0U
-name: 'Faculty Page'
-type: fac_page
-description: 'Content template for opening Faculty Page'
-help: ''
-new_revision: true
-preview_mode: 1
-display_submitted: false
diff --git a/modules/esha/onlinecourse/config/install/node.type.online_course.yml b/modules/esha/onlinecourse/config/install/node.type.online_course.yml
index 4f492e6..9811a1b 100644
--- a/modules/esha/onlinecourse/config/install/node.type.online_course.yml
+++ b/modules/esha/onlinecourse/config/install/node.type.online_course.yml
@@ -3,6 +3,9 @@ status: true
dependencies:
module:
- menu_ui
+ enforced:
+ module:
+ online_course
third_party_settings:
menu_ui:
available_menus:
diff --git a/modules/esha/onlinecourse/config/install/views.view.faculty_online_courses.yml b/modules/esha/onlinecourse/config/install/views.view.faculty_online_courses.yml
new file mode 100644
index 0000000..75fe5d4
--- /dev/null
+++ b/modules/esha/onlinecourse/config/install/views.view.faculty_online_courses.yml
@@ -0,0 +1,298 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_faculty_name
+ - field.storage.node.field_link_to_cour
+ - field.storage.node.field_offered_by
+ - node.type.online_course
+ module:
+ - link
+ - node
+ - user
+id: faculty_online_courses
+label: 'Faculty Online Courses'
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: mini
+ options:
+ items_per_page: 15
+ offset: 0
+ id: 0
+ total_pages: null
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ tags:
+ previous: ‹‹
+ next: ››
+ style:
+ type: table
+ row:
+ type: fields
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ entity_type: node
+ entity_field: title
+ alter:
+ alter_text: false
+ make_link: false
+ absolute: false
+ trim: false
+ word_boundary: false
+ ellipsis: false
+ strip_tags: false
+ html: false
+ hide_empty: false
+ empty_zero: false
+ settings:
+ link_to_entity: true
+ plugin_id: field
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: Title
+ exclude: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ field_faculty_name:
+ id: field_faculty_name
+ table: node__field_faculty_name
+ field: field_faculty_name
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: 'Faculty name'
+ exclude: false
+ alter:
+ alter_text: false
+ text: ''
+ make_link: false
+ path: ''
+ absolute: false
+ external: false
+ replace_spaces: false
+ path_case: none
+ trim_whitespace: false
+ alt: ''
+ rel: ''
+ link_class: ''
+ prefix: ''
+ suffix: ''
+ target: ''
+ nl2br: false
+ max_length: 0
+ word_boundary: true
+ ellipsis: true
+ more_link: false
+ more_link_text: ''
+ more_link_path: ''
+ strip_tags: false
+ trim: false
+ preserve_tags: ''
+ html: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: target_id
+ type: entity_reference_label
+ settings:
+ link: true
+ group_column: target_id
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ plugin_id: field
+ field_link_to_cour:
+ id: field_link_to_cour
+ table: node__field_link_to_cour
+ field: field_link_to_cour
+ plugin_id: field
+ field_offered_by:
+ id: field_offered_by
+ table: node__field_offered_by
+ field: field_offered_by
+ plugin_id: field
+ filters:
+ status:
+ id: status
+ table: node_field_data
+ field: status
+ relationship: none
+ group_type: group
+ admin_label: ''
+ operator: '='
+ value: '1'
+ group: 1
+ exposed: false
+ expose:
+ operator_id: ''
+ label: ''
+ description: ''
+ use_operator: false
+ operator: ''
+ identifier: ''
+ required: false
+ remember: false
+ multiple: false
+ remember_roles:
+ authenticated: authenticated
+ is_grouped: false
+ group_info:
+ label: ''
+ description: ''
+ identifier: ''
+ optional: true
+ widget: select
+ multiple: false
+ remember: false
+ default_group: All
+ default_group_multiple: { }
+ group_items: { }
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ online_course: online_course
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: 'Faculty Online Courses'
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.field_faculty_name'
+ - 'config:field.storage.node.field_link_to_cour'
+ - 'config:field.storage.node.field_offered_by'
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: faculty-online-courses
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.field_faculty_name'
+ - 'config:field.storage.node.field_link_to_cour'
+ - 'config:field.storage.node.field_offered_by'
diff --git a/modules/esha/onlinecourse/onlinecourse.info.yml b/modules/esha/onlinecourse/onlinecourse.info.yml
index 91191b6..2074bbe 100644
--- a/modules/esha/onlinecourse/onlinecourse.info.yml
+++ b/modules/esha/onlinecourse/onlinecourse.info.yml
@@ -1,6 +1,6 @@
name: 'onlineCourse'
type: module
-description: 'My Awesome Module'
+description: 'Module for Content Type online_course'
core: 8.x
package: 'Custom'
dependencies:
@@ -9,4 +9,5 @@ dependencies:
- drupal:path
- drupal:user
- drupal:node
- - drupal:menu_ui \ No newline at end of file
+ - drupal:menu_ui
+ - acadmix_faculty:acadmix_faculty \ No newline at end of file
diff --git a/modules/esha/onlinecourse/templates/onlinecourse.html.twig b/modules/esha/onlinecourse/templates/onlinecourse.html.twig
deleted file mode 100644
index 91e43c8..0000000
--- a/modules/esha/onlinecourse/templates/onlinecourse.html.twig
+++ /dev/null
@@ -1 +0,0 @@
-<!-- Add you custom twig html here --> \ No newline at end of file
diff --git a/modules/esha/onlinecourse/tests/src/Functional/LoadTest.php b/modules/esha/onlinecourse/tests/src/Functional/LoadTest.php
deleted file mode 100644
index a25c263..0000000
--- a/modules/esha/onlinecourse/tests/src/Functional/LoadTest.php
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-
-namespace Drupal\Tests\onlinecourse\Functional;
-
-use Drupal\Core\Url;
-use Drupal\Tests\BrowserTestBase;
-
-/**
- * Simple test to ensure that main page loads with module enabled.
- *
- * @group onlinecourse
- */
-class LoadTest extends BrowserTestBase {
-
- /**
- * Modules to enable.
- *
- * @var array
- */
- public static $modules = ['onlinecourse'];
-
- /**
- * 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);
- }
-
-}
diff --git a/modules/esha/placements/config/install/core.entity_view_mode.node.teaser.yml b/modules/esha/placements/config/install/core.entity_view_mode.node.teaser.yml
deleted file mode 100644
index f09eef8..0000000
--- a/modules/esha/placements/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:
- - placements
-_core:
- default_config_hash: Mz9qWr1kUYK0mjRAGDsr5XS6PvtZ24en_7ndt-pyWe4
-id: node.teaser
-label: Teaser
-targetEntityType: node
-cache: true
diff --git a/modules/esha/placements/config/install/field.storage.node.body.yml b/modules/esha/placements/config/install/field.storage.node.body.yml
deleted file mode 100644
index 821a97a..0000000
--- a/modules/esha/placements/config/install/field.storage.node.body.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-uuid: d15ccb4d-ffc3-42ae-abaa-012960942a15
-langcode: en
-status: true
-dependencies:
- module:
- - node
- - text
- enforced:
- module:
- - placements
-_core:
- default_config_hash: EBUo7qOWqaiZaQ_RC9sLY5IoDKphS34v77VIHSACmVY
-id: node.body
-field_name: body
-entity_type: node
-type: text_with_summary
-settings: { }
-module: text
-locked: false
-cardinality: 1
-translatable: true
-indexes: { }
-persist_with_no_fields: true
-custom_storage: false
diff --git a/modules/esha/placements/config/install/views.view.placement_details.yml b/modules/esha/placements/config/install/views.view.placement_details.yml
new file mode 100644
index 0000000..d7bca8a
--- /dev/null
+++ b/modules/esha/placements/config/install/views.view.placement_details.yml
@@ -0,0 +1,351 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_total_students_placed
+ - node.type.placements
+ - taxonomy.vocabulary.placement_year
+ content:
+ - 'taxonomy_term:placement_year:1d31f310-a1a3-41dc-9e57-f84689e615c1'
+ - 'taxonomy_term:placement_year:2d7f60dc-ca0d-4a03-b18b-fc8d0b061ab9'
+ - 'taxonomy_term:placement_year:4d8e9a66-e43e-4e97-b658-f1c701fc7716'
+ - 'taxonomy_term:placement_year:6b8cefa4-a0da-437a-8d63-28283f798011'
+ module:
+ - node
+ - taxonomy
+ - user
+id: placement_details
+label: 'Placement Details'
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: mini
+ options:
+ items_per_page: 25
+ offset: 0
+ id: 0
+ total_pages: null
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ tags:
+ previous: ‹‹
+ next: ››
+ style:
+ type: table
+ row:
+ type: fields
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ entity_type: node
+ entity_field: title
+ alter:
+ alter_text: false
+ make_link: false
+ absolute: false
+ trim: false
+ word_boundary: false
+ ellipsis: false
+ strip_tags: false
+ html: false
+ hide_empty: false
+ empty_zero: false
+ settings:
+ link_to_entity: true
+ plugin_id: field
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: Title
+ exclude: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ field_total_students_placed:
+ id: field_total_students_placed
+ table: node__field_total_students_placed
+ field: field_total_students_placed
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: 'Total Students Placed'
+ exclude: false
+ alter:
+ alter_text: false
+ text: ''
+ make_link: false
+ path: ''
+ absolute: false
+ external: false
+ replace_spaces: false
+ path_case: none
+ trim_whitespace: false
+ alt: ''
+ rel: ''
+ link_class: ''
+ prefix: ''
+ suffix: ''
+ target: ''
+ nl2br: false
+ max_length: 0
+ word_boundary: true
+ ellipsis: true
+ more_link: false
+ more_link_text: ''
+ more_link_path: ''
+ strip_tags: false
+ trim: false
+ preserve_tags: ''
+ html: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: value
+ type: number_integer
+ settings:
+ thousand_separator: ''
+ prefix_suffix: true
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ plugin_id: field
+ filters:
+ status:
+ value: '1'
+ table: node_field_data
+ field: status
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ id: status
+ expose:
+ operator: ''
+ group: 1
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ placements: placements
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ field_year_target_id:
+ id: field_year_target_id
+ table: node__field_year
+ field: field_year_target_id
+ relationship: none
+ group_type: group
+ admin_label: ''
+ operator: or
+ value:
+ 39: 39
+ 40: 40
+ 41: 41
+ 42: 42
+ group: 1
+ exposed: true
+ expose:
+ operator_id: field_year_target_id_op
+ label: 'Year (field_year)'
+ description: ''
+ use_operator: false
+ operator: field_year_target_id_op
+ identifier: field_year_target_id
+ required: false
+ remember: false
+ multiple: false
+ remember_roles:
+ authenticated: authenticated
+ anonymous: '0'
+ administrator: '0'
+ reduce: false
+ is_grouped: false
+ group_info:
+ label: ''
+ description: ''
+ identifier: ''
+ optional: true
+ widget: select
+ multiple: false
+ remember: false
+ default_group: All
+ default_group_multiple: { }
+ group_items: { }
+ reduce_duplicates: false
+ type: select
+ limit: true
+ vid: placement_year
+ hierarchy: false
+ error_message: true
+ plugin_id: taxonomy_index_tid
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: 'Placement Details'
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments:
+ field_year_target_id:
+ id: field_year_target_id
+ table: node__field_year
+ field: field_year_target_id
+ relationship: none
+ group_type: group
+ admin_label: ''
+ default_action: ignore
+ exception:
+ value: all
+ title_enable: false
+ title: All
+ title_enable: true
+ title: ''
+ default_argument_type: fixed
+ default_argument_options:
+ argument: ''
+ default_argument_skip_url: false
+ summary_options:
+ base_path: ''
+ count: true
+ items_per_page: 25
+ override: false
+ summary:
+ sort_order: asc
+ number_of_records: 0
+ format: default_summary
+ specify_validation: true
+ validate:
+ type: none
+ fail: 'not found'
+ validate_options: { }
+ break_phrase: false
+ not: false
+ plugin_id: numeric
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url
+ - url.query_args
+ - user
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.field_total_students_placed'
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: placement-details
+ exposed_block: false
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url
+ - url.query_args
+ - user
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.field_total_students_placed'
diff --git a/modules/esha/placements/templates/placements.html.twig b/modules/esha/placements/templates/placements.html.twig
deleted file mode 100644
index 91e43c8..0000000
--- a/modules/esha/placements/templates/placements.html.twig
+++ /dev/null
@@ -1 +0,0 @@
-<!-- Add you custom twig html here --> \ No newline at end of file
diff --git a/modules/esha/placements/tests/src/Functional/LoadTest.php b/modules/esha/placements/tests/src/Functional/LoadTest.php
deleted file mode 100644
index fd19fb6..0000000
--- a/modules/esha/placements/tests/src/Functional/LoadTest.php
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-
-namespace Drupal\Tests\placements\Functional;
-
-use Drupal\Core\Url;
-use Drupal\Tests\BrowserTestBase;
-
-/**
- * Simple test to ensure that main page loads with module enabled.
- *
- * @group placements
- */
-class LoadTest extends BrowserTestBase {
-
- /**
- * Modules to enable.
- *
- * @var array
- */
- public static $modules = ['placements'];
-
- /**
- * 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);
- }
-
-}
diff --git a/modules/esha/programs/composer.json b/modules/esha/programs/composer.json
index 9889ab7..c701dcc 100644
--- a/modules/esha/programs/composer.json
+++ b/modules/esha/programs/composer.json
@@ -1,7 +1,7 @@
{
"name": "drupal/programs",
"type": "drupal-module",
- "description": "Module for Content Type Programs Offered",
+ "description": "Module for Content Type programs_offered",
"keywords": ["Drupal"],
"license": "GPL-2.0+",
"homepage": "https://www.drupal.org/project/programs",
diff --git a/modules/esha/programs/config/install/views.view.programs_offered_.yml b/modules/esha/programs/config/install/views.view.programs_offered_.yml
new file mode 100644
index 0000000..0ab632d
--- /dev/null
+++ b/modules/esha/programs/config/install/views.view.programs_offered_.yml
@@ -0,0 +1,191 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.full
+ - node.type.p
+ module:
+ - node
+ - user
+id: programs_offered_
+label: 'Programs offered'
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: mini
+ options:
+ items_per_page: 10
+ offset: 0
+ id: 0
+ total_pages: null
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ tags:
+ previous: ‹‹
+ next: ››
+ style:
+ type: default
+ row:
+ type: 'entity:node'
+ options:
+ view_mode: full
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ entity_type: node
+ entity_field: title
+ label: ''
+ alter:
+ alter_text: false
+ make_link: false
+ absolute: false
+ trim: false
+ word_boundary: false
+ ellipsis: false
+ strip_tags: false
+ html: false
+ hide_empty: false
+ empty_zero: false
+ settings:
+ link_to_entity: true
+ plugin_id: field
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exclude: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ filters:
+ status:
+ value: '1'
+ table: node_field_data
+ field: status
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ id: status
+ expose:
+ operator: ''
+ group: 1
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ p: p
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: 'Programs offered'
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: programs-offered
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
diff --git a/modules/esha/programs/programs.info.yml b/modules/esha/programs/programs.info.yml
index 284cbaa..850830f 100644
--- a/modules/esha/programs/programs.info.yml
+++ b/modules/esha/programs/programs.info.yml
@@ -1,6 +1,6 @@
name: 'programs'
type: module
-description: 'Module for Content Type Programs Offered'
+description: 'Module for Content Type programs_offered'
core: 8.x
package: 'Custom'
dependencies:
diff --git a/modules/esha/programs/templates/programs.html.twig b/modules/esha/programs/templates/programs.html.twig
deleted file mode 100644
index 91e43c8..0000000
--- a/modules/esha/programs/templates/programs.html.twig
+++ /dev/null
@@ -1 +0,0 @@
-<!-- Add you custom twig html here --> \ No newline at end of file
diff --git a/modules/esha/programs/tests/src/Functional/LoadTest.php b/modules/esha/programs/tests/src/Functional/LoadTest.php
deleted file mode 100644
index 8d3d7ab..0000000
--- a/modules/esha/programs/tests/src/Functional/LoadTest.php
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-
-namespace Drupal\Tests\programs\Functional;
-
-use Drupal\Core\Url;
-use Drupal\Tests\BrowserTestBase;
-
-/**
- * Simple test to ensure that main page loads with module enabled.
- *
- * @group programs
- */
-class LoadTest extends BrowserTestBase {
-
- /**
- * Modules to enable.
- *
- * @var array
- */
- public static $modules = ['programs'];
-
- /**
- * 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);
- }
-
-}
diff --git a/modules/esha/sig/config/install/core.entity_view_mode.node.teaser.yml b/modules/esha/sig/config/install/core.entity_view_mode.node.teaser.yml
deleted file mode 100644
index 138bd3c..0000000
--- a/modules/esha/sig/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:
- - sig
-_core:
- default_config_hash: Mz9qWr1kUYK0mjRAGDsr5XS6PvtZ24en_7ndt-pyWe4
-id: node.teaser
-label: Teaser
-targetEntityType: node
-cache: true
diff --git a/modules/esha/sig/config/install/node.type.fac_page.yml b/modules/esha/sig/config/install/node.type.fac_page.yml
deleted file mode 100644
index 5fd2e1e..0000000
--- a/modules/esha/sig/config/install/node.type.fac_page.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-uuid: b7471e78-83f0-4359-9512-d4a8f02c2218
-langcode: en
-status: true
-dependencies:
- enforced:
- module:
- - acadmix_faculty
- module:
- - menu_ui
- enforced:
- module:
- - sig
-third_party_settings:
- menu_ui:
- available_menus:
- - main
- parent: 'main:'
-_core:
- default_config_hash: yZnGgm-oTEuH3Qz8VcW49f94qFn-pYOYZdrX601an0U
-name: 'Faculty Page'
-type: fac_page
-description: 'Content template for opening Faculty Page'
-help: ''
-new_revision: true
-preview_mode: 1
-display_submitted: false
diff --git a/modules/esha/sig/config/install/views.view.sig.yml b/modules/esha/sig/config/install/views.view.sig.yml
new file mode 100644
index 0000000..dfcfa11
--- /dev/null
+++ b/modules/esha/sig/config/install/views.view.sig.yml
@@ -0,0 +1,289 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_faculty_head
+ - field.storage.node.field_sig_members
+ - node.type.special_interest_groups
+ module:
+ - node
+ - user
+id: sig
+label: SIG
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: mini
+ options:
+ items_per_page: 10
+ offset: 0
+ id: 0
+ total_pages: null
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ tags:
+ previous: ‹‹
+ next: ››
+ style:
+ type: table
+ row:
+ type: fields
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ entity_type: node
+ entity_field: title
+ alter:
+ alter_text: false
+ make_link: false
+ absolute: false
+ trim: false
+ word_boundary: false
+ ellipsis: false
+ strip_tags: false
+ html: false
+ hide_empty: false
+ empty_zero: false
+ settings:
+ link_to_entity: true
+ plugin_id: field
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: Title
+ exclude: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ field_faculty_head:
+ id: field_faculty_head
+ table: node__field_faculty_head
+ field: field_faculty_head
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: 'Faculty Head'
+ exclude: false
+ alter:
+ alter_text: false
+ text: ''
+ make_link: false
+ path: ''
+ absolute: false
+ external: false
+ replace_spaces: false
+ path_case: none
+ trim_whitespace: false
+ alt: ''
+ rel: ''
+ link_class: ''
+ prefix: ''
+ suffix: ''
+ target: ''
+ nl2br: false
+ max_length: 0
+ word_boundary: true
+ ellipsis: true
+ more_link: false
+ more_link_text: ''
+ more_link_path: ''
+ strip_tags: false
+ trim: false
+ preserve_tags: ''
+ html: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: target_id
+ type: entity_reference_label
+ settings:
+ link: true
+ group_column: target_id
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ plugin_id: field
+ field_sig_members:
+ id: field_sig_members
+ table: node__field_sig_members
+ field: field_sig_members
+ plugin_id: field
+ filters:
+ status:
+ id: status
+ table: node_field_data
+ field: status
+ relationship: none
+ group_type: group
+ admin_label: ''
+ operator: '='
+ value: '1'
+ group: 1
+ exposed: false
+ expose:
+ operator_id: ''
+ label: ''
+ description: ''
+ use_operator: false
+ operator: ''
+ identifier: ''
+ required: false
+ remember: false
+ multiple: false
+ remember_roles:
+ authenticated: authenticated
+ is_grouped: false
+ group_info:
+ label: ''
+ description: ''
+ identifier: ''
+ optional: true
+ widget: select
+ multiple: false
+ remember: false
+ default_group: All
+ default_group_multiple: { }
+ group_items: { }
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ special_interest_groups: special_interest_groups
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: SIG
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.field_faculty_head'
+ - 'config:field.storage.node.field_sig_members'
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: sig
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.field_faculty_head'
+ - 'config:field.storage.node.field_sig_members'
diff --git a/modules/esha/sig/sig.info.yml b/modules/esha/sig/sig.info.yml
index 94c6b38..386ebed 100644
--- a/modules/esha/sig/sig.info.yml
+++ b/modules/esha/sig/sig.info.yml
@@ -8,3 +8,4 @@ dependencies:
- drupal:node
- drupal:user
- drupal:menu_ui
+ - acadmix_faculty:acadmix_faculty \ No newline at end of file
diff --git a/modules/esha/sig/templates/sig.html.twig b/modules/esha/sig/templates/sig.html.twig
deleted file mode 100644
index 91e43c8..0000000
--- a/modules/esha/sig/templates/sig.html.twig
+++ /dev/null
@@ -1 +0,0 @@
-<!-- Add you custom twig html here --> \ No newline at end of file
diff --git a/modules/esha/sig/tests/src/Functional/LoadTest.php b/modules/esha/sig/tests/src/Functional/LoadTest.php
deleted file mode 100644
index 8b87e58..0000000
--- a/modules/esha/sig/tests/src/Functional/LoadTest.php
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-
-namespace Drupal\Tests\sig\Functional;
-
-use Drupal\Core\Url;
-use Drupal\Tests\BrowserTestBase;
-
-/**
- * Simple test to ensure that main page loads with module enabled.
- *
- * @group sig
- */
-class LoadTest extends BrowserTestBase {
-
- /**
- * Modules to enable.
- *
- * @var array
- */
- public static $modules = ['sig'];
-
- /**
- * 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);
- }
-
-}