summaryrefslogtreecommitdiff
path: root/modules/esha/onlinecourse/config/install
diff options
context:
space:
mode:
authorEsha2019-07-03 16:04:14 +0530
committerEsha2019-07-03 16:04:14 +0530
commitba88b16a779c8be43a8e6db6c501b8548d962fa9 (patch)
treee48dbc936e52541ec3189140cf6b6ba0fa79c12e /modules/esha/onlinecourse/config/install
parent141ce8c97abe36f1f8bb06a38623e93563d6c618 (diff)
downloadacadmix_distribution-ba88b16a779c8be43a8e6db6c501b8548d962fa9.tar.gz
acadmix_distribution-ba88b16a779c8be43a8e6db6c501b8548d962fa9.tar.bz2
acadmix_distribution-ba88b16a779c8be43a8e6db6c501b8548d962fa9.zip
changes made and views added
Diffstat (limited to 'modules/esha/onlinecourse/config/install')
-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
13 files changed, 328 insertions, 35 deletions
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'