summaryrefslogtreecommitdiff
path: root/modules/esha/placements/config/install
diff options
context:
space:
mode:
authorEsha2019-07-02 12:42:54 +0530
committerEsha2019-07-02 12:43:10 +0530
commit141ce8c97abe36f1f8bb06a38623e93563d6c618 (patch)
tree2086c9224072aa7b917da20487b232eb2ef0666e /modules/esha/placements/config/install
parent847360bf5ac011771dc013677542ece7b356a528 (diff)
downloadacadmix_distribution-141ce8c97abe36f1f8bb06a38623e93563d6c618.tar.gz
acadmix_distribution-141ce8c97abe36f1f8bb06a38623e93563d6c618.tar.bz2
acadmix_distribution-141ce8c97abe36f1f8bb06a38623e93563d6c618.zip
Custom modules
Diffstat (limited to 'modules/esha/placements/config/install')
-rw-r--r--modules/esha/placements/config/install/core.entity_form_display.node.placements.default.yml120
-rw-r--r--modules/esha/placements/config/install/core.entity_view_display.node.placements.default.yml67
-rw-r--r--modules/esha/placements/config/install/core.entity_view_display.node.placements.teaser.yml26
-rw-r--r--modules/esha/placements/config/install/core.entity_view_mode.node.teaser.yml15
-rw-r--r--modules/esha/placements/config/install/field.field.node.placements.body.yml24
-rw-r--r--modules/esha/placements/config/install/field.field.node.placements.field_new.yml31
-rw-r--r--modules/esha/placements/config/install/field.field.node.placements.field_placed.yml21
-rw-r--r--modules/esha/placements/config/install/field.field.node.placements.field_total_students_placed.yml25
-rw-r--r--modules/esha/placements/config/install/field.field.node.placements.field_year.yml31
-rw-r--r--modules/esha/placements/config/install/field.storage.node.body.yml24
-rw-r--r--modules/esha/placements/config/install/field.storage.node.field_new.yml23
-rw-r--r--modules/esha/placements/config/install/field.storage.node.field_placed.yml24
-rw-r--r--modules/esha/placements/config/install/field.storage.node.field_total_students_placed.yml23
-rw-r--r--modules/esha/placements/config/install/field.storage.node.field_year.yml23
-rw-r--r--modules/esha/placements/config/install/migrate_plus.migration.placements_import1.yml30
-rw-r--r--modules/esha/placements/config/install/node.type.placements.yml15
-rw-r--r--modules/esha/placements/config/install/taxonomy.vocabulary.vocab.yml12
-rw-r--r--modules/esha/placements/config/install/taxonomy.vocabulary.year.yml12
18 files changed, 546 insertions, 0 deletions
diff --git a/modules/esha/placements/config/install/core.entity_form_display.node.placements.default.yml b/modules/esha/placements/config/install/core.entity_form_display.node.placements.default.yml
new file mode 100644
index 0000000..f9aac4a
--- /dev/null
+++ b/modules/esha/placements/config/install/core.entity_form_display.node.placements.default.yml
@@ -0,0 +1,120 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.placements.body
+ - field.field.node.placements.field_new
+ - field.field.node.placements.field_placed
+ - field.field.node.placements.field_total_students_placed
+ - field.field.node.placements.field_year
+ - node.type.placements
+ module:
+ - path
+ - text
+ enforced:
+ module:
+ - placements
+id: node.placements.default
+targetEntityType: node
+bundle: placements
+mode: default
+content:
+ body:
+ weight: 125
+ settings:
+ rows: 9
+ summary_rows: 3
+ placeholder: ''
+ type: text_textarea_with_summary
+ region: content
+ created:
+ type: datetime_timestamp
+ weight: 10
+ region: content
+ settings: { }
+ third_party_settings: { }
+ field_new:
+ weight: 126
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: entity_reference_autocomplete
+ region: content
+ field_placed:
+ weight: 127
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ region: content
+ field_total_students_placed:
+ weight: 123
+ settings:
+ placeholder: ''
+ third_party_settings: { }
+ type: number
+ region: content
+ field_year:
+ weight: 124
+ 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/esha/placements/config/install/core.entity_view_display.node.placements.default.yml b/modules/esha/placements/config/install/core.entity_view_display.node.placements.default.yml
new file mode 100644
index 0000000..b6f5b9e
--- /dev/null
+++ b/modules/esha/placements/config/install/core.entity_view_display.node.placements.default.yml
@@ -0,0 +1,67 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.placements.body
+ - field.field.node.placements.field_new
+ - field.field.node.placements.field_placed
+ - field.field.node.placements.field_total_students_placed
+ - field.field.node.placements.field_year
+ - node.type.placements
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - placements
+id: node.placements.default
+targetEntityType: node
+bundle: placements
+mode: default
+content:
+ body:
+ weight: 105
+ label: above
+ settings: { }
+ type: text_default
+ region: content
+ field_new:
+ weight: 106
+ label: above
+ settings:
+ link: true
+ third_party_settings: { }
+ type: entity_reference_label
+ region: content
+ field_placed:
+ weight: 107
+ label: above
+ settings:
+ link_to_entity: false
+ third_party_settings: { }
+ type: string
+ region: content
+ field_total_students_placed:
+ weight: 103
+ label: above
+ settings:
+ thousand_separator: ''
+ prefix_suffix: true
+ third_party_settings: { }
+ type: number_integer
+ region: content
+ field_year:
+ weight: 104
+ label: above
+ settings:
+ link: true
+ third_party_settings: { }
+ type: entity_reference_label
+ region: content
+ links:
+ weight: 100
+ settings: { }
+ third_party_settings: { }
+ region: content
+hidden:
+ langcode: true
diff --git a/modules/esha/placements/config/install/core.entity_view_display.node.placements.teaser.yml b/modules/esha/placements/config/install/core.entity_view_display.node.placements.teaser.yml
new file mode 100644
index 0000000..6a0abef
--- /dev/null
+++ b/modules/esha/placements/config/install/core.entity_view_display.node.placements.teaser.yml
@@ -0,0 +1,26 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.placements.field_total_students_placed
+ - field.field.node.placements.field_year
+ - node.type.placements
+ module:
+ - user
+ enforced:
+ module:
+ - placements
+id: node.placements.teaser
+targetEntityType: node
+bundle: placements
+mode: teaser
+content:
+ links:
+ weight: 100
+ settings: { }
+ region: content
+hidden:
+ field_total_students_placed: true
+ field_year: true
+ langcode: true
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
new file mode 100644
index 0000000..f09eef8
--- /dev/null
+++ b/modules/esha/placements/config/install/core.entity_view_mode.node.teaser.yml
@@ -0,0 +1,15 @@
+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.field.node.placements.body.yml b/modules/esha/placements/config/install/field.field.node.placements.body.yml
new file mode 100644
index 0000000..4eaef94
--- /dev/null
+++ b/modules/esha/placements/config/install/field.field.node.placements.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.placements
+ module:
+ - text
+ enforced:
+ module:
+ - placements
+id: node.placements.body
+field_name: body
+entity_type: node
+bundle: placements
+label: Body
+description: ''
+required: false
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings:
+ display_summary: false
+field_type: text_with_summary
diff --git a/modules/esha/placements/config/install/field.field.node.placements.field_new.yml b/modules/esha/placements/config/install/field.field.node.placements.field_new.yml
new file mode 100644
index 0000000..4973424
--- /dev/null
+++ b/modules/esha/placements/config/install/field.field.node.placements.field_new.yml
@@ -0,0 +1,31 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_new
+ - node.type.placements
+ - taxonomy.vocabulary.vocab
+ enforced:
+ module:
+ - placements
+id: node.placements.field_new
+field_name: field_new
+entity_type: node
+bundle: placements
+label: new
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:taxonomy_term'
+ handler_settings:
+ target_bundles:
+ vocab: vocab
+ sort:
+ field: name
+ direction: asc
+ auto_create: false
+ auto_create_bundle: ''
+field_type: entity_reference
diff --git a/modules/esha/placements/config/install/field.field.node.placements.field_placed.yml b/modules/esha/placements/config/install/field.field.node.placements.field_placed.yml
new file mode 100644
index 0000000..5a941da
--- /dev/null
+++ b/modules/esha/placements/config/install/field.field.node.placements.field_placed.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_placed
+ - node.type.placements
+ enforced:
+ module:
+ - placements
+id: node.placements.field_placed
+field_name: field_placed
+entity_type: node
+bundle: placements
+label: placed
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/esha/placements/config/install/field.field.node.placements.field_total_students_placed.yml b/modules/esha/placements/config/install/field.field.node.placements.field_total_students_placed.yml
new file mode 100644
index 0000000..a5867b7
--- /dev/null
+++ b/modules/esha/placements/config/install/field.field.node.placements.field_total_students_placed.yml
@@ -0,0 +1,25 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_total_students_placed
+ - node.type.placements
+ enforced:
+ module:
+ - placements
+id: node.placements.field_total_students_placed
+field_name: field_total_students_placed
+entity_type: node
+bundle: placements
+label: 'Total Students Placed'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ min: null
+ max: null
+ prefix: ''
+ suffix: ''
+field_type: integer
diff --git a/modules/esha/placements/config/install/field.field.node.placements.field_year.yml b/modules/esha/placements/config/install/field.field.node.placements.field_year.yml
new file mode 100644
index 0000000..ef2000d
--- /dev/null
+++ b/modules/esha/placements/config/install/field.field.node.placements.field_year.yml
@@ -0,0 +1,31 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_year
+ - node.type.placements
+ - taxonomy.vocabulary.year
+ enforced:
+ module:
+ - placements
+id: node.placements.field_year
+field_name: field_year
+entity_type: node
+bundle: placements
+label: Year
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:taxonomy_term'
+ handler_settings:
+ target_bundles:
+ year: year
+ sort:
+ field: name
+ direction: asc
+ auto_create: false
+ auto_create_bundle: placement_year
+field_type: entity_reference
diff --git a/modules/esha/placements/config/install/field.storage.node.body.yml b/modules/esha/placements/config/install/field.storage.node.body.yml
new file mode 100644
index 0000000..821a97a
--- /dev/null
+++ b/modules/esha/placements/config/install/field.storage.node.body.yml
@@ -0,0 +1,24 @@
+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/field.storage.node.field_new.yml b/modules/esha/placements/config/install/field.storage.node.field_new.yml
new file mode 100644
index 0000000..117e02e
--- /dev/null
+++ b/modules/esha/placements/config/install/field.storage.node.field_new.yml
@@ -0,0 +1,23 @@
+uuid: f42f851c-6e7b-4843-98ce-f0c233649c4b
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ - taxonomy
+ enforced:
+ module:
+ - placements
+id: node.field_new
+field_name: field_new
+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/esha/placements/config/install/field.storage.node.field_placed.yml b/modules/esha/placements/config/install/field.storage.node.field_placed.yml
new file mode 100644
index 0000000..d926eeb
--- /dev/null
+++ b/modules/esha/placements/config/install/field.storage.node.field_placed.yml
@@ -0,0 +1,24 @@
+uuid: ad069c50-3ddd-41a5-b5a6-1d930d1aa3df
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - placements
+id: node.field_placed
+field_name: field_placed
+entity_type: node
+type: string
+settings:
+ max_length: 255
+ is_ascii: false
+ case_sensitive: false
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/esha/placements/config/install/field.storage.node.field_total_students_placed.yml b/modules/esha/placements/config/install/field.storage.node.field_total_students_placed.yml
new file mode 100644
index 0000000..010ad2f
--- /dev/null
+++ b/modules/esha/placements/config/install/field.storage.node.field_total_students_placed.yml
@@ -0,0 +1,23 @@
+uuid: 3e89b54e-f405-4dee-b175-10ac5bb61161
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - placements
+id: node.field_total_students_placed
+field_name: field_total_students_placed
+entity_type: node
+type: integer
+settings:
+ unsigned: false
+ size: normal
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/esha/placements/config/install/field.storage.node.field_year.yml b/modules/esha/placements/config/install/field.storage.node.field_year.yml
new file mode 100644
index 0000000..5b6f903
--- /dev/null
+++ b/modules/esha/placements/config/install/field.storage.node.field_year.yml
@@ -0,0 +1,23 @@
+uuid: 404051f1-b4e2-4818-b895-e4bf114e7a93
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ - taxonomy
+ enforced:
+ module:
+ - placements
+id: node.field_year
+field_name: field_year
+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/esha/placements/config/install/migrate_plus.migration.placements_import1.yml b/modules/esha/placements/config/install/migrate_plus.migration.placements_import1.yml
new file mode 100644
index 0000000..42dc7e5
--- /dev/null
+++ b/modules/esha/placements/config/install/migrate_plus.migration.placements_import1.yml
@@ -0,0 +1,30 @@
+uuid: 1b29566d-9275-46df-a57f-5f6595537753
+id: placements_import
+label: Import Placement Data
+migration_groups:
+ - default
+source:
+ plugin: csv
+ # Full path to the file.
+ path: '/var/www/CSV/Placements.csv'
+ # Column delimiter. Comma (,) by default.
+ delimiter: ','
+ # Field enclosure. Double quotation marks (") by default.
+ enclosure: '"'
+ # The number of rows at the beginning which are not data.
+ header_row_count: 1
+ keys:
+ - id
+process:
+ title: title
+ field_total_students_placed: total
+ field_year: year
+ type:
+ plugin: entity_lookup
+ entity: taxonomy_term
+ bundle: placement_year
+ source: year
+destination:
+ plugin: 'entity:node'
+ plugin: entity:taxonomy_term
+migration_dependencies: null
diff --git a/modules/esha/placements/config/install/node.type.placements.yml b/modules/esha/placements/config/install/node.type.placements.yml
new file mode 100644
index 0000000..f0bb423
--- /dev/null
+++ b/modules/esha/placements/config/install/node.type.placements.yml
@@ -0,0 +1,15 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - placements
+name: Placements
+type: placements
+description: ''
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: false
diff --git a/modules/esha/placements/config/install/taxonomy.vocabulary.vocab.yml b/modules/esha/placements/config/install/taxonomy.vocabulary.vocab.yml
new file mode 100644
index 0000000..5c36cd8
--- /dev/null
+++ b/modules/esha/placements/config/install/taxonomy.vocabulary.vocab.yml
@@ -0,0 +1,12 @@
+uuid: dfa25a08-cadc-4bc6-826f-b817586af55b
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - placements
+name: vocab
+vid: vocab
+description: ''
+hierarchy: 0
+weight: 0
diff --git a/modules/esha/placements/config/install/taxonomy.vocabulary.year.yml b/modules/esha/placements/config/install/taxonomy.vocabulary.year.yml
new file mode 100644
index 0000000..9cf2d82
--- /dev/null
+++ b/modules/esha/placements/config/install/taxonomy.vocabulary.year.yml
@@ -0,0 +1,12 @@
+uuid: a22778aa-6584-422b-932b-3c4e4f59c1b5
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - placements
+name: year
+vid: year
+description: ''
+hierarchy: 0
+weight: 0