summaryrefslogtreecommitdiff
path: root/modules/fahad/festivals/config
diff options
context:
space:
mode:
Diffstat (limited to 'modules/fahad/festivals/config')
-rw-r--r--modules/fahad/festivals/config/install/core.entity_form_display.node.festivals.default.yml114
-rw-r--r--modules/fahad/festivals/config/install/core.entity_view_display.node.festivals.default.yml66
-rw-r--r--modules/fahad/festivals/config/install/core.entity_view_display.node.festivals.teaser.yml33
-rw-r--r--modules/fahad/festivals/config/install/field.field.node.festivals.body.yml24
-rw-r--r--modules/fahad/festivals/config/install/field.field.node.festivals.field_fastival_link.yml25
-rw-r--r--modules/fahad/festivals/config/install/field.field.node.festivals.field_festival_file.yml29
-rw-r--r--modules/fahad/festivals/config/install/field.field.node.festivals.field_festival_image.yml40
-rw-r--r--modules/fahad/festivals/config/install/field.storage.node.field_fastival_link.yml22
-rw-r--r--modules/fahad/festivals/config/install/field.storage.node.field_festival_file.yml26
-rw-r--r--modules/fahad/festivals/config/install/field.storage.node.field_festival_image.yml33
-rw-r--r--modules/fahad/festivals/config/install/migrate_plus.migration.festivals.yml61
-rw-r--r--modules/fahad/festivals/config/install/node.type.festivals.yml20
-rw-r--r--modules/fahad/festivals/config/install/views.view.festivals.yml197
13 files changed, 690 insertions, 0 deletions
diff --git a/modules/fahad/festivals/config/install/core.entity_form_display.node.festivals.default.yml b/modules/fahad/festivals/config/install/core.entity_form_display.node.festivals.default.yml
new file mode 100644
index 0000000..11c97dd
--- /dev/null
+++ b/modules/fahad/festivals/config/install/core.entity_form_display.node.festivals.default.yml
@@ -0,0 +1,114 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.festivals.body
+ - field.field.node.festivals.field_fastival_link
+ - field.field.node.festivals.field_festival_file
+ - field.field.node.festivals.field_festival_image
+ - image.style.thumbnail
+ - node.type.festivals
+ module:
+ - file
+ - image
+ - link
+ - path
+ - text
+ enforced:
+ module:
+ - festivals
+id: node.festivals.default
+targetEntityType: node
+bundle: festivals
+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_fastival_link:
+ weight: 123
+ settings:
+ placeholder_url: ''
+ placeholder_title: ''
+ third_party_settings: { }
+ type: link_default
+ region: content
+ field_festival_file:
+ weight: 124
+ settings:
+ progress_indicator: throbber
+ third_party_settings: { }
+ type: file_generic
+ region: content
+ field_festival_image:
+ weight: 122
+ settings:
+ progress_indicator: throbber
+ preview_image_style: thumbnail
+ third_party_settings: { }
+ type: image_image
+ 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/fahad/festivals/config/install/core.entity_view_display.node.festivals.default.yml b/modules/fahad/festivals/config/install/core.entity_view_display.node.festivals.default.yml
new file mode 100644
index 0000000..f99a9f8
--- /dev/null
+++ b/modules/fahad/festivals/config/install/core.entity_view_display.node.festivals.default.yml
@@ -0,0 +1,66 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.festivals.body
+ - field.field.node.festivals.field_fastival_link
+ - field.field.node.festivals.field_festival_file
+ - field.field.node.festivals.field_festival_image
+ - node.type.festivals
+ module:
+ - file
+ - image
+ - link
+ - text
+ - user
+ enforced:
+ module:
+ - festivals
+id: node.festivals.default
+targetEntityType: node
+bundle: festivals
+mode: default
+content:
+ body:
+ label: hidden
+ type: text_default
+ weight: 101
+ settings: { }
+ third_party_settings: { }
+ region: content
+ field_fastival_link:
+ weight: 103
+ label: hidden
+ settings:
+ trim_length: 80
+ url_only: false
+ url_plain: false
+ rel: ''
+ target: ''
+ third_party_settings: { }
+ type: link
+ region: content
+ field_festival_file:
+ weight: 104
+ label: hidden
+ settings:
+ use_description_as_link_text: true
+ third_party_settings: { }
+ type: file_default
+ region: content
+ field_festival_image:
+ weight: 102
+ label: hidden
+ settings:
+ image_style: ''
+ image_link: ''
+ third_party_settings: { }
+ type: image
+ region: content
+ links:
+ weight: 100
+ region: content
+ settings: { }
+ third_party_settings: { }
+hidden:
+ langcode: true
diff --git a/modules/fahad/festivals/config/install/core.entity_view_display.node.festivals.teaser.yml b/modules/fahad/festivals/config/install/core.entity_view_display.node.festivals.teaser.yml
new file mode 100644
index 0000000..cfca1d9
--- /dev/null
+++ b/modules/fahad/festivals/config/install/core.entity_view_display.node.festivals.teaser.yml
@@ -0,0 +1,33 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.festivals.body
+ - node.type.festivals
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - festivals
+id: node.festivals.teaser
+targetEntityType: node
+bundle: festivals
+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/festivals/config/install/field.field.node.festivals.body.yml b/modules/fahad/festivals/config/install/field.field.node.festivals.body.yml
new file mode 100644
index 0000000..630c8df
--- /dev/null
+++ b/modules/fahad/festivals/config/install/field.field.node.festivals.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.festivals
+ module:
+ - text
+ enforced:
+ module:
+ - festivals
+id: node.festivals.body
+field_name: body
+entity_type: node
+bundle: festivals
+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/fahad/festivals/config/install/field.field.node.festivals.field_fastival_link.yml b/modules/fahad/festivals/config/install/field.field.node.festivals.field_fastival_link.yml
new file mode 100644
index 0000000..bf12331
--- /dev/null
+++ b/modules/fahad/festivals/config/install/field.field.node.festivals.field_fastival_link.yml
@@ -0,0 +1,25 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_fastival_link
+ - node.type.festivals
+ module:
+ - link
+ enforced:
+ module:
+ - festivals
+id: node.festivals.field_fastival_link
+field_name: field_fastival_link
+entity_type: node
+bundle: festivals
+label: fastival_link
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ link_type: 17
+ title: 2
+field_type: link
diff --git a/modules/fahad/festivals/config/install/field.field.node.festivals.field_festival_file.yml b/modules/fahad/festivals/config/install/field.field.node.festivals.field_festival_file.yml
new file mode 100644
index 0000000..36a39e4
--- /dev/null
+++ b/modules/fahad/festivals/config/install/field.field.node.festivals.field_festival_file.yml
@@ -0,0 +1,29 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_festival_file
+ - node.type.festivals
+ module:
+ - file
+ enforced:
+ module:
+ - festivals
+id: node.festivals.field_festival_file
+field_name: field_festival_file
+entity_type: node
+bundle: festivals
+label: festival_file
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ file_directory: '[date:custom:Y]-[date:custom:m]'
+ file_extensions: 'txt pdf img docx doc pptxt ppt'
+ max_filesize: ''
+ description_field: false
+ handler: 'default:file'
+ handler_settings: { }
+field_type: file
diff --git a/modules/fahad/festivals/config/install/field.field.node.festivals.field_festival_image.yml b/modules/fahad/festivals/config/install/field.field.node.festivals.field_festival_image.yml
new file mode 100644
index 0000000..49a456f
--- /dev/null
+++ b/modules/fahad/festivals/config/install/field.field.node.festivals.field_festival_image.yml
@@ -0,0 +1,40 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_festival_image
+ - node.type.festivals
+ module:
+ - image
+ enforced:
+ module:
+ - festivals
+id: node.festivals.field_festival_image
+field_name: field_festival_image
+entity_type: node
+bundle: festivals
+label: festival_image
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ file_directory: '[date:custom:Y]-[date:custom:m]'
+ file_extensions: 'png gif jpg jpeg'
+ max_filesize: ''
+ max_resolution: ''
+ min_resolution: ''
+ alt_field: true
+ alt_field_required: true
+ title_field: true
+ 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/fahad/festivals/config/install/field.storage.node.field_fastival_link.yml b/modules/fahad/festivals/config/install/field.storage.node.field_fastival_link.yml
new file mode 100644
index 0000000..c978af5
--- /dev/null
+++ b/modules/fahad/festivals/config/install/field.storage.node.field_fastival_link.yml
@@ -0,0 +1,22 @@
+uuid: b246b8f3-2171-4bbe-a01a-30c19cfd5699
+langcode: en
+status: true
+dependencies:
+ module:
+ - link
+ - node
+ enforced:
+ module:
+ - festivals
+id: node.field_fastival_link
+field_name: field_fastival_link
+entity_type: node
+type: link
+settings: { }
+module: link
+locked: false
+cardinality: -1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/fahad/festivals/config/install/field.storage.node.field_festival_file.yml b/modules/fahad/festivals/config/install/field.storage.node.field_festival_file.yml
new file mode 100644
index 0000000..ed54480
--- /dev/null
+++ b/modules/fahad/festivals/config/install/field.storage.node.field_festival_file.yml
@@ -0,0 +1,26 @@
+uuid: 51f79e04-9685-4f7e-93b7-72d00c18eb26
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - node
+ enforced:
+ module:
+ - festivals
+id: node.field_festival_file
+field_name: field_festival_file
+entity_type: node
+type: file
+settings:
+ display_field: true
+ display_default: false
+ uri_scheme: public
+ target_type: file
+module: file
+locked: false
+cardinality: -1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/fahad/festivals/config/install/field.storage.node.field_festival_image.yml b/modules/fahad/festivals/config/install/field.storage.node.field_festival_image.yml
new file mode 100644
index 0000000..13347c6
--- /dev/null
+++ b/modules/fahad/festivals/config/install/field.storage.node.field_festival_image.yml
@@ -0,0 +1,33 @@
+uuid: 6630d2e4-2444-4c5c-b59d-a57438eb2a60
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - image
+ - node
+ enforced:
+ module:
+ - festivals
+id: node.field_festival_image
+field_name: field_festival_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: 2
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/fahad/festivals/config/install/migrate_plus.migration.festivals.yml b/modules/fahad/festivals/config/install/migrate_plus.migration.festivals.yml
new file mode 100644
index 0000000..0493781
--- /dev/null
+++ b/modules/fahad/festivals/config/install/migrate_plus.migration.festivals.yml
@@ -0,0 +1,61 @@
+langcode: en
+status: true
+dependencies: { }
+id: festivals
+class: null
+field_plugin_method: null
+cck_plugin_method: null
+migration_tags: null
+migration_group: null
+label: 'Custom Content migration from CSV FESTIVALS'
+source:
+ plugin: csv
+ path: /var/www/html/project/docroot/festivals.csv
+ header_row_count: 1
+ keys:
+ - id
+ constants:
+ file_source: /var/www/html/project/docroot/fac_images
+ file_dest: 'public://fac_images/'
+process:
+ type:
+ plugin: default_value
+ default_value: festivals
+ source_path:
+ -
+ plugin: skip_on_empty
+ method: process
+ source: phuto
+ -
+ plugin: concat
+ delimiter: /
+ source:
+ - constants/file_source
+ - phuto
+ source_path_two:
+ -
+ plugin: skip_on_empty
+ method: process
+ source: file
+ -
+ plugin: concat
+ delimiter: /
+ source:
+ - constants/file_source
+ - file
+ title: title
+ body: body
+ field_fastival_link: link
+ field_festival_image:
+ plugin: file_import
+ source: '@source_path'
+ destination: constants/file_dest
+ field_festival_file:
+ plugin: file_import
+ source: '@source_path_two'
+ destination: constants/file_dest
+destination:
+ plugin: 'entity:node'
+migration_dependencies:
+ required: { }
+ optional: { }
diff --git a/modules/fahad/festivals/config/install/node.type.festivals.yml b/modules/fahad/festivals/config/install/node.type.festivals.yml
new file mode 100644
index 0000000..a0e5e2a
--- /dev/null
+++ b/modules/fahad/festivals/config/install/node.type.festivals.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - festivals
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: Festivals
+type: festivals
+description: 'Various Cultural and related Events'
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: true
diff --git a/modules/fahad/festivals/config/install/views.view.festivals.yml b/modules/fahad/festivals/config/install/views.view.festivals.yml
new file mode 100644
index 0000000..0d2e235
--- /dev/null
+++ b/modules/fahad/festivals/config/install/views.view.festivals.yml
@@ -0,0 +1,197 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.full
+ - node.type.festivals
+ - system.menu.main
+ module:
+ - node
+ - user
+id: festivals
+label: Festivals
+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: 10
+ 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: full
+ 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:
+ festivals: festivals
+ 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: Festivals
+ 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: festivals
+ menu:
+ type: normal
+ title: Festivals
+ menu_name: main
+ weight: -44
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }