summaryrefslogtreecommitdiff
path: root/modules/fahad/department/config
diff options
context:
space:
mode:
authorNitesh Kumar Sinha2019-07-02 13:32:41 +0530
committerGitHub2019-07-02 13:32:41 +0530
commit40040427eb696b443a52db952ce6915d3ee72a97 (patch)
tree5dde0580ac282768aeb48226e7d10c2e3f691172 /modules/fahad/department/config
parent222f1780ed0f5c3536392df3236284d3a9ab5405 (diff)
parent5f6ba9cf4aee260e4192f194ed14d3bc9dd1b467 (diff)
downloadacadmix_distribution-40040427eb696b443a52db952ce6915d3ee72a97.tar.gz
acadmix_distribution-40040427eb696b443a52db952ce6915d3ee72a97.tar.bz2
acadmix_distribution-40040427eb696b443a52db952ce6915d3ee72a97.zip
Merge pull request #6 from fahad-israr/master
Fahad: Custom Module Added
Diffstat (limited to 'modules/fahad/department/config')
-rw-r--r--modules/fahad/department/config/install/core.entity_form_display.node.department.default.yml84
-rw-r--r--modules/fahad/department/config/install/core.entity_view_display.node.department.default.yml31
-rw-r--r--modules/fahad/department/config/install/core.entity_view_display.node.department.teaser.yml33
-rw-r--r--modules/fahad/department/config/install/field.field.node.department.body.yml24
4 files changed, 172 insertions, 0 deletions
diff --git a/modules/fahad/department/config/install/core.entity_form_display.node.department.default.yml b/modules/fahad/department/config/install/core.entity_form_display.node.department.default.yml
new file mode 100644
index 0000000..4432971
--- /dev/null
+++ b/modules/fahad/department/config/install/core.entity_form_display.node.department.default.yml
@@ -0,0 +1,84 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.department.body
+ - node.type.department
+ module:
+ - path
+ - text
+ enforced:
+ module:
+ - department
+id: node.department.default
+targetEntityType: node
+bundle: department
+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: { }
+ 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/fahad/department/config/install/core.entity_view_display.node.department.default.yml b/modules/fahad/department/config/install/core.entity_view_display.node.department.default.yml
new file mode 100644
index 0000000..0f84292
--- /dev/null
+++ b/modules/fahad/department/config/install/core.entity_view_display.node.department.default.yml
@@ -0,0 +1,31 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.department.body
+ - node.type.department
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - department
+id: node.department.default
+targetEntityType: node
+bundle: department
+mode: default
+content:
+ body:
+ label: hidden
+ type: text_default
+ weight: 101
+ settings: { }
+ third_party_settings: { }
+ region: content
+ links:
+ weight: 100
+ settings: { }
+ third_party_settings: { }
+ region: content
+hidden:
+ langcode: true
diff --git a/modules/fahad/department/config/install/core.entity_view_display.node.department.teaser.yml b/modules/fahad/department/config/install/core.entity_view_display.node.department.teaser.yml
new file mode 100644
index 0000000..28c59d7
--- /dev/null
+++ b/modules/fahad/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/fahad/department/config/install/field.field.node.department.body.yml b/modules/fahad/department/config/install/field.field.node.department.body.yml
new file mode 100644
index 0000000..fb7688f
--- /dev/null
+++ b/modules/fahad/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