summaryrefslogtreecommitdiff
path: root/modules/mansimran/academic_research/config
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mansimran/academic_research/config')
-rw-r--r--modules/mansimran/academic_research/config/install/core.entity_form_display.node.academic_research_.default.yml108
-rw-r--r--modules/mansimran/academic_research/config/install/core.entity_view_display.node.academic_research_.default.yml51
-rw-r--r--modules/mansimran/academic_research/config/install/core.entity_view_display.node.academic_research_.teaser.yml33
-rw-r--r--modules/mansimran/academic_research/config/install/field.field.node.academic_research_.body.yml24
-rw-r--r--modules/mansimran/academic_research/config/install/field.field.node.academic_research_.field_lab_facilities.yml42
-rw-r--r--modules/mansimran/academic_research/config/install/field.field.node.academic_research_.field_school.yml31
-rw-r--r--modules/mansimran/academic_research/config/install/field.storage.node.field_lab_facilities.yml24
-rw-r--r--modules/mansimran/academic_research/config/install/field.storage.node.field_school.yml23
-rw-r--r--modules/mansimran/academic_research/config/install/migrate_plus.migration.acad_node_migration.yml61
-rw-r--r--modules/mansimran/academic_research/config/install/migrate_plus.migration.acad_paragraph_migration.yml48
-rw-r--r--modules/mansimran/academic_research/config/install/node.type.academic_research_.yml20
-rw-r--r--modules/mansimran/academic_research/config/install/paragraphs.paragraphs_type.lab_facilities.yml12
-rw-r--r--modules/mansimran/academic_research/config/install/taxonomy.vocabulary.school_s_of_vit_.yml12
-rw-r--r--modules/mansimran/academic_research/config/install/views.view.academic_research.yml223
14 files changed, 712 insertions, 0 deletions
diff --git a/modules/mansimran/academic_research/config/install/core.entity_form_display.node.academic_research_.default.yml b/modules/mansimran/academic_research/config/install/core.entity_form_display.node.academic_research_.default.yml
new file mode 100644
index 0000000..7279a61
--- /dev/null
+++ b/modules/mansimran/academic_research/config/install/core.entity_form_display.node.academic_research_.default.yml
@@ -0,0 +1,108 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.academic_research_.body
+ - field.field.node.academic_research_.field_lab_facilities
+ - field.field.node.academic_research_.field_school
+ - node.type.academic_research_
+ module:
+ - paragraphs
+ - path
+ - text
+ enforced:
+ module:
+ - academic_research
+id: node.academic_research_.default
+targetEntityType: node
+bundle: academic_research_
+mode: default
+content:
+ body:
+ type: text_textarea_with_summary
+ weight: 121
+ settings:
+ rows: 9
+ summary_rows: 3
+ placeholder: ''
+ third_party_settings: { }
+ region: content
+ created:
+ type: datetime_timestamp
+ weight: 10
+ region: content
+ settings: { }
+ third_party_settings: { }
+ field_lab_facilities:
+ type: entity_reference_paragraphs
+ weight: 123
+ settings:
+ title: Paragraph
+ title_plural: Paragraphs
+ edit_mode: open
+ add_mode: dropdown
+ form_display_mode: default
+ default_paragraph_type: ''
+ third_party_settings: { }
+ region: content
+ field_school:
+ weight: 122
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: entity_reference_autocomplete
+ region: content
+ langcode:
+ type: language_select
+ weight: 2
+ region: content
+ settings:
+ include_locked: true
+ third_party_settings: { }
+ path:
+ type: path
+ weight: 30
+ region: content
+ settings: { }
+ third_party_settings: { }
+ promote:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 15
+ region: content
+ third_party_settings: { }
+ status:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 120
+ region: content
+ third_party_settings: { }
+ sticky:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 16
+ region: content
+ third_party_settings: { }
+ title:
+ type: string_textfield
+ weight: -5
+ region: content
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ uid:
+ type: entity_reference_autocomplete
+ weight: 5
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ region: content
+ third_party_settings: { }
+hidden: { }
diff --git a/modules/mansimran/academic_research/config/install/core.entity_view_display.node.academic_research_.default.yml b/modules/mansimran/academic_research/config/install/core.entity_view_display.node.academic_research_.default.yml
new file mode 100644
index 0000000..f87f926
--- /dev/null
+++ b/modules/mansimran/academic_research/config/install/core.entity_view_display.node.academic_research_.default.yml
@@ -0,0 +1,51 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.academic_research_.body
+ - field.field.node.academic_research_.field_lab_facilities
+ - field.field.node.academic_research_.field_school
+ - node.type.academic_research_
+ module:
+ - entity_reference_revisions
+ - text
+ - user
+ enforced:
+ module:
+ - academic_research
+id: node.academic_research_.default
+targetEntityType: node
+bundle: academic_research_
+mode: default
+content:
+ body:
+ label: hidden
+ type: text_default
+ weight: 101
+ settings: { }
+ third_party_settings: { }
+ region: content
+ field_lab_facilities:
+ type: entity_reference_revisions_entity_view
+ weight: 103
+ label: hidden
+ settings:
+ view_mode: default
+ link: ''
+ third_party_settings: { }
+ region: content
+ field_school:
+ weight: 102
+ label: above
+ settings:
+ link: true
+ third_party_settings: { }
+ type: entity_reference_label
+ region: content
+ links:
+ weight: 100
+ region: content
+ settings: { }
+ third_party_settings: { }
+hidden:
+ langcode: true
diff --git a/modules/mansimran/academic_research/config/install/core.entity_view_display.node.academic_research_.teaser.yml b/modules/mansimran/academic_research/config/install/core.entity_view_display.node.academic_research_.teaser.yml
new file mode 100644
index 0000000..b99ccb4
--- /dev/null
+++ b/modules/mansimran/academic_research/config/install/core.entity_view_display.node.academic_research_.teaser.yml
@@ -0,0 +1,33 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.academic_research_.body
+ - node.type.academic_research_
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - academic_research
+id: node.academic_research_.teaser
+targetEntityType: node
+bundle: academic_research_
+mode: teaser
+content:
+ body:
+ label: hidden
+ type: text_summary_or_trimmed
+ weight: 100
+ settings:
+ trim_length: 600
+ third_party_settings: { }
+ region: content
+ links:
+ weight: 101
+ region: content
+ settings: { }
+ third_party_settings: { }
+hidden:
+ langcode: true
diff --git a/modules/mansimran/academic_research/config/install/field.field.node.academic_research_.body.yml b/modules/mansimran/academic_research/config/install/field.field.node.academic_research_.body.yml
new file mode 100644
index 0000000..c750848
--- /dev/null
+++ b/modules/mansimran/academic_research/config/install/field.field.node.academic_research_.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.academic_research_
+ module:
+ - text
+ enforced:
+ module:
+ - academic_research
+id: node.academic_research_.body
+field_name: body
+entity_type: node
+bundle: academic_research_
+label: Body
+description: 'Some Description '
+required: false
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings:
+ display_summary: true
+field_type: text_with_summary
diff --git a/modules/mansimran/academic_research/config/install/field.field.node.academic_research_.field_lab_facilities.yml b/modules/mansimran/academic_research/config/install/field.field.node.academic_research_.field_lab_facilities.yml
new file mode 100644
index 0000000..684315b
--- /dev/null
+++ b/modules/mansimran/academic_research/config/install/field.field.node.academic_research_.field_lab_facilities.yml
@@ -0,0 +1,42 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_lab_facilities
+ - node.type.academic_research_
+ - paragraphs.paragraphs_type.lab_facilities
+ module:
+ - entity_reference_revisions
+ enforced:
+ module:
+ - academic_research
+id: node.academic_research_.field_lab_facilities
+field_name: field_lab_facilities
+entity_type: node
+bundle: academic_research_
+label: 'Lab Facilities'
+description: 'Lab facilities of VIT '
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:paragraph'
+ handler_settings:
+ negate: 0
+ target_bundles:
+ lab_facilities: lab_facilities
+ target_bundles_drag_drop:
+ lab_facilities:
+ enabled: true
+ weight: 5
+ member_details_field:
+ weight: 6
+ enabled: false
+ office_details:
+ weight: 7
+ enabled: false
+ r_d_projects:
+ weight: 8
+ enabled: false
+field_type: entity_reference_revisions
diff --git a/modules/mansimran/academic_research/config/install/field.field.node.academic_research_.field_school.yml b/modules/mansimran/academic_research/config/install/field.field.node.academic_research_.field_school.yml
new file mode 100644
index 0000000..e0db681
--- /dev/null
+++ b/modules/mansimran/academic_research/config/install/field.field.node.academic_research_.field_school.yml
@@ -0,0 +1,31 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_school
+ - node.type.academic_research_
+ - taxonomy.vocabulary.school_s_of_vit_
+ enforced:
+ module:
+ - academic_research
+id: node.academic_research_.field_school
+field_name: field_school
+entity_type: node
+bundle: academic_research_
+label: school
+description: 'School carrying the research'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:taxonomy_term'
+ handler_settings:
+ target_bundles:
+ school_s_of_vit_: school_s_of_vit_
+ sort:
+ field: name
+ direction: asc
+ auto_create: false
+ auto_create_bundle: ''
+field_type: entity_reference
diff --git a/modules/mansimran/academic_research/config/install/field.storage.node.field_lab_facilities.yml b/modules/mansimran/academic_research/config/install/field.storage.node.field_lab_facilities.yml
new file mode 100644
index 0000000..e95b22c
--- /dev/null
+++ b/modules/mansimran/academic_research/config/install/field.storage.node.field_lab_facilities.yml
@@ -0,0 +1,24 @@
+uuid: bd9a44a5-9301-4af6-9ac4-6e636ae16e0c
+langcode: en
+status: true
+dependencies:
+ module:
+ - entity_reference_revisions
+ - node
+ - paragraphs
+ enforced:
+ module:
+ - academic_research
+id: node.field_lab_facilities
+field_name: field_lab_facilities
+entity_type: node
+type: entity_reference_revisions
+settings:
+ target_type: paragraph
+module: entity_reference_revisions
+locked: false
+cardinality: -1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/mansimran/academic_research/config/install/field.storage.node.field_school.yml b/modules/mansimran/academic_research/config/install/field.storage.node.field_school.yml
new file mode 100644
index 0000000..73cccc0
--- /dev/null
+++ b/modules/mansimran/academic_research/config/install/field.storage.node.field_school.yml
@@ -0,0 +1,23 @@
+uuid: 711659e0-ad09-4fac-9943-1efee9f2db4f
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ - taxonomy
+ enforced:
+ module:
+ - academic_research
+id: node.field_school
+field_name: field_school
+entity_type: node
+type: entity_reference
+settings:
+ target_type: taxonomy_term
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/mansimran/academic_research/config/install/migrate_plus.migration.acad_node_migration.yml b/modules/mansimran/academic_research/config/install/migrate_plus.migration.acad_node_migration.yml
new file mode 100644
index 0000000..378d87d
--- /dev/null
+++ b/modules/mansimran/academic_research/config/install/migrate_plus.migration.acad_node_migration.yml
@@ -0,0 +1,61 @@
+langcode: en
+status: true
+id: acad_node_migration
+class: null
+field_plugin_method: null
+cck_plugin_method: null
+migration_tags:
+ - CSV
+migration_group: default
+label: 'acad content migration'
+source:
+ plugin: csv
+ path: /home/mansimran/Desktop/mansimran1/acad_node.csv
+ delimiter: ','
+ enclosure: '"'
+ header_row_count: 1
+ keys:
+ - id
+process:
+ type:
+ plugin: default_value
+ default_value: academic_research_
+ title: title
+ body/value: body
+ body/format:
+ plugin: default_value
+ default_value: basic_html
+ field_school:
+ plugin: entity_lookup
+ entity_type: taxonomy_term
+ bundle: school_s_of_vit_
+ source: school
+ field_lab_facilities/target_id:
+ -
+ plugin: migration_lookup
+ migration: acad_paragraph_migration
+ allow_multiple: true
+ source: id
+ no_stub: true
+ -
+ plugin: extract
+ index:
+ - 0
+ field_lab_facilities/target_revision_id:
+ -
+ plugin: migration_lookup
+ migration: acad_paragraph_migration
+ allow_multiple: true
+ source: id
+ no_stub: true
+ -
+ plugin: extract
+ index:
+ - 1
+destination:
+ plugin: 'entity:node'
+ bundle: academic_research_
+migration_dependencies:
+ required:
+ - acad_paragraph_migration
+ optional: { } \ No newline at end of file
diff --git a/modules/mansimran/academic_research/config/install/migrate_plus.migration.acad_paragraph_migration.yml b/modules/mansimran/academic_research/config/install/migrate_plus.migration.acad_paragraph_migration.yml
new file mode 100644
index 0000000..fffaa67
--- /dev/null
+++ b/modules/mansimran/academic_research/config/install/migrate_plus.migration.acad_paragraph_migration.yml
@@ -0,0 +1,48 @@
+langcode: en
+status: true
+id: acad_paragraph_migration
+class: null
+field_plugin_method: null
+cck_plugin_method: null
+migration_tags:
+ - CSV
+migration_group: default
+label: 'acad content migration'
+source:
+ plugin: csv
+ path: /home/mansimran/Desktop/mansimran1/acad_para.csv
+ delimiter: ','
+ enclosure: '"'
+ header_row_count: 1
+ keys:
+ - id
+ constants:
+ file_source: /var/www/migrationdata/programs
+ file_dest: 'public://programs/'
+process:
+ type:
+ plugin: default_value
+ default_value: lab_facilities
+ source_path:
+ -
+ plugin: skip_on_empty
+ method: process
+ source: photos
+ -
+ plugin: concat
+ delimiter: /
+ source:
+ - constants/file_source
+ - photos
+ field_classrooms: classrooms
+ field_laboratories: laboratories
+ field_learning_ambience: ambience
+ field_photos:
+ plugin: file_import
+ source: '@source_path'
+ destination: constants/file_dest
+destination:
+ plugin: entity_reference_revisions:paragraph
+migration_dependencies:
+ required: { }
+ optional: { } \ No newline at end of file
diff --git a/modules/mansimran/academic_research/config/install/node.type.academic_research_.yml b/modules/mansimran/academic_research/config/install/node.type.academic_research_.yml
new file mode 100644
index 0000000..32efada
--- /dev/null
+++ b/modules/mansimran/academic_research/config/install/node.type.academic_research_.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - academic_research
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: 'Academic Research'
+type: academic_research_
+description: 'this page will talk about the research activities in vit'
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: false
diff --git a/modules/mansimran/academic_research/config/install/paragraphs.paragraphs_type.lab_facilities.yml b/modules/mansimran/academic_research/config/install/paragraphs.paragraphs_type.lab_facilities.yml
new file mode 100644
index 0000000..ec2e6b8
--- /dev/null
+++ b/modules/mansimran/academic_research/config/install/paragraphs.paragraphs_type.lab_facilities.yml
@@ -0,0 +1,12 @@
+uuid: 436a9a77-4fed-4085-b474-3da0a8a78e1f
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - academic_research
+id: lab_facilities
+label: 'Lab Facilities'
+icon_uuid: null
+description: ''
+behavior_plugins: { }
diff --git a/modules/mansimran/academic_research/config/install/taxonomy.vocabulary.school_s_of_vit_.yml b/modules/mansimran/academic_research/config/install/taxonomy.vocabulary.school_s_of_vit_.yml
new file mode 100644
index 0000000..60fc7fd
--- /dev/null
+++ b/modules/mansimran/academic_research/config/install/taxonomy.vocabulary.school_s_of_vit_.yml
@@ -0,0 +1,12 @@
+uuid: 30a88923-bcef-4a81-8cb9-a80941356747
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - academic_research
+name: 'SCHOOL''s of vit'
+vid: school_s_of_vit_
+description: 'Various academic schools in vit'
+hierarchy: 0
+weight: 0
diff --git a/modules/mansimran/academic_research/config/install/views.view.academic_research.yml b/modules/mansimran/academic_research/config/install/views.view.academic_research.yml
new file mode 100644
index 0000000..7211825
--- /dev/null
+++ b/modules/mansimran/academic_research/config/install/views.view.academic_research.yml
@@ -0,0 +1,223 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.academic_research_
+ module:
+ - node
+ - user
+ enforced:
+ module:
+ - academic_research
+id: academic_research
+label: 'Academic Research'
+module: views
+description: 'Research activities in VIT'
+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: 8
+ offset: 0
+ id: 0
+ total_pages: null
+ tags:
+ previous: ‹‹
+ next: ››
+ 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
+ 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
+ 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:
+ academic_research_: academic_research_
+ 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: 'Academic Research'
+ header:
+ area_text_custom:
+ id: area_text_custom
+ table: views
+ field: area_text_custom
+ relationship: none
+ group_type: group
+ admin_label: ''
+ empty: false
+ tokenize: false
+ content: " VIT is a premier institute not only because of its excellent academic background but also because of its strong inclination towards research and development of innovative technologies.\r\n\r\nBeing placed 3rd among the top 30 research-oriented institutes speaks volumes about how VIT has managed to achieve a lot in a short span of time. Not only that but it has also secured sponsorship for 50 research projects and offers consultancy services worth more than Rs. 2.2 million.\r\nResearch Area"
+ plugin_id: text_custom
+ area_text_custom_1:
+ id: area_text_custom_1
+ table: views
+ field: area_text_custom
+ relationship: none
+ group_type: group
+ admin_label: ''
+ empty: false
+ tokenize: false
+ content: " VIT is a premier institute not only because of its excellent academic background but also because of its strong inclination towards research and development of innovative technologies.\r\n\r\nBeing placed 3rd among the top 30 research-oriented institutes speaks volumes about how VIT has managed to achieve a lot in a short span of time. Not only that but it has also secured sponsorship for 50 research projects and offers consultancy services worth more than Rs. 2.2 million. "
+ plugin_id: text_custom
+ 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: academic-research
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
+