diff options
Diffstat (limited to 'modules/bhavika/legal_forms1/config')
12 files changed, 405 insertions, 0 deletions
diff --git a/modules/bhavika/legal_forms1/config/install/core.entity_form_display.node.legal_forms.default.yml b/modules/bhavika/legal_forms1/config/install/core.entity_form_display.node.legal_forms.default.yml new file mode 100644 index 0000000..0a931fe --- /dev/null +++ b/modules/bhavika/legal_forms1/config/install/core.entity_form_display.node.legal_forms.default.yml @@ -0,0 +1,103 @@ +langcode: en +status: true +dependencies: + config: + - field.field.node.legal_forms.body + - field.field.node.legal_forms.field_form_type + - field.field.node.legal_forms.field_pdf_file + - node.type.legal_forms + module: + - file + - path + - text + enforced: + module: + - legal_forms1 +id: node.legal_forms.default +targetEntityType: node +bundle: legal_forms +mode: default +content: + body: + weight: 26 + settings: + rows: 9 + summary_rows: 3 + placeholder: '' + third_party_settings: { } + type: text_textarea_with_summary + region: content + created: + type: datetime_timestamp + weight: 3 + region: content + settings: { } + third_party_settings: { } + field_form_type: + type: entity_reference_autocomplete + weight: 9 + region: content + settings: + match_operator: CONTAINS + size: 60 + placeholder: '' + third_party_settings: { } + field_pdf_file: + weight: 8 + settings: + progress_indicator: throbber + third_party_settings: { } + type: file_generic + 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/legal_forms1/config/install/core.entity_view_display.node.legal_forms.default.yml b/modules/bhavika/legal_forms1/config/install/core.entity_view_display.node.legal_forms.default.yml new file mode 100644 index 0000000..98a37b8 --- /dev/null +++ b/modules/bhavika/legal_forms1/config/install/core.entity_view_display.node.legal_forms.default.yml @@ -0,0 +1,43 @@ +langcode: en +status: true +dependencies: + config: + - field.field.node.legal_forms.body + - field.field.node.legal_forms.field_form_type + - field.field.node.legal_forms.field_pdf_file + - node.type.legal_forms + module: + - file + - text + - user + enforced: + module: + - legal_forms1 +id: node.legal_forms.default +targetEntityType: node +bundle: legal_forms +mode: default +content: + body: + weight: 2 + label: above + settings: { } + third_party_settings: { } + type: text_default + region: content + field_pdf_file: + weight: 1 + label: hidden + settings: + use_description_as_link_text: true + third_party_settings: { } + type: file_default + region: content + links: + weight: 0 + region: content + settings: { } + third_party_settings: { } +hidden: + field_form_type: true + langcode: true diff --git a/modules/bhavika/legal_forms1/config/install/core.entity_view_display.node.legal_forms.teaser.yml b/modules/bhavika/legal_forms1/config/install/core.entity_view_display.node.legal_forms.teaser.yml new file mode 100644 index 0000000..7bcb82f --- /dev/null +++ b/modules/bhavika/legal_forms1/config/install/core.entity_view_display.node.legal_forms.teaser.yml @@ -0,0 +1,23 @@ +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.teaser + - field.field.node.legal_forms.field_form_type + - field.field.node.legal_forms.field_pdf_file + - node.type.legal_forms + module: + - user + enforced: + module: + - legal_forms1 +id: node.legal_forms.teaser +targetEntityType: node +bundle: legal_forms +mode: teaser +content: { } +hidden: + field_form_type: true + field_pdf_file: true + langcode: true + links: true diff --git a/modules/bhavika/legal_forms1/config/install/core.entity_view_display.taxonomy_term.legal_forms.default.yml b/modules/bhavika/legal_forms1/config/install/core.entity_view_display.taxonomy_term.legal_forms.default.yml new file mode 100644 index 0000000..ecdeb34 --- /dev/null +++ b/modules/bhavika/legal_forms1/config/install/core.entity_view_display.taxonomy_term.legal_forms.default.yml @@ -0,0 +1,16 @@ +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.legal_forms + enforced: + module: + - legal_forms1 +id: taxonomy_term.legal_forms.default +targetEntityType: taxonomy_term +bundle: legal_forms +mode: default +content: { } +hidden: + description: true + langcode: true diff --git a/modules/bhavika/legal_forms1/config/install/field.field.node.legal_forms.body.yml b/modules/bhavika/legal_forms1/config/install/field.field.node.legal_forms.body.yml new file mode 100644 index 0000000..ca37815 --- /dev/null +++ b/modules/bhavika/legal_forms1/config/install/field.field.node.legal_forms.body.yml @@ -0,0 +1,24 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.body + - node.type.legal_forms + module: + - text + enforced: + module: + - legal_forms1 +id: node.legal_forms.body +field_name: body +entity_type: node +bundle: legal_forms +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/bhavika/legal_forms1/config/install/field.field.node.legal_forms.field_form_type.yml b/modules/bhavika/legal_forms1/config/install/field.field.node.legal_forms.field_form_type.yml new file mode 100644 index 0000000..f07a9df --- /dev/null +++ b/modules/bhavika/legal_forms1/config/install/field.field.node.legal_forms.field_form_type.yml @@ -0,0 +1,31 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_form_type + - node.type.legal_forms + - taxonomy.vocabulary.legal_forms + enforced: + module: + - legal_forms1 +id: node.legal_forms.field_form_type +field_name: field_form_type +entity_type: node +bundle: legal_forms +label: form_type +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:taxonomy_term' + handler_settings: + target_bundles: + legal_forms: legal_forms + sort: + field: name + direction: asc + auto_create: false + auto_create_bundle: academics_category +field_type: entity_reference diff --git a/modules/bhavika/legal_forms1/config/install/field.field.node.legal_forms.field_pdf_file.yml b/modules/bhavika/legal_forms1/config/install/field.field.node.legal_forms.field_pdf_file.yml new file mode 100644 index 0000000..8a4bfd2 --- /dev/null +++ b/modules/bhavika/legal_forms1/config/install/field.field.node.legal_forms.field_pdf_file.yml @@ -0,0 +1,29 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_pdf_file + - node.type.legal_forms + module: + - file + enforced: + module: + - legal_forms1 +id: node.legal_forms.field_pdf_file +field_name: field_pdf_file +entity_type: node +bundle: legal_forms +label: pdf_file +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + file_directory: pdf_files_lf + file_extensions: 'txt pdf jpg png zip' + max_filesize: '' + description_field: false + handler: 'default:file' + handler_settings: { } +field_type: file diff --git a/modules/bhavika/legal_forms1/config/install/field.storage.node.field_form_type.yml b/modules/bhavika/legal_forms1/config/install/field.storage.node.field_form_type.yml new file mode 100644 index 0000000..2b6d88d --- /dev/null +++ b/modules/bhavika/legal_forms1/config/install/field.storage.node.field_form_type.yml @@ -0,0 +1,22 @@ +langcode: en +status: true +dependencies: + module: + - node + - taxonomy + enforced: + module: + - legal_forms1 +id: node.field_form_type +field_name: field_form_type +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/bhavika/legal_forms1/config/install/field.storage.node.field_pdf_file.yml b/modules/bhavika/legal_forms1/config/install/field.storage.node.field_pdf_file.yml new file mode 100644 index 0000000..bacd3db --- /dev/null +++ b/modules/bhavika/legal_forms1/config/install/field.storage.node.field_pdf_file.yml @@ -0,0 +1,29 @@ +langcode: en +status: true +dependencies: + module: + # - field_permissions + - file + - node + enforced: + module: + - legal_forms1 +# third_party_settings: +# field_permissions: +# permission_type: public +id: node.field_pdf_file +field_name: field_pdf_file +entity_type: node +type: file +settings: + display_field: false + 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/bhavika/legal_forms1/config/install/migrate_plus.migration.legal_forms_import.yml b/modules/bhavika/legal_forms1/config/install/migrate_plus.migration.legal_forms_import.yml new file mode 100644 index 0000000..48507e3 --- /dev/null +++ b/modules/bhavika/legal_forms1/config/install/migrate_plus.migration.legal_forms_import.yml @@ -0,0 +1,57 @@ +uuid: 5098d90e-b0d2-4895-9643-c1c6f62ab657 +language: en +migration_group: default +id: legal_forms_import +label: 'legal_forms_import' +source: + plugin: csv + path: /var/www/legal forms/csv/legal_forms.csv + delimiter: ',' + enclosure: '"' + header_row_count: 1 + keys: + - id + constants: + file_source: /var/www/legal forms/files + file_dest: 'public://pdf_files_lf/' +process: + type: + plugin: default_value + default_value: legal_forms + source_path: + - + plugin: skip_on_empty + method: process + source: files + - + plugin: concat + delimiter: / + source: + - constants/file_source + - files + title: title + body/value: body + body/format: + plugin: default_value + default_value: basic_html + field_form_type: + - + plugin: entity_lookup + entity_type: taxonomy_term + bundle: legal_forms + source: form_type + field_pdf_file: + - + plugin: explode + delimiter: ',' + source: files + - + plugin: file_import + # source: '@source_path' + destination: constants/file_dest +destination: + plugin: 'entity:node' + bundle: legal_forms +migration_dependencies: + required: { } + optional: { }
\ No newline at end of file diff --git a/modules/bhavika/legal_forms1/config/install/node.type.legal_forms.yml b/modules/bhavika/legal_forms1/config/install/node.type.legal_forms.yml new file mode 100644 index 0000000..0b37dcb --- /dev/null +++ b/modules/bhavika/legal_forms1/config/install/node.type.legal_forms.yml @@ -0,0 +1,20 @@ +langcode: en +status: true +dependencies: + module: + - menu_ui + enforced: + module: + - legal_forms1 +# third_party_settings: +# menu_ui: +# available_menus: +# - main +# parent: 'main:' +name: 'Legal Forms' +type: legal_forms +description: '' +help: '' +new_revision: true +preview_mode: 1 +display_submitted: true diff --git a/modules/bhavika/legal_forms1/config/install/taxonomy.vocabulary.legal_forms.yml b/modules/bhavika/legal_forms1/config/install/taxonomy.vocabulary.legal_forms.yml new file mode 100644 index 0000000..637fa3c --- /dev/null +++ b/modules/bhavika/legal_forms1/config/install/taxonomy.vocabulary.legal_forms.yml @@ -0,0 +1,8 @@ +langcode: en +status: true +dependencies: { } +name: legal_forms +vid: legal_forms +description: '' +hierarchy: 0 +weight: 0 |