summaryrefslogtreecommitdiff
path: root/modules/bhavika/department/config
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bhavika/department/config')
-rw-r--r--modules/bhavika/department/config/install/core.entity_form_display.node.department.default.yml125
-rw-r--r--modules/bhavika/department/config/install/core.entity_view_display.node.department.default.yml67
-rw-r--r--modules/bhavika/department/config/install/core.entity_view_display.node.department.teaser.yml33
-rw-r--r--modules/bhavika/department/config/install/deptimage.style.deptimg.yml17
-rw-r--r--modules/bhavika/department/config/install/field.field.node.department.body.yml24
-rw-r--r--modules/bhavika/department/config/install/field.field.node.department.field_dept_image.yml40
-rw-r--r--modules/bhavika/department/config/install/field.field.node.department.field_dept_mission.yml24
-rw-r--r--modules/bhavika/department/config/install/field.field.node.department.field_facilities.yml24
-rw-r--r--modules/bhavika/department/config/install/field.field.node.department.field_placements.yml31
-rw-r--r--modules/bhavika/department/config/install/field.storage.node.body.yml25
-rw-r--r--modules/bhavika/department/config/install/field.storage.node.field_dept_image.yml36
-rw-r--r--modules/bhavika/department/config/install/field.storage.node.field_dept_mission.yml21
-rw-r--r--modules/bhavika/department/config/install/field.storage.node.field_facilities.yml21
-rw-r--r--modules/bhavika/department/config/install/field.storage.node.field_placements.yml21
-rw-r--r--modules/bhavika/department/config/install/migrate_plus.migration.department_import.yml57
-rw-r--r--modules/bhavika/department/config/install/node.type.companies.yml20
-rw-r--r--modules/bhavika/department/config/install/node.type.department.yml20
-rw-r--r--modules/bhavika/department/config/install/views.view.department.yml194
18 files changed, 800 insertions, 0 deletions
diff --git a/modules/bhavika/department/config/install/core.entity_form_display.node.department.default.yml b/modules/bhavika/department/config/install/core.entity_form_display.node.department.default.yml
new file mode 100644
index 0000000..e00e6f5
--- /dev/null
+++ b/modules/bhavika/department/config/install/core.entity_form_display.node.department.default.yml
@@ -0,0 +1,125 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.department.body
+ - field.field.node.department.field_dept_image
+ - field.field.node.department.field_dept_mission
+ - field.field.node.department.field_facilities
+ - field.field.node.department.field_placements
+ - image.style.deptimg
+ - node.type.department
+ module:
+ - image
+ - path
+ - text
+ enforced:
+ module:
+ - department
+id: node.department.default
+targetEntityType: node
+bundle: department
+mode: default
+content:
+ body:
+ type: text_textarea_with_summary
+ weight: 8
+ settings:
+ rows: 9
+ summary_rows: 3
+ placeholder: ''
+ third_party_settings: { }
+ region: content
+ created:
+ type: datetime_timestamp
+ weight: 3
+ region: content
+ settings: { }
+ third_party_settings: { }
+ field_dept_image:
+ weight: 9
+ settings:
+ progress_indicator: throbber
+ preview_image_style: deptimg
+ third_party_settings: { }
+ type: image_image
+ region: content
+ field_dept_mission:
+ weight: 12
+ settings:
+ rows: 9
+ summary_rows: 3
+ placeholder: ''
+ third_party_settings: { }
+ type: text_textarea_with_summary
+ region: content
+ field_facilities:
+ weight: 10
+ settings:
+ rows: 9
+ summary_rows: 3
+ placeholder: ''
+ third_party_settings: { }
+ type: text_textarea_with_summary
+ region: content
+ field_placements:
+ weight: 13
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: entity_reference_autocomplete
+ region: content
+ langcode:
+ type: language_select
+ weight: 1
+ region: content
+ settings:
+ include_locked: true
+ third_party_settings: { }
+ path:
+ type: path
+ weight: 6
+ region: content
+ settings: { }
+ third_party_settings: { }
+ promote:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 4
+ region: content
+ third_party_settings: { }
+ status:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 7
+ region: content
+ third_party_settings: { }
+ sticky:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 5
+ region: content
+ third_party_settings: { }
+ title:
+ type: string_textfield
+ weight: 0
+ region: content
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ uid:
+ type: entity_reference_autocomplete
+ weight: 2
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ region: content
+ third_party_settings: { }
+hidden: { }
diff --git a/modules/bhavika/department/config/install/core.entity_view_display.node.department.default.yml b/modules/bhavika/department/config/install/core.entity_view_display.node.department.default.yml
new file mode 100644
index 0000000..cfff6fc
--- /dev/null
+++ b/modules/bhavika/department/config/install/core.entity_view_display.node.department.default.yml
@@ -0,0 +1,67 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.department.body
+ - field.field.node.department.field_dept_image
+ - field.field.node.department.field_dept_mission
+ - field.field.node.department.field_facilities
+ - field.field.node.department.field_placements
+ - node.type.department
+ module:
+ - image
+ - text
+ - user
+ enforced:
+ module:
+ - department
+id: node.department.default
+targetEntityType: node
+bundle: department
+mode: default
+content:
+ body:
+ label: hidden
+ type: text_default
+ weight: 2
+ settings: { }
+ third_party_settings: { }
+ region: content
+ field_dept_image:
+ weight: 1
+ label: hidden
+ settings:
+ image_style: ''
+ image_link: ''
+ third_party_settings: { }
+ type: image
+ region: content
+ field_dept_mission:
+ weight: 5
+ label: hidden
+ settings: { }
+ third_party_settings: { }
+ type: text_default
+ region: content
+ field_facilities:
+ weight: 3
+ label: above
+ settings: { }
+ third_party_settings: { }
+ type: text_default
+ region: content
+ field_placements:
+ weight: 6
+ label: above
+ settings:
+ link: true
+ third_party_settings: { }
+ type: entity_reference_label
+ region: content
+ links:
+ weight: 0
+ region: content
+ settings: { }
+ third_party_settings: { }
+hidden:
+ langcode: true
diff --git a/modules/bhavika/department/config/install/core.entity_view_display.node.department.teaser.yml b/modules/bhavika/department/config/install/core.entity_view_display.node.department.teaser.yml
new file mode 100644
index 0000000..28c59d7
--- /dev/null
+++ b/modules/bhavika/department/config/install/core.entity_view_display.node.department.teaser.yml
@@ -0,0 +1,33 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.department.body
+ - node.type.department
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - department
+id: node.department.teaser
+targetEntityType: node
+bundle: department
+mode: teaser
+content:
+ body:
+ label: hidden
+ type: text_summary_or_trimmed
+ weight: 101
+ settings:
+ trim_length: 600
+ third_party_settings: { }
+ region: content
+ links:
+ weight: 100
+ settings: { }
+ third_party_settings: { }
+ region: content
+hidden:
+ langcode: true
diff --git a/modules/bhavika/department/config/install/deptimage.style.deptimg.yml b/modules/bhavika/department/config/install/deptimage.style.deptimg.yml
new file mode 100644
index 0000000..bcf3210
--- /dev/null
+++ b/modules/bhavika/department/config/install/deptimage.style.deptimg.yml
@@ -0,0 +1,17 @@
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - department
+name: deptimg
+label: 'DeptImg (100×100)'
+effects:
+ 1cfec298-8620-4749-b100-ccb6c4500779:
+ uuid: 1cfec298-8620-4749-b100-ccb6c4500779
+ id: image_scale
+ weight: 0
+ data:
+ width: 100
+ height: 100
+ upscale: false
diff --git a/modules/bhavika/department/config/install/field.field.node.department.body.yml b/modules/bhavika/department/config/install/field.field.node.department.body.yml
new file mode 100644
index 0000000..fb7688f
--- /dev/null
+++ b/modules/bhavika/department/config/install/field.field.node.department.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.department
+ module:
+ - text
+ enforced:
+ module:
+ - department
+id: node.department.body
+field_name: body
+entity_type: node
+bundle: department
+label: Body
+description: ''
+required: false
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings:
+ display_summary: true
+field_type: text_with_summary
diff --git a/modules/bhavika/department/config/install/field.field.node.department.field_dept_image.yml b/modules/bhavika/department/config/install/field.field.node.department.field_dept_image.yml
new file mode 100644
index 0000000..02ffffd
--- /dev/null
+++ b/modules/bhavika/department/config/install/field.field.node.department.field_dept_image.yml
@@ -0,0 +1,40 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_dept_image
+ - node.type.department
+ module:
+ - image
+ enforced:
+ module:
+ - department
+id: node.department.field_dept_image
+field_name: field_dept_image
+entity_type: node
+bundle: department
+label: dept_image
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ file_directory: department
+ file_extensions: 'png gif jpg jpeg'
+ max_filesize: ''
+ max_resolution: ''
+ min_resolution: ''
+ alt_field: true
+ alt_field_required: true
+ title_field: false
+ title_field_required: false
+ default_image:
+ uuid: ''
+ alt: ''
+ title: ''
+ width: null
+ height: null
+ handler: 'default:file'
+ handler_settings: { }
+field_type: image
diff --git a/modules/bhavika/department/config/install/field.field.node.department.field_dept_mission.yml b/modules/bhavika/department/config/install/field.field.node.department.field_dept_mission.yml
new file mode 100644
index 0000000..a49ab2d
--- /dev/null
+++ b/modules/bhavika/department/config/install/field.field.node.department.field_dept_mission.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_dept_mission
+ - node.type.department
+ module:
+ - text
+ enforced:
+ module:
+ - department
+id: node.department.field_dept_mission
+field_name: field_dept_mission
+entity_type: node
+bundle: department
+label: dept_mission
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ display_summary: false
+field_type: text_with_summary
diff --git a/modules/bhavika/department/config/install/field.field.node.department.field_facilities.yml b/modules/bhavika/department/config/install/field.field.node.department.field_facilities.yml
new file mode 100644
index 0000000..24c2776
--- /dev/null
+++ b/modules/bhavika/department/config/install/field.field.node.department.field_facilities.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_facilities
+ - node.type.department
+ module:
+ - text
+ enforced:
+ module:
+ - department
+id: node.department.field_facilities
+field_name: field_facilities
+entity_type: node
+bundle: department
+label: facilities
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ display_summary: false
+field_type: text_with_summary
diff --git a/modules/bhavika/department/config/install/field.field.node.department.field_placements.yml b/modules/bhavika/department/config/install/field.field.node.department.field_placements.yml
new file mode 100644
index 0000000..b242908
--- /dev/null
+++ b/modules/bhavika/department/config/install/field.field.node.department.field_placements.yml
@@ -0,0 +1,31 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_placements
+ - node.type.companies
+ - node.type.department
+ enforced:
+ module:
+ - department
+ - company
+id: node.department.field_placements
+field_name: field_placements
+entity_type: node
+bundle: department
+label: placements
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:node'
+ handler_settings:
+ target_bundles:
+ companies: companies
+ sort:
+ field: _none
+ auto_create: false
+ auto_create_bundle: ''
+field_type: entity_reference
diff --git a/modules/bhavika/department/config/install/field.storage.node.body.yml b/modules/bhavika/department/config/install/field.storage.node.body.yml
new file mode 100644
index 0000000..1d190e7
--- /dev/null
+++ b/modules/bhavika/department/config/install/field.storage.node.body.yml
@@ -0,0 +1,25 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ # - field_permissions
+ - node
+ - text
+# third_party_settings:
+# field_permissions:
+# permission_type: public
+ enforced:
+ module:
+ - department
+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/bhavika/department/config/install/field.storage.node.field_dept_image.yml b/modules/bhavika/department/config/install/field.storage.node.field_dept_image.yml
new file mode 100644
index 0000000..23ef815
--- /dev/null
+++ b/modules/bhavika/department/config/install/field.storage.node.field_dept_image.yml
@@ -0,0 +1,36 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ # - field_permissions
+ - file
+ - image
+ - node
+# third_party_settings:
+# field_permissions:
+# permission_type: public
+ enforced:
+ module:
+ - department
+id: node.field_dept_image
+field_name: field_dept_image
+entity_type: node
+type: image
+settings:
+ uri_scheme: public
+ default_image:
+ uuid: ''
+ alt: ''
+ title: ''
+ width: null
+ height: null
+ target_type: file
+ display_field: false
+ display_default: false
+module: image
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/bhavika/department/config/install/field.storage.node.field_dept_mission.yml b/modules/bhavika/department/config/install/field.storage.node.field_dept_mission.yml
new file mode 100644
index 0000000..031ec1f
--- /dev/null
+++ b/modules/bhavika/department/config/install/field.storage.node.field_dept_mission.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ - text
+ enforced:
+ module:
+ - department
+id: node.field_dept_mission
+field_name: field_dept_mission
+entity_type: node
+type: text_with_summary
+settings: { }
+module: text
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/bhavika/department/config/install/field.storage.node.field_facilities.yml b/modules/bhavika/department/config/install/field.storage.node.field_facilities.yml
new file mode 100644
index 0000000..3900da7
--- /dev/null
+++ b/modules/bhavika/department/config/install/field.storage.node.field_facilities.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ - text
+ enforced:
+ module:
+ - department
+id: node.field_facilities
+field_name: field_facilities
+entity_type: node
+type: text_with_summary
+settings: { }
+module: text
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/bhavika/department/config/install/field.storage.node.field_placements.yml b/modules/bhavika/department/config/install/field.storage.node.field_placements.yml
new file mode 100644
index 0000000..42483fb
--- /dev/null
+++ b/modules/bhavika/department/config/install/field.storage.node.field_placements.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - department
+id: node.field_placements
+field_name: field_placements
+entity_type: node
+type: entity_reference
+settings:
+ target_type: node
+module: core
+locked: false
+cardinality: -1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/bhavika/department/config/install/migrate_plus.migration.department_import.yml b/modules/bhavika/department/config/install/migrate_plus.migration.department_import.yml
new file mode 100644
index 0000000..a4d03ca
--- /dev/null
+++ b/modules/bhavika/department/config/install/migrate_plus.migration.department_import.yml
@@ -0,0 +1,57 @@
+uuid: 5ce25402-34a6-46ee-aeef-3920e2cd0cb6
+language: en
+migration_group: default
+id: department_import
+class: null
+field_plugin_method: null
+cck_plugin_method: null
+label: 'department_import'
+source:
+ plugin: csv
+ path: /var/www/Department/csv files/department.csv
+ delimiter: ','
+ enclosure: '"'
+ header_row_count: 1
+ keys:
+ - id
+ constants:
+ file_source: /var/www/Department/image
+ file_dest: 'public://department/'
+process:
+ type:
+ plugin: default_value
+ default_value: department
+ source_path:
+ -
+ plugin: skip_on_empty
+ method: process
+ source: img
+ -
+ plugin: concat
+ delimiter: /
+ source:
+ - constants/file_source
+ - img
+ title: title
+ body/value: body
+ body/format:
+ plugin: default_value
+ default_value: full_html
+ field_dept_image:
+ plugin: file_import
+ source: '@source_path'
+ destination: constants/file_dest
+ field_dept_mission: mission
+ field_facilities/value: facilities
+ field_placements:
+ -
+ plugin: entity_lookup
+ entity_type: node
+ bundle: companies
+ source: placements
+destination:
+ plugin: 'entity:node'
+ bundle: department
+migration_dependencies:
+ required: { }
+ optional: { } \ No newline at end of file
diff --git a/modules/bhavika/department/config/install/node.type.companies.yml b/modules/bhavika/department/config/install/node.type.companies.yml
new file mode 100644
index 0000000..6c8b80c
--- /dev/null
+++ b/modules/bhavika/department/config/install/node.type.companies.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - department
+# third_party_settings:
+# menu_ui:
+# available_menus:
+# - main
+# parent: 'main:'
+name: Companies
+type: companies
+description: 'This is the content template for the various companies that visit L.D.C.E for Placements.'
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: true
diff --git a/modules/bhavika/department/config/install/node.type.department.yml b/modules/bhavika/department/config/install/node.type.department.yml
new file mode 100644
index 0000000..4337ba1
--- /dev/null
+++ b/modules/bhavika/department/config/install/node.type.department.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - department
+# third_party_settings:
+# menu_ui:
+# available_menus:
+# - main
+# parent: 'main:'
+name: Department
+type: department
+description: 'This content type provides the information about the various department of L.D.C.E'
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: true
diff --git a/modules/bhavika/department/config/install/views.view.department.yml b/modules/bhavika/department/config/install/views.view.department.yml
new file mode 100644
index 0000000..d38509a
--- /dev/null
+++ b/modules/bhavika/department/config/install/views.view.department.yml
@@ -0,0 +1,194 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - node.type.department
+ module:
+ - node
+ - user
+ enforced:
+ module:
+ - department
+id: department
+label: Department
+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: 8
+ 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:
+ department: department
+ 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: Department
+ 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: department
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }