summaryrefslogtreecommitdiff
path: root/modules/kalpesh/iteron_activities
diff options
context:
space:
mode:
authorFahad Israr2019-07-04 11:26:16 +0530
committerFahad Israr2019-07-04 11:26:16 +0530
commit2208d6c4c515589207c8cb88d3ce156ff086d48b (patch)
tree3b1ccc63f818189e45617c8977ab7d84616db797 /modules/kalpesh/iteron_activities
parent9f01af7880cf575cf7db322f5f7c1949e89fad0a (diff)
parent779f770a2022c3792d5e2dae95e0381093fb8989 (diff)
downloadacadmix_distribution-2208d6c4c515589207c8cb88d3ce156ff086d48b.tar.gz
acadmix_distribution-2208d6c4c515589207c8cb88d3ce156ff086d48b.tar.bz2
acadmix_distribution-2208d6c4c515589207c8cb88d3ce156ff086d48b.zip
Merge branch 'stage' of https://github.com/FOSSEE/acadmix_distribution
Diffstat (limited to 'modules/kalpesh/iteron_activities')
-rw-r--r--modules/kalpesh/iteron_activities/composer.json13
-rw-r--r--modules/kalpesh/iteron_activities/config/install/core.base_field_override.node.iteron_activities.promote.yml.yml21
-rw-r--r--modules/kalpesh/iteron_activities/config/install/core.base_field_override.node.iteron_activities.title.yml.yml17
-rw-r--r--modules/kalpesh/iteron_activities/config/install/core.entity_form_display.node.iteron_activities.default.yml136
-rw-r--r--modules/kalpesh/iteron_activities/config/install/core.entity_view_display.node.iteron_activities.default.yml141
-rw-r--r--modules/kalpesh/iteron_activities/config/install/core.entity_view_display.node.iteron_activities.teaser.yml30
-rw-r--r--modules/kalpesh/iteron_activities/config/install/core.entity_view_mode.node.teaser.yml9
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.body.yml21
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_activity_images.yml37
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_activity_report.yml26
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_date.yml20
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_nature_of_activity.yml18
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_remark.yml18
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_resource_person.yml18
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.storage.node.body.yml18
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.storage.node.field_activity_images.yml29
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.storage.node.field_activity_report.yml22
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.storage.node.field_date.yml19
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.storage.node.field_nature_of_activity.yml20
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.storage.node.field_remark.yml20
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.storage.node.field_resource_person.yml20
-rw-r--r--modules/kalpesh/iteron_activities/config/install/image.style.thumbnail.yml14
-rw-r--r--modules/kalpesh/iteron_activities/config/install/node.type.iteron_activities.yml17
-rw-r--r--modules/kalpesh/iteron_activities/config/install/views.view.activities.yml389
-rw-r--r--modules/kalpesh/iteron_activities/iteron_activities.info.yml16
-rw-r--r--modules/kalpesh/iteron_activities/iteron_activities.install26
-rw-r--r--modules/kalpesh/iteron_activities/iteron_activities.module35
-rw-r--r--modules/kalpesh/iteron_activities/templates/iteron-activities.html.twig1
-rw-r--r--modules/kalpesh/iteron_activities/tests/src/Functional/LoadTest.php46
29 files changed, 1217 insertions, 0 deletions
diff --git a/modules/kalpesh/iteron_activities/composer.json b/modules/kalpesh/iteron_activities/composer.json
new file mode 100644
index 0000000..6de3f29
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/composer.json
@@ -0,0 +1,13 @@
+{
+ "name": "iteron_activities",
+ "type": "drupal-module",
+ "description": "My Awesome Module",
+ "keywords": [
+ ],
+ "homepage": "https://www.drupal.org/project/iteron_activities",
+ "minimum-stability": "dev",
+ "support": {
+ "issues": "https://www.drupal.org/project/issues/iteron_activities",
+ "source": "http://cgit.drupalcode.org/iteron_activities",
+ },
+}
diff --git a/modules/kalpesh/iteron_activities/config/install/core.base_field_override.node.iteron_activities.promote.yml.yml b/modules/kalpesh/iteron_activities/config/install/core.base_field_override.node.iteron_activities.promote.yml.yml
new file mode 100644
index 0000000..d52ef54
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/core.base_field_override.node.iteron_activities.promote.yml.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.iteron_activities
+id: node.iteron_activities.promote
+field_name: promote
+entity_type: node
+bundle: iteron_activities
+label: 'Promoted to front page'
+description: ''
+required: false
+translatable: true
+default_value:
+ -
+ value: 0
+default_value_callback: ''
+settings:
+ on_label: 'On'
+ off_label: 'Off'
+field_type: boolean
diff --git a/modules/kalpesh/iteron_activities/config/install/core.base_field_override.node.iteron_activities.title.yml.yml b/modules/kalpesh/iteron_activities/config/install/core.base_field_override.node.iteron_activities.title.yml.yml
new file mode 100644
index 0000000..9fb94de
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/core.base_field_override.node.iteron_activities.title.yml.yml
@@ -0,0 +1,17 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.iteron_activities
+id: node.iteron_activities.title
+field_name: title
+entity_type: node
+bundle: iteron_activities
+label: Topic
+description: ''
+required: true
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/kalpesh/iteron_activities/config/install/core.entity_form_display.node.iteron_activities.default.yml b/modules/kalpesh/iteron_activities/config/install/core.entity_form_display.node.iteron_activities.default.yml
new file mode 100644
index 0000000..80ebabc
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/core.entity_form_display.node.iteron_activities.default.yml
@@ -0,0 +1,136 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.iteron_activities.body
+ - field.field.node.iteron_activities.field_activity_images
+ - field.field.node.iteron_activities.field_activity_report
+ - field.field.node.iteron_activities.field_date
+ - field.field.node.iteron_activities.field_nature_of_activity
+ - field.field.node.iteron_activities.field_remark
+ - field.field.node.iteron_activities.field_resource_person
+ - image.style.thumbnail
+ - node.type.iteron_activities
+ module:
+ - datetime
+ - file
+ - image
+ - path
+ - text
+id: node.iteron_activities.default
+targetEntityType: node
+bundle: iteron_activities
+mode: default
+content:
+ body:
+ type: text_textarea_with_summary
+ weight: 11
+ region: content
+ settings:
+ rows: 9
+ summary_rows: 3
+ placeholder: ''
+ third_party_settings: { }
+ created:
+ type: datetime_timestamp
+ weight: 3
+ region: content
+ settings: { }
+ third_party_settings: { }
+ field_activity_images:
+ weight: 12
+ settings:
+ progress_indicator: throbber
+ preview_image_style: thumbnail
+ third_party_settings: { }
+ type: image_image
+ region: content
+ field_activity_report:
+ weight: 13
+ settings:
+ progress_indicator: throbber
+ third_party_settings: { }
+ type: file_generic
+ region: content
+ field_date:
+ weight: 8
+ settings: { }
+ third_party_settings: { }
+ type: datetime_default
+ region: content
+ field_nature_of_activity:
+ weight: 9
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ region: content
+ field_remark:
+ weight: 14
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ region: content
+ field_resource_person:
+ weight: 10
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ 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/kalpesh/iteron_activities/config/install/core.entity_view_display.node.iteron_activities.default.yml b/modules/kalpesh/iteron_activities/config/install/core.entity_view_display.node.iteron_activities.default.yml
new file mode 100644
index 0000000..d059561
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/core.entity_view_display.node.iteron_activities.default.yml
@@ -0,0 +1,141 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.iteron_activities.body
+ - field.field.node.iteron_activities.field_activity_images
+ - field.field.node.iteron_activities.field_activity_report
+ - field.field.node.iteron_activities.field_date
+ - field.field.node.iteron_activities.field_nature_of_activity
+ - field.field.node.iteron_activities.field_remark
+ - field.field.node.iteron_activities.field_resource_person
+ - node.type.iteron_activities
+ module:
+ - datetime
+ - ds
+ - file
+ - image
+ - text
+ - user
+third_party_settings:
+ ds:
+ layout:
+ id: ds_1col
+ library: null
+ disable_css: false
+ entity_classes: all_classes
+ settings:
+ wrappers:
+ ds_content: div
+ outer_wrapper: div
+ attributes: ''
+ link_attribute: ''
+ link_custom: ''
+ classes:
+ layout_class: { }
+ ds_content: { }
+ regions:
+ ds_content:
+ - links
+ - field_date
+ - body
+ - field_activity_images
+ - field_activity_report
+id: node.iteron_activities.default
+targetEntityType: node
+bundle: iteron_activities
+mode: default
+content:
+ body:
+ type: text_summary_or_trimmed
+ weight: 2
+ region: ds_content
+ label: above
+ settings:
+ trim_length: 600
+ third_party_settings: { }
+ field_activity_images:
+ weight: 3
+ label: above
+ settings:
+ image_style: ''
+ image_link: ''
+ third_party_settings: { }
+ type: image
+ region: ds_content
+ field_activity_report:
+ weight: 4
+ label: above
+ settings:
+ use_description_as_link_text: true
+ third_party_settings: { }
+ type: file_default
+ region: ds_content
+ field_date:
+ weight: 1
+ label: above
+ settings:
+ timezone_override: ''
+ date_format: Y-m-d
+ third_party_settings:
+ ds:
+ ft:
+ id: expert
+ settings:
+ lb: ''
+ prefix: ''
+ lbw-el: ''
+ lbw-cl: ''
+ lbw-at: ''
+ ow-el: ''
+ ow-cl: ''
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi-el: ''
+ fi-cl: ''
+ fi-at: ''
+ suffix: ''
+ lbw: false
+ lb-col: false
+ ow: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi: false
+ fi-def-at: false
+ type: datetime_custom
+ region: ds_content
+ field_nature_of_activity:
+ weight: 5
+ label: above
+ settings:
+ link_to_entity: false
+ third_party_settings: { }
+ type: string
+ region: content
+ field_remark:
+ weight: 7
+ label: above
+ settings:
+ link_to_entity: false
+ third_party_settings: { }
+ type: string
+ region: content
+ field_resource_person:
+ weight: 6
+ label: above
+ settings:
+ link_to_entity: false
+ third_party_settings: { }
+ type: string
+ region: content
+ links:
+ weight: 0
+ region: ds_content
+ settings: { }
+ third_party_settings: { }
+hidden:
+ langcode: true
diff --git a/modules/kalpesh/iteron_activities/config/install/core.entity_view_display.node.iteron_activities.teaser.yml b/modules/kalpesh/iteron_activities/config/install/core.entity_view_display.node.iteron_activities.teaser.yml
new file mode 100644
index 0000000..1b7d238
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/core.entity_view_display.node.iteron_activities.teaser.yml
@@ -0,0 +1,30 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.iteron_activities.body
+ - node.type.iteron_activities
+ module:
+ - text
+ - user
+id: node.iteron_activities.teaser
+targetEntityType: node
+bundle: iteron_activities
+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/kalpesh/iteron_activities/config/install/core.entity_view_mode.node.teaser.yml b/modules/kalpesh/iteron_activities/config/install/core.entity_view_mode.node.teaser.yml
new file mode 100644
index 0000000..dcde72c
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/core.entity_view_mode.node.teaser.yml
@@ -0,0 +1,9 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.teaser
+label: Teaser
+targetEntityType: node
+cache: true
diff --git a/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.body.yml b/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.body.yml
new file mode 100644
index 0000000..fe0edb3
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.body.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.iteron_activities
+ module:
+ - text
+id: node.iteron_activities.body
+field_name: body
+entity_type: node
+bundle: iteron_activities
+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/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_activity_images.yml b/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_activity_images.yml
new file mode 100644
index 0000000..5d92c28
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_activity_images.yml
@@ -0,0 +1,37 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_activity_images
+ - node.type.iteron_activities
+ module:
+ - image
+id: node.iteron_activities.field_activity_images
+field_name: field_activity_images
+entity_type: node
+bundle: iteron_activities
+label: 'Activity Images'
+description: 'images of Activity'
+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: false
+ 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/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_activity_report.yml b/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_activity_report.yml
new file mode 100644
index 0000000..6c092d7
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_activity_report.yml
@@ -0,0 +1,26 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_activity_report
+ - node.type.iteron_activities
+ module:
+ - file
+id: node.iteron_activities.field_activity_report
+field_name: field_activity_report
+entity_type: node
+bundle: iteron_activities
+label: 'Activity Report'
+description: 'Report of activity'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ file_directory: '[date:custom:Y]-[date:custom:m]'
+ file_extensions: 'txt pdf'
+ max_filesize: ''
+ description_field: false
+ handler: 'default:file'
+ handler_settings: { }
+field_type: file
diff --git a/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_date.yml b/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_date.yml
new file mode 100644
index 0000000..ea91ce1
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_date.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_date
+ - node.type.iteron_activities
+ module:
+ - datetime
+id: node.iteron_activities.field_date
+field_name: field_date
+entity_type: node
+bundle: iteron_activities
+label: Date
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: datetime
diff --git a/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_nature_of_activity.yml b/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_nature_of_activity.yml
new file mode 100644
index 0000000..fdfce7f
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_nature_of_activity.yml
@@ -0,0 +1,18 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_nature_of_activity
+ - node.type.iteron_activities
+id: node.iteron_activities.field_nature_of_activity
+field_name: field_nature_of_activity
+entity_type: node
+bundle: iteron_activities
+label: 'Nature of activity'
+description: 'ex meeting ,workshop '
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_remark.yml b/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_remark.yml
new file mode 100644
index 0000000..c3ffbe7
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_remark.yml
@@ -0,0 +1,18 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_remark
+ - node.type.iteron_activities
+id: node.iteron_activities.field_remark
+field_name: field_remark
+entity_type: node
+bundle: iteron_activities
+label: Remark
+description: 'no of participant'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_resource_person.yml b/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_resource_person.yml
new file mode 100644
index 0000000..fe12069
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_resource_person.yml
@@ -0,0 +1,18 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_resource_person
+ - node.type.iteron_activities
+id: node.iteron_activities.field_resource_person
+field_name: field_resource_person
+entity_type: node
+bundle: iteron_activities
+label: 'Resource person'
+description: 'name of speaker'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/kalpesh/iteron_activities/config/install/field.storage.node.body.yml b/modules/kalpesh/iteron_activities/config/install/field.storage.node.body.yml
new file mode 100644
index 0000000..73edd16
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.storage.node.body.yml
@@ -0,0 +1,18 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ - text
+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/kalpesh/iteron_activities/config/install/field.storage.node.field_activity_images.yml b/modules/kalpesh/iteron_activities/config/install/field.storage.node.field_activity_images.yml
new file mode 100644
index 0000000..996e0c3
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.storage.node.field_activity_images.yml
@@ -0,0 +1,29 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - image
+ - node
+id: node.field_activity_images
+field_name: field_activity_images
+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/kalpesh/iteron_activities/config/install/field.storage.node.field_activity_report.yml b/modules/kalpesh/iteron_activities/config/install/field.storage.node.field_activity_report.yml
new file mode 100644
index 0000000..a7f3e41
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.storage.node.field_activity_report.yml
@@ -0,0 +1,22 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - node
+id: node.field_activity_report
+field_name: field_activity_report
+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/kalpesh/iteron_activities/config/install/field.storage.node.field_date.yml b/modules/kalpesh/iteron_activities/config/install/field.storage.node.field_date.yml
new file mode 100644
index 0000000..248ed35
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.storage.node.field_date.yml
@@ -0,0 +1,19 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - datetime
+ - node
+id: node.field_date
+field_name: field_date
+entity_type: node
+type: datetime
+settings:
+ datetime_type: date
+module: datetime
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/kalpesh/iteron_activities/config/install/field.storage.node.field_nature_of_activity.yml b/modules/kalpesh/iteron_activities/config/install/field.storage.node.field_nature_of_activity.yml
new file mode 100644
index 0000000..cc632b9
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.storage.node.field_nature_of_activity.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_nature_of_activity
+field_name: field_nature_of_activity
+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/kalpesh/iteron_activities/config/install/field.storage.node.field_remark.yml b/modules/kalpesh/iteron_activities/config/install/field.storage.node.field_remark.yml
new file mode 100644
index 0000000..3bdb8aa
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.storage.node.field_remark.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_remark
+field_name: field_remark
+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/kalpesh/iteron_activities/config/install/field.storage.node.field_resource_person.yml b/modules/kalpesh/iteron_activities/config/install/field.storage.node.field_resource_person.yml
new file mode 100644
index 0000000..c944fa5
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.storage.node.field_resource_person.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+id: node.field_resource_person
+field_name: field_resource_person
+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/kalpesh/iteron_activities/config/install/image.style.thumbnail.yml b/modules/kalpesh/iteron_activities/config/install/image.style.thumbnail.yml
new file mode 100644
index 0000000..73dc9b8
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/image.style.thumbnail.yml
@@ -0,0 +1,14 @@
+langcode: en
+status: true
+dependencies: { }
+name: thumbnail
+label: 'Thumbnail (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/kalpesh/iteron_activities/config/install/node.type.iteron_activities.yml b/modules/kalpesh/iteron_activities/config/install/node.type.iteron_activities.yml
new file mode 100644
index 0000000..4fab339
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/node.type.iteron_activities.yml
@@ -0,0 +1,17 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: 'Iteron Activities'
+type: iteron_activities
+description: 'activities conducted by iteron club'
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: true
diff --git a/modules/kalpesh/iteron_activities/config/install/views.view.activities.yml b/modules/kalpesh/iteron_activities/config/install/views.view.activities.yml
new file mode 100644
index 0000000..f8a85e5
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/views.view.activities.yml
@@ -0,0 +1,389 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - field.storage.node.field_date
+ - node.type.iteron_activities
+ - system.menu.main
+ module:
+ - datetime
+ - node
+ - text
+ - user
+ - views_bootstrap
+id: activities
+label: Activities
+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: full
+ options:
+ items_per_page: 10
+ offset: 0
+ id: 0
+ total_pages: null
+ tags:
+ previous: ‹‹
+ next: ››
+ first: '« First'
+ last: 'Last »'
+ 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
+ quantity: 9
+ style:
+ type: views_bootstrap_grid
+ options:
+ row_class: mb-30
+ default_row_class: true
+ uses_fields: false
+ alignment: horizontal
+ columns: '4'
+ col_xs: col-xs-12
+ col_sm: col-sm-6
+ col_md: col-md-3
+ col_lg: col-lg-3
+ row:
+ type: fields
+ options:
+ default_field_elements: true
+ inline: { }
+ separator: ''
+ hide_empty: false
+ 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
+ body:
+ id: body
+ table: node__body
+ field: body
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: ''
+ exclude: false
+ alter:
+ alter_text: false
+ text: ''
+ make_link: false
+ path: ''
+ absolute: false
+ external: false
+ replace_spaces: false
+ path_case: none
+ trim_whitespace: false
+ alt: ''
+ rel: ''
+ link_class: ''
+ prefix: ''
+ suffix: ''
+ target: ''
+ nl2br: false
+ max_length: 0
+ word_boundary: true
+ ellipsis: true
+ more_link: false
+ more_link_text: ''
+ more_link_path: ''
+ strip_tags: false
+ trim: false
+ preserve_tags: ''
+ html: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: false
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: value
+ type: text_default
+ settings: { }
+ 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
+ plugin_id: field
+ field_date:
+ id: field_date
+ table: node__field_date
+ field: field_date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: ''
+ exclude: false
+ alter:
+ alter_text: false
+ text: ''
+ make_link: false
+ path: ''
+ absolute: false
+ external: false
+ replace_spaces: false
+ path_case: none
+ trim_whitespace: false
+ alt: ''
+ rel: ''
+ link_class: ''
+ prefix: ''
+ suffix: ''
+ target: ''
+ nl2br: false
+ max_length: 0
+ word_boundary: true
+ ellipsis: true
+ more_link: false
+ more_link_text: ''
+ more_link_path: ''
+ strip_tags: false
+ trim: false
+ preserve_tags: ''
+ html: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: false
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: value
+ type: datetime_default
+ settings:
+ timezone_override: ''
+ format_type: medium
+ 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
+ plugin_id: field
+ 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:
+ iteron_activities: iteron_activities
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ group: 1
+ 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: Activities
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments:
+ created_year:
+ id: created_year
+ table: node_field_data
+ field: created_year
+ relationship: none
+ group_type: group
+ admin_label: ''
+ default_action: ignore
+ exception:
+ value: all
+ title_enable: false
+ title: All
+ title_enable: false
+ title: ''
+ default_argument_type: fixed
+ default_argument_options:
+ argument: ''
+ default_argument_skip_url: false
+ summary_options:
+ base_path: ''
+ count: true
+ items_per_page: 25
+ override: false
+ summary:
+ sort_order: asc
+ number_of_records: 0
+ format: default_summary
+ specify_validation: false
+ validate:
+ type: none
+ fail: 'not found'
+ validate_options: { }
+ entity_type: node
+ plugin_id: date_year
+ display_extenders: { }
+ filter_groups:
+ operator: AND
+ groups:
+ 1: AND
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.body'
+ - 'config:field.storage.node.field_date'
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: activities
+ menu:
+ type: normal
+ title: Activities
+ menu_name: main
+ weight: -49
+ parent: 'menu_link_content:967e1206-74f4-466a-9ec8-62a46f7ecadb'
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.body'
+ - 'config:field.storage.node.field_date'
diff --git a/modules/kalpesh/iteron_activities/iteron_activities.info.yml b/modules/kalpesh/iteron_activities/iteron_activities.info.yml
new file mode 100644
index 0000000..882858d
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/iteron_activities.info.yml
@@ -0,0 +1,16 @@
+name: Iteron_Activities
+type: module
+description: 'My Awesome Module'
+core: 8.x
+package: Custom
+dependencies:
+ - drupal:menu_ui
+ - drupal:datetime
+ - drupal:file
+ - drupal:image
+ - drupal:path
+ - drupal:text
+ - ds:ds
+ - drupal:user
+ - drupal:node
+
diff --git a/modules/kalpesh/iteron_activities/iteron_activities.install b/modules/kalpesh/iteron_activities/iteron_activities.install
new file mode 100644
index 0000000..eea1ece
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/iteron_activities.install
@@ -0,0 +1,26 @@
+
+<?php
+/**
+* Implements hook_uninstall().
+*/
+function iteron_activities_uninstall() { //<-- replace “welcome” with your module machine name
+ // Load services.
+ $queryFactory = \Drupal::service('entity.query');
+ $nodeStorage = \Drupal::entityManager()->getStorage('node');
+
+
+
+ // Query all entity.
+ $query = $queryFactory->get('node')
+// <-- replace event in below line with your content type machine name
+ ->condition('type', 'iteron_activities');
+ $nids = $query->execute();
+
+
+
+ // Delete entities.
+ if (!empty($nids)) {
+ $entities = $nodeStorage->loadMultiple($nids);
+ $nodeStorage->delete($entities);
+ }
+}
diff --git a/modules/kalpesh/iteron_activities/iteron_activities.module b/modules/kalpesh/iteron_activities/iteron_activities.module
new file mode 100644
index 0000000..8328800
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/iteron_activities.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains iteron_activities.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function iteron_activities_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the iteron_activities module.
+ case 'help.page.iteron_activities':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('My Awesome Module') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function iteron_activities_theme() {
+ return [
+ 'iteron_activities' => [
+ 'render element' => 'children',
+ ],
+ ];
+}
diff --git a/modules/kalpesh/iteron_activities/templates/iteron-activities.html.twig b/modules/kalpesh/iteron_activities/templates/iteron-activities.html.twig
new file mode 100644
index 0000000..95722bd
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/templates/iteron-activities.html.twig
@@ -0,0 +1 @@
+<!-- Add you custom twig html here -->
diff --git a/modules/kalpesh/iteron_activities/tests/src/Functional/LoadTest.php b/modules/kalpesh/iteron_activities/tests/src/Functional/LoadTest.php
new file mode 100644
index 0000000..e506f28
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/tests/src/Functional/LoadTest.php
@@ -0,0 +1,46 @@
+<?php
+
+namespace Drupal\Tests\iteron_activities\Functional;
+
+use Drupal\Core\Url;
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Simple test to ensure that main page loads with module enabled.
+ *
+ * @group iteron_activities
+ */
+class LoadTest extends BrowserTestBase {
+
+ /**
+ * Modules to enable.
+ *
+ * @var array
+ */
+ public static $modules = ['iteron_activities'];
+
+ /**
+ * A user with permission to administer site configuration.
+ *
+ * @var \Drupal\user\UserInterface
+ */
+ protected $user;
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function setUp() {
+ parent::setUp();
+ $this->user = $this->drupalCreateUser(['administer site configuration']);
+ $this->drupalLogin($this->user);
+ }
+
+ /**
+ * Tests that the home page loads with a 200 response.
+ */
+ public function testLoad() {
+ $this->drupalGet(Url::fromRoute('<front>'));
+ $this->assertSession()->statusCodeEquals(200);
+ }
+
+}