summaryrefslogtreecommitdiff
path: root/modules/kalpesh
diff options
context:
space:
mode:
Diffstat (limited to 'modules/kalpesh')
-rw-r--r--modules/kalpesh/achivements/achivements.info.yml16
-rw-r--r--modules/kalpesh/achivements/achivements.install26
-rw-r--r--modules/kalpesh/achivements/achivements.module35
-rw-r--r--modules/kalpesh/achivements/composer.json13
-rw-r--r--modules/kalpesh/achivements/config/install/core.base_field_override.node.achivements.promote.yml24
-rw-r--r--modules/kalpesh/achivements/config/install/core.base_field_override.node.achivements.title.yml20
-rw-r--r--modules/kalpesh/achivements/config/install/core.entity_form_display.node.achivements.default.yml113
-rw-r--r--modules/kalpesh/achivements/config/install/core.entity_view_display.node.achivements.default.yml167
-rw-r--r--modules/kalpesh/achivements/config/install/core.entity_view_display.node.achivements.teaser.yml33
-rw-r--r--modules/kalpesh/achivements/config/install/field.field.node.achivements.body.yml24
-rw-r--r--modules/kalpesh/achivements/config/install/field.field.node.achivements.field_acadmic_year.yml21
-rw-r--r--modules/kalpesh/achivements/config/install/field.field.node.achivements.field_achivement_files.yml29
-rw-r--r--modules/kalpesh/achivements/config/install/field.field.node.achivements.field_achivement_image.yml40
-rw-r--r--modules/kalpesh/achivements/config/install/field.storage.node.field_acadmic_year.yml23
-rw-r--r--modules/kalpesh/achivements/config/install/field.storage.node.field_achivement_files.yml25
-rw-r--r--modules/kalpesh/achivements/config/install/field.storage.node.field_achivement_image.yml32
-rw-r--r--modules/kalpesh/achivements/config/install/image.style.achievament_image_style.yml17
-rw-r--r--modules/kalpesh/achivements/config/install/node.type.achivements.yml20
-rw-r--r--modules/kalpesh/achivements/config/install/views.view.achivements.yml211
-rw-r--r--modules/kalpesh/achivements/templates/achivements.html.twig1
-rw-r--r--modules/kalpesh/achivements/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/kalpesh/club/club.info.yml15
-rw-r--r--modules/kalpesh/club/club.install26
-rw-r--r--modules/kalpesh/club/club.module35
-rw-r--r--modules/kalpesh/club/composer.json13
-rw-r--r--modules/kalpesh/club/config/install/core.base_field_override.node.club.promote.yml24
-rw-r--r--modules/kalpesh/club/config/install/core.base_field_override.node.club.title.yml20
-rw-r--r--modules/kalpesh/club/config/install/core.entity_form_display.node.club.default.yml129
-rw-r--r--modules/kalpesh/club/config/install/core.entity_view_display.node.club.default.yml231
-rw-r--r--modules/kalpesh/club/config/install/core.entity_view_display.node.club.teaser.yml33
-rw-r--r--modules/kalpesh/club/config/install/field.field.node.club.body.yml24
-rw-r--r--modules/kalpesh/club/config/install/field.field.node.club.field_committee_member.yml21
-rw-r--r--modules/kalpesh/club/config/install/field.field.node.club.field_president.yml21
-rw-r--r--modules/kalpesh/club/config/install/field.field.node.club.field_secretary.yml21
-rw-r--r--modules/kalpesh/club/config/install/field.field.node.club.field_treasurer.yml21
-rw-r--r--modules/kalpesh/club/config/install/field.field.node.club.field_vice_president.yml21
-rw-r--r--modules/kalpesh/club/config/install/field.storage.node.field_committee_member.yml23
-rw-r--r--modules/kalpesh/club/config/install/field.storage.node.field_president.yml23
-rw-r--r--modules/kalpesh/club/config/install/field.storage.node.field_secretary.yml23
-rw-r--r--modules/kalpesh/club/config/install/field.storage.node.field_treasurer.yml23
-rw-r--r--modules/kalpesh/club/config/install/field.storage.node.field_vice_president.yml23
-rw-r--r--modules/kalpesh/club/config/install/node.type.club.yml20
-rw-r--r--modules/kalpesh/club/config/install/views.view.club.yml297
-rw-r--r--modules/kalpesh/club/templates/club.html.twig1
-rw-r--r--modules/kalpesh/club/tests/src/Functional/LoadTest.php46
-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.yml24
-rw-r--r--modules/kalpesh/iteron_activities/config/install/core.base_field_override.node.iteron_activities.title.yml20
-rw-r--r--modules/kalpesh/iteron_activities/config/install/core.entity_form_display.node.iteron_activities.default.yml139
-rw-r--r--modules/kalpesh/iteron_activities/config/install/core.entity_view_display.node.iteron_activities.default.yml144
-rw-r--r--modules/kalpesh/iteron_activities/config/install/core.entity_view_display.node.iteron_activities.teaser.yml33
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.body.yml24
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_activity_images.yml40
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_activity_report.yml29
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_date.yml23
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_nature_of_activity.yml21
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_remark.yml21
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_resource_person.yml21
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.storage.node.field_activity_images.yml32
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.storage.node.field_activity_report.yml25
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.storage.node.field_date.yml22
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.storage.node.field_nature_of_activity.yml23
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.storage.node.field_remark.yml23
-rw-r--r--modules/kalpesh/iteron_activities/config/install/field.storage.node.field_resource_person.yml23
-rw-r--r--modules/kalpesh/iteron_activities/config/install/node.type.iteron_activities.yml20
-rw-r--r--modules/kalpesh/iteron_activities/config/install/views.view.activities.yml392
-rw-r--r--modules/kalpesh/iteron_activities/iteron_activities.info.yml17
-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
-rw-r--r--modules/kalpesh/laboratory/composer.json13
-rw-r--r--modules/kalpesh/laboratory/config/install/core.base_field_override.node.laboratories.promote.yml25
-rw-r--r--modules/kalpesh/laboratory/config/install/core.base_field_override.node.laboratories.title.yml20
-rw-r--r--modules/kalpesh/laboratory/config/install/core.entity_form_display.node.laboratories.default.yml122
-rw-r--r--modules/kalpesh/laboratory/config/install/core.entity_view_display.node.laboratories.default.yml202
-rw-r--r--modules/kalpesh/laboratory/config/install/core.entity_view_display.node.laboratories.teaser.yml33
-rw-r--r--modules/kalpesh/laboratory/config/install/field.field.node.laboratories.body.yml24
-rw-r--r--modules/kalpesh/laboratory/config/install/field.field.node.laboratories.field_area.yml21
-rw-r--r--modules/kalpesh/laboratory/config/install/field.field.node.laboratories.field_lab_equipment_cost.yml21
-rw-r--r--modules/kalpesh/laboratory/config/install/field.field.node.laboratories.field_lab_image.yml40
-rw-r--r--modules/kalpesh/laboratory/config/install/field.field.node.laboratories.field_utilisation_of_lab.yml23
-rw-r--r--modules/kalpesh/laboratory/config/install/field.storage.node.field_area.yml23
-rw-r--r--modules/kalpesh/laboratory/config/install/field.storage.node.field_lab_equipment_cost.yml23
-rw-r--r--modules/kalpesh/laboratory/config/install/field.storage.node.field_lab_image.yml32
-rw-r--r--modules/kalpesh/laboratory/config/install/field.storage.node.field_utilisation_of_lab.yml21
-rw-r--r--modules/kalpesh/laboratory/config/install/image.style.laboratory_image_style.yml17
-rw-r--r--modules/kalpesh/laboratory/config/install/node.type.laboratories.yml20
-rw-r--r--modules/kalpesh/laboratory/config/install/views.view.laboratories.yml202
-rw-r--r--modules/kalpesh/laboratory/laboratory.info.yml14
-rw-r--r--modules/kalpesh/laboratory/laboratory.install64
-rw-r--r--modules/kalpesh/laboratory/laboratory.module35
-rw-r--r--modules/kalpesh/laboratory/templates/laboratory.html.twig1
-rw-r--r--modules/kalpesh/laboratory/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/kalpesh/members/composer.json13
-rw-r--r--modules/kalpesh/members/config/install/core.base_field_override.node.members.promote.yml24
-rw-r--r--modules/kalpesh/members/config/install/core.entity_form_display.node.members.default.yml158
-rw-r--r--modules/kalpesh/members/config/install/core.entity_view_display.node.members.default.yml371
-rw-r--r--modules/kalpesh/members/config/install/core.entity_view_display.node.members.teaser.yml33
-rw-r--r--modules/kalpesh/members/config/install/field.field.node.members.body.yml24
-rw-r--r--modules/kalpesh/members/config/install/field.field.node.members.field_category.yml31
-rw-r--r--modules/kalpesh/members/config/install/field.field.node.members.field_designation.yml21
-rw-r--r--modules/kalpesh/members/config/install/field.field.node.members.field_email_members.yml21
-rw-r--r--modules/kalpesh/members/config/install/field.field.node.members.field_file_uploads_members.yml29
-rw-r--r--modules/kalpesh/members/config/install/field.field.node.members.field_full_name_members.yml56
-rw-r--r--modules/kalpesh/members/config/install/field.field.node.members.field_image_members.yml40
-rw-r--r--modules/kalpesh/members/config/install/field.field.node.members.field_location_members.yml21
-rw-r--r--modules/kalpesh/members/config/install/field.field.node.members.field_phone_no_members.yml21
-rw-r--r--modules/kalpesh/members/config/install/field.storage.node.field_category.yml22
-rw-r--r--modules/kalpesh/members/config/install/field.storage.node.field_designation.yml23
-rw-r--r--modules/kalpesh/members/config/install/field.storage.node.field_email_members.yml20
-rw-r--r--modules/kalpesh/members/config/install/field.storage.node.field_file_uploads_members.yml25
-rw-r--r--modules/kalpesh/members/config/install/field.storage.node.field_full_name_members.yml91
-rw-r--r--modules/kalpesh/members/config/install/field.storage.node.field_image_members.yml32
-rw-r--r--modules/kalpesh/members/config/install/field.storage.node.field_location_members.yml23
-rw-r--r--modules/kalpesh/members/config/install/field.storage.node.field_phone_no_members.yml23
-rw-r--r--modules/kalpesh/members/config/install/image.style.group_research_area_image.yml17
-rw-r--r--modules/kalpesh/members/config/install/node.type.members.yml20
-rw-r--r--modules/kalpesh/members/config/install/taxonomy.vocabulary.category.yml11
-rw-r--r--modules/kalpesh/members/members.info.yml19
-rw-r--r--modules/kalpesh/members/members.install26
-rw-r--r--modules/kalpesh/members/members.module35
-rw-r--r--modules/kalpesh/members/templates/members.html.twig1
-rw-r--r--modules/kalpesh/members/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/kalpesh/photo_gallery/composer.json13
-rw-r--r--modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.promote.yml24
-rw-r--r--modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.title.yml20
-rw-r--r--modules/kalpesh/photo_gallery/config/install/core.entity_form_display.node.photograpy.default.yml95
-rw-r--r--modules/kalpesh/photo_gallery/config/install/core.entity_view_display.node.photograpy.default.yml96
-rw-r--r--modules/kalpesh/photo_gallery/config/install/core.entity_view_display.node.photograpy.teaser.yml35
-rw-r--r--modules/kalpesh/photo_gallery/config/install/field.field.node.photograpy.body.yml24
-rw-r--r--modules/kalpesh/photo_gallery/config/install/field.field.node.photograpy.field_photo_gallery.yml40
-rw-r--r--modules/kalpesh/photo_gallery/config/install/field.storage.node.field_photo_gallery.yml32
-rw-r--r--modules/kalpesh/photo_gallery/config/install/image.style.photo_gallery_image_style.yml17
-rw-r--r--modules/kalpesh/photo_gallery/config/install/image.style.photo_gallery_large_image_style.yml17
-rw-r--r--modules/kalpesh/photo_gallery/config/install/node.type.photograpy.yml20
-rw-r--r--modules/kalpesh/photo_gallery/config/install/responsive_image.styles.photo_gallery.yml23
-rw-r--r--modules/kalpesh/photo_gallery/config/install/views.view.photo_gallery.yml404
-rw-r--r--modules/kalpesh/photo_gallery/photo_gallery.info.yml18
-rw-r--r--modules/kalpesh/photo_gallery/photo_gallery.install26
-rw-r--r--modules/kalpesh/photo_gallery/photo_gallery.module35
-rw-r--r--modules/kalpesh/photo_gallery/templates/photo-gallery.html.twig1
-rw-r--r--modules/kalpesh/photo_gallery/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/kalpesh/recruiters/composer.json13
-rw-r--r--modules/kalpesh/recruiters/config/install/core.base_field_override.node.recruiters.promote.yml24
-rw-r--r--modules/kalpesh/recruiters/config/install/core.base_field_override.node.recruiters.title.yml.yml20
-rw-r--r--modules/kalpesh/recruiters/config/install/core.entity_form_display.node.recruiters.default.yml102
-rw-r--r--modules/kalpesh/recruiters/config/install/core.entity_view_display.node.recruiters.default.yml159
-rw-r--r--modules/kalpesh/recruiters/config/install/core.entity_view_display.node.recruiters.teaser.yml33
-rw-r--r--modules/kalpesh/recruiters/config/install/field.field.node.recruiters.body.yml24
-rw-r--r--modules/kalpesh/recruiters/config/install/field.field.node.recruiters.field_company_image.yml40
-rw-r--r--modules/kalpesh/recruiters/config/install/field.field.node.recruiters.field_link.yml25
-rw-r--r--modules/kalpesh/recruiters/config/install/field.storage.node.field_company_image.yml32
-rw-r--r--modules/kalpesh/recruiters/config/install/field.storage.node.field_link.yml21
-rw-r--r--modules/kalpesh/recruiters/config/install/image.style.recruiters_image_style_325_325.yml14
-rw-r--r--modules/kalpesh/recruiters/config/install/node.type.recruiters.yml20
-rw-r--r--modules/kalpesh/recruiters/config/install/responsive_image.styles.recruiters_image_style.yml19
-rw-r--r--modules/kalpesh/recruiters/config/install/views.view.major_recruiters_.yml258
-rw-r--r--modules/kalpesh/recruiters/recruiters.info.yml18
-rw-r--r--modules/kalpesh/recruiters/recruiters.install26
-rw-r--r--modules/kalpesh/recruiters/recruiters.module35
-rw-r--r--modules/kalpesh/recruiters/templates/recruiters.html.twig1
-rw-r--r--modules/kalpesh/recruiters/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/kalpesh/research_area1_/composer.json13
-rw-r--r--modules/kalpesh/research_area1_/config/install/core.base_field_override.node.research_area1_.promote.yml24
-rw-r--r--modules/kalpesh/research_area1_/config/install/core.entity_form_display.node.research_area1_.default.yml119
-rw-r--r--modules/kalpesh/research_area1_/config/install/core.entity_view_display.node.research_area1_.default.yml267
-rw-r--r--modules/kalpesh/research_area1_/config/install/core.entity_view_display.node.research_area1_.teaser.yml33
-rw-r--r--modules/kalpesh/research_area1_/config/install/field.field.node.research_area1_.body.yml24
-rw-r--r--modules/kalpesh/research_area1_/config/install/field.field.node.research_area1_.field_image_research_area.yml40
-rw-r--r--modules/kalpesh/research_area1_/config/install/field.field.node.research_area1_.field_members.yml31
-rw-r--r--modules/kalpesh/research_area1_/config/install/field.field.node.research_area1_.field_publication_research_area.yml33
-rw-r--r--modules/kalpesh/research_area1_/config/install/field.storage.node.field_image_research_area.yml32
-rw-r--r--modules/kalpesh/research_area1_/config/install/field.storage.node.field_members.yml21
-rw-r--r--modules/kalpesh/research_area1_/config/install/field.storage.node.field_publication_research_area.yml23
-rw-r--r--modules/kalpesh/research_area1_/config/install/image.style.group_research_area_image.yml14
-rw-r--r--modules/kalpesh/research_area1_/config/install/image.style.image_h_400_w_600_.yml14
-rw-r--r--modules/kalpesh/research_area1_/config/install/node.type.research_area1_.yml20
-rw-r--r--modules/kalpesh/research_area1_/config/install/paragraphs.paragraphs_type.publication.yml11
-rw-r--r--modules/kalpesh/research_area1_/config/install/views.view.research_area.yml416
-rw-r--r--modules/kalpesh/research_area1_/research_area1_.info.yml18
-rw-r--r--modules/kalpesh/research_area1_/research_area1_.install26
-rw-r--r--modules/kalpesh/research_area1_/research_area1_.module35
-rw-r--r--modules/kalpesh/research_area1_/templates/research-area1-.html.twig1
-rw-r--r--modules/kalpesh/research_area1_/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/kalpesh/syllbus/composer.json13
-rw-r--r--modules/kalpesh/syllbus/config/install/core.base_field_override.node.syllbus.promote.yml24
-rw-r--r--modules/kalpesh/syllbus/config/install/core.base_field_override.node.syllbus.title.yml20
-rw-r--r--modules/kalpesh/syllbus/config/install/core.entity_form_display.node.syllbus.default.yml93
-rw-r--r--modules/kalpesh/syllbus/config/install/core.entity_view_display.node.syllbus.default.yml88
-rw-r--r--modules/kalpesh/syllbus/config/install/core.entity_view_display.node.syllbus.teaser.yml33
-rw-r--r--modules/kalpesh/syllbus/config/install/field.field.node.syllbus.body.yml24
-rw-r--r--modules/kalpesh/syllbus/config/install/field.field.node.syllbus.field_pdf.yml29
-rw-r--r--modules/kalpesh/syllbus/config/install/field.storage.node.field_pdf.yml25
-rw-r--r--modules/kalpesh/syllbus/config/install/node.type.syllbus.yml20
-rw-r--r--modules/kalpesh/syllbus/config/install/views.view.syllabus.yml303
-rw-r--r--modules/kalpesh/syllbus/syllbus.info.yml15
-rw-r--r--modules/kalpesh/syllbus/syllbus.install26
-rw-r--r--modules/kalpesh/syllbus/syllbus.module35
-rw-r--r--modules/kalpesh/syllbus/templates/syllbus.html.twig1
-rw-r--r--modules/kalpesh/syllbus/tests/src/Functional/LoadTest.php46
201 files changed, 9618 insertions, 0 deletions
diff --git a/modules/kalpesh/achivements/achivements.info.yml b/modules/kalpesh/achivements/achivements.info.yml
new file mode 100644
index 0000000..39762be
--- /dev/null
+++ b/modules/kalpesh/achivements/achivements.info.yml
@@ -0,0 +1,16 @@
+name: Achivements
+type: module
+description: 'This module store student achivements'
+core: 8.x
+package: Custom
+dependencies:
+ - drupal:menu_ui
+ - drupal:file
+ - drupal:image
+ - drupal:path
+ - drupal:text
+ - ds:ds
+ - drupal:user
+ - drupal:node
+
+
diff --git a/modules/kalpesh/achivements/achivements.install b/modules/kalpesh/achivements/achivements.install
new file mode 100644
index 0000000..9ea9eb6
--- /dev/null
+++ b/modules/kalpesh/achivements/achivements.install
@@ -0,0 +1,26 @@
+
+<?php
+/**
+* Implements hook_uninstall().
+*/
+function achivements_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', 'achivements');
+ $nids = $query->execute();
+
+
+
+ // Delete entities.
+ if (!empty($nids)) {
+ $entities = $nodeStorage->loadMultiple($nids);
+ $nodeStorage->delete($entities);
+ }
+}
diff --git a/modules/kalpesh/achivements/achivements.module b/modules/kalpesh/achivements/achivements.module
new file mode 100644
index 0000000..0a48707
--- /dev/null
+++ b/modules/kalpesh/achivements/achivements.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains achivements.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function achivements_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the achivements module.
+ case 'help.page.achivements':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('This module store student achivements') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function achivements_theme() {
+ return [
+ 'achivements' => [
+ 'render element' => 'children',
+ ],
+ ];
+}
diff --git a/modules/kalpesh/achivements/composer.json b/modules/kalpesh/achivements/composer.json
new file mode 100644
index 0000000..dc44524
--- /dev/null
+++ b/modules/kalpesh/achivements/composer.json
@@ -0,0 +1,13 @@
+{
+ "name": "achivements",
+ "type": "drupal-module",
+ "description": "This module store student achivements",
+ "keywords": [
+ ],
+ "homepage": "https://www.drupal.org/project/achivements",
+ "minimum-stability": "dev",
+ "support": {
+ "issues": "https://www.drupal.org/project/issues/achivements",
+ "source": "http://cgit.drupalcode.org/achivements",
+ },
+}
diff --git a/modules/kalpesh/achivements/config/install/core.base_field_override.node.achivements.promote.yml b/modules/kalpesh/achivements/config/install/core.base_field_override.node.achivements.promote.yml
new file mode 100644
index 0000000..6e1888f
--- /dev/null
+++ b/modules/kalpesh/achivements/config/install/core.base_field_override.node.achivements.promote.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.achivements
+ enforced:
+ module:
+ - achivements
+id: node.achivements.promote
+field_name: promote
+entity_type: node
+bundle: achivements
+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/achivements/config/install/core.base_field_override.node.achivements.title.yml b/modules/kalpesh/achivements/config/install/core.base_field_override.node.achivements.title.yml
new file mode 100644
index 0000000..4f4a69b
--- /dev/null
+++ b/modules/kalpesh/achivements/config/install/core.base_field_override.node.achivements.title.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.achivements
+ enforced:
+ module:
+ - achivements
+id: node.achivements.title
+field_name: title
+entity_type: node
+bundle: achivements
+label: Title
+description: ''
+required: true
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/kalpesh/achivements/config/install/core.entity_form_display.node.achivements.default.yml b/modules/kalpesh/achivements/config/install/core.entity_form_display.node.achivements.default.yml
new file mode 100644
index 0000000..40a3a03
--- /dev/null
+++ b/modules/kalpesh/achivements/config/install/core.entity_form_display.node.achivements.default.yml
@@ -0,0 +1,113 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.achivements.body
+ - field.field.node.achivements.field_acadmic_year
+ - field.field.node.achivements.field_achivement_files
+ - field.field.node.achivements.field_achivement_image
+ - image.style.thumbnail
+ - node.type.achivements
+ module:
+ - file
+ - image
+ - path
+ - text
+ enforced:
+ module:
+ - achivements
+id: node.achivements.default
+targetEntityType: node
+bundle: achivements
+mode: default
+content:
+ body:
+ type: text_textarea_with_summary
+ weight: 10
+ settings:
+ rows: 9
+ summary_rows: 3
+ placeholder: ''
+ third_party_settings: { }
+ region: content
+ created:
+ type: datetime_timestamp
+ weight: 5
+ region: content
+ settings: { }
+ third_party_settings: { }
+ field_acadmic_year:
+ weight: 0
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ region: content
+ field_achivement_files:
+ weight: 27
+ settings:
+ progress_indicator: throbber
+ third_party_settings: { }
+ type: file_generic
+ region: content
+ field_achivement_image:
+ weight: 26
+ settings:
+ progress_indicator: throbber
+ preview_image_style: thumbnail
+ third_party_settings: { }
+ type: image_image
+ region: content
+ langcode:
+ type: language_select
+ weight: 3
+ region: content
+ settings:
+ include_locked: true
+ third_party_settings: { }
+ path:
+ type: path
+ weight: 8
+ region: content
+ settings: { }
+ third_party_settings: { }
+ promote:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 6
+ region: content
+ third_party_settings: { }
+ status:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 9
+ region: content
+ third_party_settings: { }
+ sticky:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 7
+ region: content
+ third_party_settings: { }
+ title:
+ type: string_textfield
+ weight: 1
+ region: content
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ uid:
+ type: entity_reference_autocomplete
+ weight: 4
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ region: content
+ third_party_settings: { }
+hidden: { }
diff --git a/modules/kalpesh/achivements/config/install/core.entity_view_display.node.achivements.default.yml b/modules/kalpesh/achivements/config/install/core.entity_view_display.node.achivements.default.yml
new file mode 100644
index 0000000..934d88f
--- /dev/null
+++ b/modules/kalpesh/achivements/config/install/core.entity_view_display.node.achivements.default.yml
@@ -0,0 +1,167 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.achivements.body
+ - field.field.node.achivements.field_acadmic_year
+ - field.field.node.achivements.field_achivement_files
+ - field.field.node.achivements.field_achivement_image
+ - image.style.achievament_image_style
+ - node.type.achivements
+ module:
+ - ds
+ - file
+ - image
+ - text
+ - user
+ enforced:
+ module:
+ - achivements
+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:
+ - field_acadmic_year
+ - body
+ - field_achivement_image
+ - field_achivement_files
+id: node.achivements.default
+targetEntityType: node
+bundle: achivements
+mode: default
+content:
+ body:
+ label: hidden
+ type: text_default
+ weight: 102
+ settings: { }
+ third_party_settings:
+ ds:
+ ft:
+ id: expert
+ settings:
+ lb: ''
+ prefix: ''
+ lbw-el: 'div '
+ lbw-cl: col-10
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: ' mt-20 col-sm-12'
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi-el: ''
+ fi-cl: ''
+ fi-at: ''
+ suffix: ''
+ lbw: false
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi: false
+ fi-def-at: false
+ region: ds_content
+ field_acadmic_year:
+ weight: 101
+ label: above
+ settings:
+ link_to_entity: false
+ third_party_settings:
+ ds:
+ ft:
+ id: expert
+ settings:
+ lb: 'Acadmic year'
+ prefix: ''
+ lbw: true
+ lbw-el: div
+ lbw-cl: 'col-sm-2 fw-bold '
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: 'mt-20 mb-10'
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: col-sm-10
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi-def-at: false
+ type: string
+ region: ds_content
+ field_achivement_files:
+ weight: 104
+ label: above
+ settings:
+ use_description_as_link_text: true
+ third_party_settings: { }
+ type: file_default
+ region: ds_content
+ field_achivement_image:
+ weight: 103
+ label: above
+ settings:
+ image_style: achievament_image_style
+ image_link: ''
+ third_party_settings:
+ ds:
+ ds_limit: ''
+ ft:
+ id: expert
+ settings:
+ lb: ''
+ prefix: ''
+ lbw-el: ''
+ lbw-cl: ''
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: 'row col-sm-4'
+ ow-at: ''
+ fis: true
+ fis-el: div
+ fis-cl: 'col-sm-4 center-block'
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: 'col-sm-4 center-block'
+ fi-at: ''
+ suffix: ''
+ lbw: false
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis-def-at: false
+ fi-def-at: false
+ type: image
+ region: ds_content
+hidden:
+ langcode: true
+ links: true
diff --git a/modules/kalpesh/achivements/config/install/core.entity_view_display.node.achivements.teaser.yml b/modules/kalpesh/achivements/config/install/core.entity_view_display.node.achivements.teaser.yml
new file mode 100644
index 0000000..ffca321
--- /dev/null
+++ b/modules/kalpesh/achivements/config/install/core.entity_view_display.node.achivements.teaser.yml
@@ -0,0 +1,33 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.achivements.body
+ - node.type.achivements
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - achivements
+id: node.achivements.teaser
+targetEntityType: node
+bundle: achivements
+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/achivements/config/install/field.field.node.achivements.body.yml b/modules/kalpesh/achivements/config/install/field.field.node.achivements.body.yml
new file mode 100644
index 0000000..929a58c
--- /dev/null
+++ b/modules/kalpesh/achivements/config/install/field.field.node.achivements.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.achivements
+ module:
+ - text
+ enforced:
+ module:
+ - achivements
+id: node.achivements.body
+field_name: body
+entity_type: node
+bundle: achivements
+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/achivements/config/install/field.field.node.achivements.field_acadmic_year.yml b/modules/kalpesh/achivements/config/install/field.field.node.achivements.field_acadmic_year.yml
new file mode 100644
index 0000000..86f1b99
--- /dev/null
+++ b/modules/kalpesh/achivements/config/install/field.field.node.achivements.field_acadmic_year.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_acadmic_year
+ - node.type.achivements
+ enforced:
+ module:
+ - achivements
+id: node.achivements.field_acadmic_year
+field_name: field_acadmic_year
+entity_type: node
+bundle: achivements
+label: 'Acadmic year'
+description: 'ex 2019-2020'
+required: true
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/kalpesh/achivements/config/install/field.field.node.achivements.field_achivement_files.yml b/modules/kalpesh/achivements/config/install/field.field.node.achivements.field_achivement_files.yml
new file mode 100644
index 0000000..4788849
--- /dev/null
+++ b/modules/kalpesh/achivements/config/install/field.field.node.achivements.field_achivement_files.yml
@@ -0,0 +1,29 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_achivement_files
+ - node.type.achivements
+ module:
+ - file
+ enforced:
+ module:
+ - achivements
+id: node.achivements.field_achivement_files
+field_name: field_achivement_files
+entity_type: node
+bundle: achivements
+label: Files
+description: ''
+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/achivements/config/install/field.field.node.achivements.field_achivement_image.yml b/modules/kalpesh/achivements/config/install/field.field.node.achivements.field_achivement_image.yml
new file mode 100644
index 0000000..7203373
--- /dev/null
+++ b/modules/kalpesh/achivements/config/install/field.field.node.achivements.field_achivement_image.yml
@@ -0,0 +1,40 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_achivement_image
+ - node.type.achivements
+ module:
+ - image
+ enforced:
+ module:
+ - achivements
+id: node.achivements.field_achivement_image
+field_name: field_achivement_image
+entity_type: node
+bundle: achivements
+label: 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: 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/achivements/config/install/field.storage.node.field_acadmic_year.yml b/modules/kalpesh/achivements/config/install/field.storage.node.field_acadmic_year.yml
new file mode 100644
index 0000000..b1c9b8d
--- /dev/null
+++ b/modules/kalpesh/achivements/config/install/field.storage.node.field_acadmic_year.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - achivements
+id: node.field_acadmic_year
+field_name: field_acadmic_year
+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/achivements/config/install/field.storage.node.field_achivement_files.yml b/modules/kalpesh/achivements/config/install/field.storage.node.field_achivement_files.yml
new file mode 100644
index 0000000..c5366eb
--- /dev/null
+++ b/modules/kalpesh/achivements/config/install/field.storage.node.field_achivement_files.yml
@@ -0,0 +1,25 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - node
+ enforced:
+ module:
+ - achivements
+id: node.field_achivement_files
+field_name: field_achivement_files
+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/achivements/config/install/field.storage.node.field_achivement_image.yml b/modules/kalpesh/achivements/config/install/field.storage.node.field_achivement_image.yml
new file mode 100644
index 0000000..5b33c7d
--- /dev/null
+++ b/modules/kalpesh/achivements/config/install/field.storage.node.field_achivement_image.yml
@@ -0,0 +1,32 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - image
+ - node
+ enforced:
+ module:
+ - achivements
+id: node.field_achivement_image
+field_name: field_achivement_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: -1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/kalpesh/achivements/config/install/image.style.achievament_image_style.yml b/modules/kalpesh/achivements/config/install/image.style.achievament_image_style.yml
new file mode 100644
index 0000000..af08183
--- /dev/null
+++ b/modules/kalpesh/achivements/config/install/image.style.achievament_image_style.yml
@@ -0,0 +1,17 @@
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - achivements
+name: achievament_image_style
+label: 'Achievament image style'
+effects:
+ a350664a-521a-4ffd-be52-84328a7e9a62:
+ uuid: a350664a-521a-4ffd-be52-84328a7e9a62
+ id: image_scale_and_crop
+ weight: 1
+ data:
+ width: 400
+ height: 300
+ anchor: center-center
diff --git a/modules/kalpesh/achivements/config/install/node.type.achivements.yml b/modules/kalpesh/achivements/config/install/node.type.achivements.yml
new file mode 100644
index 0000000..ae3b842
--- /dev/null
+++ b/modules/kalpesh/achivements/config/install/node.type.achivements.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - achivements
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: Achivements
+type: achivements
+description: 'Achivements details of department'
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: true
diff --git a/modules/kalpesh/achivements/config/install/views.view.achivements.yml b/modules/kalpesh/achivements/config/install/views.view.achivements.yml
new file mode 100644
index 0000000..c9b9b5e
--- /dev/null
+++ b/modules/kalpesh/achivements/config/install/views.view.achivements.yml
@@ -0,0 +1,211 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.achivements
+ - system.menu.main
+ module:
+ - node
+ - user
+ - views_bootstrap
+ enforced:
+ module:
+ - achivements
+id: achivements
+label: Achivements
+module: views
+description: 'students Achivements'
+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: views_bootstrap_list_group
+ options:
+ grouping: { }
+ row_class: centar
+ default_row_class: true
+ title_field: ''
+ row:
+ type: fields
+ options:
+ default_field_elements: true
+ inline:
+ title: title
+ field_acadmic_year: field_acadmic_year
+ 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
+ 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:
+ achivements: achivements
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ field_acadmic_year_value:
+ id: field_acadmic_year_value
+ table: node__field_acadmic_year
+ field: field_acadmic_year_value
+ relationship: none
+ group_type: group
+ admin_label: ''
+ order: DESC
+ exposed: false
+ expose:
+ label: ''
+ plugin_id: standard
+ title: Achivements
+ 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: achivements
+ menu:
+ type: normal
+ title: Achivements
+ description: ''
+ expanded: false
+ parent: ''
+ weight: -46
+ context: '0'
+ menu_name: main
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
diff --git a/modules/kalpesh/achivements/templates/achivements.html.twig b/modules/kalpesh/achivements/templates/achivements.html.twig
new file mode 100644
index 0000000..95722bd
--- /dev/null
+++ b/modules/kalpesh/achivements/templates/achivements.html.twig
@@ -0,0 +1 @@
+<!-- Add you custom twig html here -->
diff --git a/modules/kalpesh/achivements/tests/src/Functional/LoadTest.php b/modules/kalpesh/achivements/tests/src/Functional/LoadTest.php
new file mode 100644
index 0000000..e50c1f8
--- /dev/null
+++ b/modules/kalpesh/achivements/tests/src/Functional/LoadTest.php
@@ -0,0 +1,46 @@
+<?php
+
+namespace Drupal\Tests\achivements\Functional;
+
+use Drupal\Core\Url;
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Simple test to ensure that main page loads with module enabled.
+ *
+ * @group achivements
+ */
+class LoadTest extends BrowserTestBase {
+
+ /**
+ * Modules to enable.
+ *
+ * @var array
+ */
+ public static $modules = ['achivements'];
+
+ /**
+ * 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);
+ }
+
+}
diff --git a/modules/kalpesh/club/club.info.yml b/modules/kalpesh/club/club.info.yml
new file mode 100644
index 0000000..2dd4481
--- /dev/null
+++ b/modules/kalpesh/club/club.info.yml
@@ -0,0 +1,15 @@
+name: Club
+type: module
+description: 'My Awesome Module'
+core: 8.x
+package: Custom
+dependencies:
+ - drupal:menu_ui
+ - drupal:path
+ - drupal:text
+ - ds:ds
+ - drupal:user
+ - drupal:node
+ - views_bootstrap:views_bootstrap
+
+
diff --git a/modules/kalpesh/club/club.install b/modules/kalpesh/club/club.install
new file mode 100644
index 0000000..c96c3a0
--- /dev/null
+++ b/modules/kalpesh/club/club.install
@@ -0,0 +1,26 @@
+
+<?php
+/**
+* Implements hook_uninstall().
+*/
+function club_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', 'club');
+ $nids = $query->execute();
+
+
+
+ // Delete entities.
+ if (!empty($nids)) {
+ $entities = $nodeStorage->loadMultiple($nids);
+ $nodeStorage->delete($entities);
+ }
+}
diff --git a/modules/kalpesh/club/club.module b/modules/kalpesh/club/club.module
new file mode 100644
index 0000000..152525d
--- /dev/null
+++ b/modules/kalpesh/club/club.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains club.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function club_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the club module.
+ case 'help.page.club':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('My Awesome Module') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function club_theme() {
+ return [
+ 'club' => [
+ 'render element' => 'children',
+ ],
+ ];
+}
diff --git a/modules/kalpesh/club/composer.json b/modules/kalpesh/club/composer.json
new file mode 100644
index 0000000..aa17c3e
--- /dev/null
+++ b/modules/kalpesh/club/composer.json
@@ -0,0 +1,13 @@
+{
+ "name": "club",
+ "type": "drupal-module",
+ "description": "My Awesome Module",
+ "keywords": [
+ ],
+ "homepage": "https://www.drupal.org/project/club",
+ "minimum-stability": "dev",
+ "support": {
+ "issues": "https://www.drupal.org/project/issues/club",
+ "source": "http://cgit.drupalcode.org/club",
+ },
+}
diff --git a/modules/kalpesh/club/config/install/core.base_field_override.node.club.promote.yml b/modules/kalpesh/club/config/install/core.base_field_override.node.club.promote.yml
new file mode 100644
index 0000000..c8155ed
--- /dev/null
+++ b/modules/kalpesh/club/config/install/core.base_field_override.node.club.promote.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.club
+ enforced:
+ module:
+ - club
+id: node.club.promote
+field_name: promote
+entity_type: node
+bundle: club
+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/club/config/install/core.base_field_override.node.club.title.yml b/modules/kalpesh/club/config/install/core.base_field_override.node.club.title.yml
new file mode 100644
index 0000000..1a69ef1
--- /dev/null
+++ b/modules/kalpesh/club/config/install/core.base_field_override.node.club.title.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.club
+ enforced:
+ module:
+ - club
+id: node.club.title
+field_name: title
+entity_type: node
+bundle: club
+label: 'Academic Year'
+description: ''
+required: true
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/kalpesh/club/config/install/core.entity_form_display.node.club.default.yml b/modules/kalpesh/club/config/install/core.entity_form_display.node.club.default.yml
new file mode 100644
index 0000000..32161b8
--- /dev/null
+++ b/modules/kalpesh/club/config/install/core.entity_form_display.node.club.default.yml
@@ -0,0 +1,129 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.club.body
+ - field.field.node.club.field_committee_member
+ - field.field.node.club.field_president
+ - field.field.node.club.field_secretary
+ - field.field.node.club.field_treasurer
+ - field.field.node.club.field_vice_president
+ - node.type.club
+ module:
+ - path
+ - text
+ enforced:
+ module:
+ - club
+id: node.club.default
+targetEntityType: node
+bundle: club
+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_committee_member:
+ weight: 126
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ region: content
+ field_president:
+ weight: 122
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ region: content
+ field_secretary:
+ weight: 124
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ region: content
+ field_treasurer:
+ weight: 125
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ region: content
+ field_vice_president:
+ weight: 123
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ 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/kalpesh/club/config/install/core.entity_view_display.node.club.default.yml b/modules/kalpesh/club/config/install/core.entity_view_display.node.club.default.yml
new file mode 100644
index 0000000..5f84bfb
--- /dev/null
+++ b/modules/kalpesh/club/config/install/core.entity_view_display.node.club.default.yml
@@ -0,0 +1,231 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.club.body
+ - field.field.node.club.field_committee_member
+ - field.field.node.club.field_president
+ - field.field.node.club.field_secretary
+ - field.field.node.club.field_treasurer
+ - field.field.node.club.field_vice_president
+ - node.type.club
+ module:
+ - ds
+ - user
+ enforced:
+ module:
+ - club
+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:
+ - field_president
+ - field_vice_president
+ - field_secretary
+ - field_treasurer
+ - field_committee_member
+id: node.club.default
+targetEntityType: node
+bundle: club
+mode: default
+content:
+ field_committee_member:
+ weight: 106
+ label: above
+ settings:
+ link_to_entity: false
+ third_party_settings:
+ ds:
+ ds_limit: ''
+ ft:
+ id: expert
+ settings:
+ lb: "Committee members\t"
+ prefix: ''
+ lbw: true
+ lbw-el: div
+ lbw-cl: 'col-sm-2 fw-bold mt-10 mb-10'
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: 'mt-10 mb-10'
+ ow-at: ''
+ fis: true
+ fis-el: div
+ fis-cl: 'col-sm-10 mb-10 mt-10'
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: 'col-sm-10 mt-10 mb-10'
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis-def-at: false
+ fi-def-at: false
+ type: string
+ region: ds_content
+ field_president:
+ weight: 102
+ label: above
+ settings:
+ link_to_entity: false
+ third_party_settings:
+ ds:
+ ft:
+ id: expert
+ settings:
+ lb: President
+ prefix: ''
+ lbw: true
+ lbw-el: div
+ lbw-cl: 'col-sm-2 fw-bold mt-10 mb-10 mt-10'
+ lbw-at: ''
+ ow: true
+ ow-el: 'div '
+ ow-cl: 'mt-10 mb-10'
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: 'col-sm-10 mt-10 mb-10'
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi-def-at: false
+ type: string
+ region: ds_content
+ field_secretary:
+ weight: 104
+ label: above
+ settings:
+ link_to_entity: false
+ third_party_settings:
+ ds:
+ ft:
+ id: expert
+ settings:
+ lb: Secretary
+ prefix: ''
+ lbw: true
+ lbw-el: div
+ lbw-cl: 'col-sm-2 fw-bold mt-10 mb-10'
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: ' mt-10 mb-10'
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: 'col-sm-10 mt-10 mb-10'
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi-def-at: false
+ type: string
+ region: ds_content
+ field_treasurer:
+ weight: 105
+ label: above
+ settings:
+ link_to_entity: false
+ third_party_settings:
+ ds:
+ ft:
+ id: expert
+ settings:
+ lb: Treasurer
+ prefix: ''
+ lbw: true
+ lbw-el: div
+ lbw-cl: 'col-sm-2 fw-bold mt-10 mb-10'
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: 'mt-10 mb-10'
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: 'col-sm-10 mt-10 mb-10'
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi-def-at: false
+ type: string
+ region: ds_content
+ field_vice_president:
+ weight: 103
+ label: above
+ settings:
+ link_to_entity: false
+ third_party_settings:
+ ds:
+ ft:
+ id: expert
+ settings:
+ lb: 'Vice president'
+ prefix: ''
+ lbw: true
+ lbw-el: div
+ lbw-cl: 'col-sm-2 fw-bold mt-10 mb-10'
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: 'mt-10 mb-10'
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: 'col-sm-10 mt-10 mb-10'
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi-def-at: false
+ type: string
+ region: ds_content
+hidden:
+ body: true
+ langcode: true
+ links: true
diff --git a/modules/kalpesh/club/config/install/core.entity_view_display.node.club.teaser.yml b/modules/kalpesh/club/config/install/core.entity_view_display.node.club.teaser.yml
new file mode 100644
index 0000000..db72154
--- /dev/null
+++ b/modules/kalpesh/club/config/install/core.entity_view_display.node.club.teaser.yml
@@ -0,0 +1,33 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.club.body
+ - node.type.club
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - club
+id: node.club.teaser
+targetEntityType: node
+bundle: club
+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/club/config/install/field.field.node.club.body.yml b/modules/kalpesh/club/config/install/field.field.node.club.body.yml
new file mode 100644
index 0000000..52ead56
--- /dev/null
+++ b/modules/kalpesh/club/config/install/field.field.node.club.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.club
+ module:
+ - text
+ enforced:
+ module:
+ - club
+id: node.club.body
+field_name: body
+entity_type: node
+bundle: club
+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/club/config/install/field.field.node.club.field_committee_member.yml b/modules/kalpesh/club/config/install/field.field.node.club.field_committee_member.yml
new file mode 100644
index 0000000..ff47a8c
--- /dev/null
+++ b/modules/kalpesh/club/config/install/field.field.node.club.field_committee_member.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_committee_member
+ - node.type.club
+ enforced:
+ module:
+ - club
+id: node.club.field_committee_member
+field_name: field_committee_member
+entity_type: node
+bundle: club
+label: 'Committee members'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/kalpesh/club/config/install/field.field.node.club.field_president.yml b/modules/kalpesh/club/config/install/field.field.node.club.field_president.yml
new file mode 100644
index 0000000..e3bba6f
--- /dev/null
+++ b/modules/kalpesh/club/config/install/field.field.node.club.field_president.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_president
+ - node.type.club
+ enforced:
+ module:
+ - club
+id: node.club.field_president
+field_name: field_president
+entity_type: node
+bundle: club
+label: President
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/kalpesh/club/config/install/field.field.node.club.field_secretary.yml b/modules/kalpesh/club/config/install/field.field.node.club.field_secretary.yml
new file mode 100644
index 0000000..e45eb68
--- /dev/null
+++ b/modules/kalpesh/club/config/install/field.field.node.club.field_secretary.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_secretary
+ - node.type.club
+ enforced:
+ module:
+ - club
+id: node.club.field_secretary
+field_name: field_secretary
+entity_type: node
+bundle: club
+label: Secretary
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/kalpesh/club/config/install/field.field.node.club.field_treasurer.yml b/modules/kalpesh/club/config/install/field.field.node.club.field_treasurer.yml
new file mode 100644
index 0000000..99daf59
--- /dev/null
+++ b/modules/kalpesh/club/config/install/field.field.node.club.field_treasurer.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_treasurer
+ - node.type.club
+ enforced:
+ module:
+ - club
+id: node.club.field_treasurer
+field_name: field_treasurer
+entity_type: node
+bundle: club
+label: Treasurer
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/kalpesh/club/config/install/field.field.node.club.field_vice_president.yml b/modules/kalpesh/club/config/install/field.field.node.club.field_vice_president.yml
new file mode 100644
index 0000000..ba2e1bd
--- /dev/null
+++ b/modules/kalpesh/club/config/install/field.field.node.club.field_vice_president.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_vice_president
+ - node.type.club
+ enforced:
+ module:
+ - club
+id: node.club.field_vice_president
+field_name: field_vice_president
+entity_type: node
+bundle: club
+label: 'Vice president'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/kalpesh/club/config/install/field.storage.node.field_committee_member.yml b/modules/kalpesh/club/config/install/field.storage.node.field_committee_member.yml
new file mode 100644
index 0000000..817218e
--- /dev/null
+++ b/modules/kalpesh/club/config/install/field.storage.node.field_committee_member.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - club
+id: node.field_committee_member
+field_name: field_committee_member
+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/club/config/install/field.storage.node.field_president.yml b/modules/kalpesh/club/config/install/field.storage.node.field_president.yml
new file mode 100644
index 0000000..61eefa0
--- /dev/null
+++ b/modules/kalpesh/club/config/install/field.storage.node.field_president.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - club
+id: node.field_president
+field_name: field_president
+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/club/config/install/field.storage.node.field_secretary.yml b/modules/kalpesh/club/config/install/field.storage.node.field_secretary.yml
new file mode 100644
index 0000000..54ca5c5
--- /dev/null
+++ b/modules/kalpesh/club/config/install/field.storage.node.field_secretary.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - club
+id: node.field_secretary
+field_name: field_secretary
+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/club/config/install/field.storage.node.field_treasurer.yml b/modules/kalpesh/club/config/install/field.storage.node.field_treasurer.yml
new file mode 100644
index 0000000..6faa663
--- /dev/null
+++ b/modules/kalpesh/club/config/install/field.storage.node.field_treasurer.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - club
+id: node.field_treasurer
+field_name: field_treasurer
+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/club/config/install/field.storage.node.field_vice_president.yml b/modules/kalpesh/club/config/install/field.storage.node.field_vice_president.yml
new file mode 100644
index 0000000..6e725fd
--- /dev/null
+++ b/modules/kalpesh/club/config/install/field.storage.node.field_vice_president.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - club
+id: node.field_vice_president
+field_name: field_vice_president
+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/club/config/install/node.type.club.yml b/modules/kalpesh/club/config/install/node.type.club.yml
new file mode 100644
index 0000000..3366458
--- /dev/null
+++ b/modules/kalpesh/club/config/install/node.type.club.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - club
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: Club
+type: club
+description: 'Student club committee and the activities arranged by club'
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: true
diff --git a/modules/kalpesh/club/config/install/views.view.club.yml b/modules/kalpesh/club/config/install/views.view.club.yml
new file mode 100644
index 0000000..ce30093
--- /dev/null
+++ b/modules/kalpesh/club/config/install/views.view.club.yml
@@ -0,0 +1,297 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.club
+ - system.menu.main
+ module:
+ - node
+ - user
+ - views_bootstrap
+ enforced:
+ module:
+ - club
+id: club
+label: Club
+module: views
+description: 'About club'
+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: views_bootstrap_grid
+ options:
+ grouping: { }
+ row_class: center-block
+ default_row_class: true
+ alignment: horizontal
+ columns: '2'
+ col_xs: col-xs-6
+ col_sm: col-sm-6
+ col_md: col-md-6
+ col_lg: col-lg-6
+ row:
+ type: fields
+ options:
+ default_field_elements: true
+ inline: { }
+ separator: ''
+ hide_empty: false
+ fields:
+ nothing:
+ id: nothing
+ table: views
+ field: nothing
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: ''
+ exclude: false
+ alter:
+ alter_text: true
+ text: '<center><h3> Iteron club core commitee <h3></center>'
+ 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: false
+ plugin_id: custom
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ 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: false
+ ellipsis: false
+ 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: string
+ settings:
+ link_to_entity: true
+ 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: true
+ entity_type: node
+ entity_field: title
+ 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:
+ club: club
+ 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: 'Iteron Club'
+ header:
+ area:
+ id: area
+ table: views
+ field: area
+ relationship: none
+ group_type: group
+ admin_label: ''
+ empty: false
+ tokenize: false
+ content:
+ value: " <blockquote> The department has formed a student’s club named “ITERON” in the academic year 2002-2003. Activities such as seminars, workshops, industrial visits etc. are conducted by the ITERON club for the students. One of the most popular annual event conducted by ITeron club is the Technical Symposium “ITiazza”.\r\nThe student representation for the core team is in the form of President, Secretary, Treasurer and representatives from each class. This gives an opportunity to students to develop leadership and organizational skills. </blockquote>"
+ format: basic_html
+ plugin_id: text
+ 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: club
+ menu:
+ type: normal
+ title: 'Iteron Club'
+ menu_name: main
+ description: ''
+ parent: 'menu_link_content:967e1206-74f4-466a-9ec8-62a46f7ecadb'
+ weight: -50
+ expanded: true
+ enabled: true
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
diff --git a/modules/kalpesh/club/templates/club.html.twig b/modules/kalpesh/club/templates/club.html.twig
new file mode 100644
index 0000000..95722bd
--- /dev/null
+++ b/modules/kalpesh/club/templates/club.html.twig
@@ -0,0 +1 @@
+<!-- Add you custom twig html here -->
diff --git a/modules/kalpesh/club/tests/src/Functional/LoadTest.php b/modules/kalpesh/club/tests/src/Functional/LoadTest.php
new file mode 100644
index 0000000..e1c2530
--- /dev/null
+++ b/modules/kalpesh/club/tests/src/Functional/LoadTest.php
@@ -0,0 +1,46 @@
+<?php
+
+namespace Drupal\Tests\club\Functional;
+
+use Drupal\Core\Url;
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Simple test to ensure that main page loads with module enabled.
+ *
+ * @group club
+ */
+class LoadTest extends BrowserTestBase {
+
+ /**
+ * Modules to enable.
+ *
+ * @var array
+ */
+ public static $modules = ['club'];
+
+ /**
+ * 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);
+ }
+
+}
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 b/modules/kalpesh/iteron_activities/config/install/core.base_field_override.node.iteron_activities.promote.yml
new file mode 100644
index 0000000..523e418
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/core.base_field_override.node.iteron_activities.promote.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.iteron_activities
+ enforced:
+ module:
+ - 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 b/modules/kalpesh/iteron_activities/config/install/core.base_field_override.node.iteron_activities.title.yml
new file mode 100644
index 0000000..40f09bb
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/core.base_field_override.node.iteron_activities.title.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.iteron_activities
+ enforced:
+ module:
+ - 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..372e233
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/core.entity_form_display.node.iteron_activities.default.yml
@@ -0,0 +1,139 @@
+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
+ enforced:
+ module:
+ - iteron_activities
+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..fb8b2ea
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/core.entity_view_display.node.iteron_activities.default.yml
@@ -0,0 +1,144 @@
+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
+ enforced:
+ module:
+ - iteron_activities
+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..c42be16
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/core.entity_view_display.node.iteron_activities.teaser.yml
@@ -0,0 +1,33 @@
+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
+ enforced:
+ module:
+ - iteron_activities
+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/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..09c2fac
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.iteron_activities
+ module:
+ - text
+ enforced:
+ module:
+ - iteron_activities
+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..0d0df11
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_activity_images.yml
@@ -0,0 +1,40 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_activity_images
+ - node.type.iteron_activities
+ module:
+ - image
+ enforced:
+ module:
+ - iteron_activities
+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..5fbdf01
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_activity_report.yml
@@ -0,0 +1,29 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_activity_report
+ - node.type.iteron_activities
+ module:
+ - file
+ enforced:
+ module:
+ - iteron_activities
+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..c96c9bf
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_date.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_date
+ - node.type.iteron_activities
+ module:
+ - datetime
+ enforced:
+ module:
+ - iteron_activities
+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..d9e3a20
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_nature_of_activity.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_nature_of_activity
+ - node.type.iteron_activities
+ enforced:
+ module:
+ - 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..73ac203
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_remark.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_remark
+ - node.type.iteron_activities
+ enforced:
+ module:
+ - 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..52cc375
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.field.node.iteron_activities.field_resource_person.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_resource_person
+ - node.type.iteron_activities
+ enforced:
+ module:
+ - 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.field_activity_images.yml b/modules/kalpesh/iteron_activities/config/install/field.storage.node.field_activity_images.yml
new file mode 100644
index 0000000..b86d08a
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.storage.node.field_activity_images.yml
@@ -0,0 +1,32 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - image
+ - node
+ enforced:
+ module:
+ - iteron_activities
+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..179af6f
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.storage.node.field_activity_report.yml
@@ -0,0 +1,25 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - node
+ enforced:
+ module:
+ - iteron_activities
+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..6cc6744
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.storage.node.field_date.yml
@@ -0,0 +1,22 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - datetime
+ - node
+ enforced:
+ module:
+ - iteron_activities
+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..b618696
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.storage.node.field_nature_of_activity.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - iteron_activities
+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..2860069
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.storage.node.field_remark.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - iteron_activities
+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..eca74ae
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/field.storage.node.field_resource_person.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - iteron_activities
+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/node.type.iteron_activities.yml b/modules/kalpesh/iteron_activities/config/install/node.type.iteron_activities.yml
new file mode 100644
index 0000000..96d6fda
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/node.type.iteron_activities.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - iteron_activities
+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..c53f628
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/config/install/views.view.activities.yml
@@ -0,0 +1,392 @@
+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
+ enforced:
+ module:
+ - iteron_activities
+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..89193fe
--- /dev/null
+++ b/modules/kalpesh/iteron_activities/iteron_activities.info.yml
@@ -0,0 +1,17 @@
+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
+ - views_bootstrap:views_bootstrap
+
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);
+ }
+
+}
diff --git a/modules/kalpesh/laboratory/composer.json b/modules/kalpesh/laboratory/composer.json
new file mode 100644
index 0000000..59103d2
--- /dev/null
+++ b/modules/kalpesh/laboratory/composer.json
@@ -0,0 +1,13 @@
+{
+ "name": "laboratory",
+ "type": "drupal-module",
+ "description": "This module store laboratories details",
+ "keywords": [
+ ],
+ "homepage": "https://www.drupal.org/project/laboratory",
+ "minimum-stability": "dev",
+ "support": {
+ "issues": "https://www.drupal.org/project/issues/laboratory",
+ "source": "http://cgit.drupalcode.org/laboratory",
+ },
+}
diff --git a/modules/kalpesh/laboratory/config/install/core.base_field_override.node.laboratories.promote.yml b/modules/kalpesh/laboratory/config/install/core.base_field_override.node.laboratories.promote.yml
new file mode 100644
index 0000000..29e16ca
--- /dev/null
+++ b/modules/kalpesh/laboratory/config/install/core.base_field_override.node.laboratories.promote.yml
@@ -0,0 +1,25 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.laboratories
+ enforced:
+ module:
+ - laboratories
+id: node.laboratories.promote
+field_name: promote
+entity_type: node
+bundle: laboratories
+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/laboratory/config/install/core.base_field_override.node.laboratories.title.yml b/modules/kalpesh/laboratory/config/install/core.base_field_override.node.laboratories.title.yml
new file mode 100644
index 0000000..7a98615
--- /dev/null
+++ b/modules/kalpesh/laboratory/config/install/core.base_field_override.node.laboratories.title.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.laboratories
+ enforced:
+ module:
+ - laboratories
+id: node.laboratories.title
+field_name: title
+entity_type: node
+bundle: laboratories
+label: Laboratory
+description: ''
+required: true
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/kalpesh/laboratory/config/install/core.entity_form_display.node.laboratories.default.yml b/modules/kalpesh/laboratory/config/install/core.entity_form_display.node.laboratories.default.yml
new file mode 100644
index 0000000..7d48de9
--- /dev/null
+++ b/modules/kalpesh/laboratory/config/install/core.entity_form_display.node.laboratories.default.yml
@@ -0,0 +1,122 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.laboratories.body
+ - field.field.node.laboratories.field_area
+ - field.field.node.laboratories.field_lab_equipment_cost
+ - field.field.node.laboratories.field_lab_image
+ - field.field.node.laboratories.field_utilisation_of_lab
+ - image.style.thumbnail
+ - node.type.laboratories
+ module:
+ - image
+ - path
+ - text
+ enforced:
+ module:
+ - laboratories
+id: node.laboratories.default
+targetEntityType: node
+bundle: laboratories
+mode: default
+content:
+ body:
+ type: text_textarea_with_summary
+ weight: 11
+ settings:
+ rows: 9
+ summary_rows: 3
+ placeholder: ''
+ third_party_settings: { }
+ region: content
+ created:
+ type: datetime_timestamp
+ weight: 6
+ region: content
+ settings: { }
+ third_party_settings: { }
+ field_area:
+ weight: 1
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ region: content
+ field_lab_equipment_cost:
+ weight: 2
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ region: content
+ field_lab_image:
+ weight: 13
+ settings:
+ progress_indicator: throbber
+ preview_image_style: thumbnail
+ third_party_settings: { }
+ type: image_image
+ region: content
+ field_utilisation_of_lab:
+ weight: 3
+ settings:
+ rows: 5
+ placeholder: ''
+ third_party_settings: { }
+ type: text_textarea
+ region: content
+ langcode:
+ type: language_select
+ weight: 4
+ region: content
+ settings:
+ include_locked: true
+ third_party_settings: { }
+ path:
+ type: path
+ weight: 9
+ region: content
+ settings: { }
+ third_party_settings: { }
+ promote:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 7
+ region: content
+ third_party_settings: { }
+ status:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 10
+ region: content
+ third_party_settings: { }
+ sticky:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 8
+ 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: 5
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ region: content
+ third_party_settings: { }
+hidden: { }
diff --git a/modules/kalpesh/laboratory/config/install/core.entity_view_display.node.laboratories.default.yml b/modules/kalpesh/laboratory/config/install/core.entity_view_display.node.laboratories.default.yml
new file mode 100644
index 0000000..5e9ee22
--- /dev/null
+++ b/modules/kalpesh/laboratory/config/install/core.entity_view_display.node.laboratories.default.yml
@@ -0,0 +1,202 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.laboratories.body
+ - field.field.node.laboratories.field_area
+ - field.field.node.laboratories.field_lab_equipment_cost
+ - field.field.node.laboratories.field_lab_image
+ - field.field.node.laboratories.field_utilisation_of_lab
+ - node.type.laboratories
+ module:
+ - ds
+ - image
+ - text
+ - user
+ enforced:
+ module:
+ - laboratories
+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:
+ - node_title
+ - field_lab_image
+ - field_area
+ - field_lab_equipment_cost
+ - field_utilisation_of_lab
+ fields:
+ node_title:
+ plugin_id: node_title
+ weight: 0
+ label: hidden
+ formatter: default
+id: node.laboratories.default
+targetEntityType: node
+bundle: laboratories
+mode: default
+content:
+ field_area:
+ type: string
+ weight: 2
+ region: ds_content
+ label: above
+ settings:
+ link_to_entity: false
+ third_party_settings:
+ ds:
+ ft:
+ id: expert
+ settings:
+ lb: 'Area '
+ prefix: ''
+ lbw: true
+ lbw-el: div
+ lbw-cl: 'fw-bold col-sm-3'
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: 'row '
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: col-sm-5
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi-def-at: false
+ field_lab_equipment_cost:
+ type: string
+ weight: 3
+ region: ds_content
+ label: above
+ settings:
+ link_to_entity: false
+ third_party_settings:
+ ds:
+ ft:
+ id: expert
+ settings:
+ lb: 'Equipment cost'
+ prefix: ''
+ lbw: true
+ lbw-el: div
+ lbw-cl: 'col-sm-3 fw-bold'
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: 'row mb-10'
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: col-sm-5
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi-def-at: false
+ field_lab_image:
+ type: image
+ weight: 1
+ region: ds_content
+ label: hidden
+ settings:
+ image_style: ''
+ image_link: ''
+ third_party_settings:
+ ds:
+ ds_limit: ''
+ ft:
+ id: expert
+ settings:
+ lb: ''
+ prefix: ''
+ lbw: true
+ lbw-el: 'div '
+ lbw-cl: ' fw-bold '
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: 'center-block mt-10 mb-10'
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi: true
+ fi-el: 'div '
+ fi-cl: ' center-block'
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi-def-at: false
+ field_utilisation_of_lab:
+ type: text_default
+ weight: 4
+ region: ds_content
+ label: above
+ settings: { }
+ third_party_settings:
+ ds:
+ ft:
+ id: expert
+ settings:
+ lb: Utilisation
+ prefix: ''
+ lbw: true
+ lbw-el: div
+ lbw-cl: 'col-sm-3 fw-bold '
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: 'row mb-10'
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: col-sm-5
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi-def-at: false
+hidden:
+ body: true
+ langcode: true
+ links: true
diff --git a/modules/kalpesh/laboratory/config/install/core.entity_view_display.node.laboratories.teaser.yml b/modules/kalpesh/laboratory/config/install/core.entity_view_display.node.laboratories.teaser.yml
new file mode 100644
index 0000000..65f66bb
--- /dev/null
+++ b/modules/kalpesh/laboratory/config/install/core.entity_view_display.node.laboratories.teaser.yml
@@ -0,0 +1,33 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.laboratories.body
+ - node.type.laboratories
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - laboratories
+id: node.laboratories.teaser
+targetEntityType: node
+bundle: laboratories
+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/laboratory/config/install/field.field.node.laboratories.body.yml b/modules/kalpesh/laboratory/config/install/field.field.node.laboratories.body.yml
new file mode 100644
index 0000000..c2bdaa7
--- /dev/null
+++ b/modules/kalpesh/laboratory/config/install/field.field.node.laboratories.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.laboratories
+ module:
+ - text
+ enforced:
+ module:
+ - laboratories
+id: node.laboratories.body
+field_name: body
+entity_type: node
+bundle: laboratories
+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/laboratory/config/install/field.field.node.laboratories.field_area.yml b/modules/kalpesh/laboratory/config/install/field.field.node.laboratories.field_area.yml
new file mode 100644
index 0000000..89b67b2
--- /dev/null
+++ b/modules/kalpesh/laboratory/config/install/field.field.node.laboratories.field_area.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_area
+ - node.type.laboratories
+ enforced:
+ module:
+ - laboratories
+id: node.laboratories.field_area
+field_name: field_area
+entity_type: node
+bundle: laboratories
+label: Area
+description: 'Area of lab'
+required: true
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/kalpesh/laboratory/config/install/field.field.node.laboratories.field_lab_equipment_cost.yml b/modules/kalpesh/laboratory/config/install/field.field.node.laboratories.field_lab_equipment_cost.yml
new file mode 100644
index 0000000..2f64ecf
--- /dev/null
+++ b/modules/kalpesh/laboratory/config/install/field.field.node.laboratories.field_lab_equipment_cost.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_lab_equipment_cost
+ - node.type.laboratories
+ enforced:
+ module:
+ - laboratories
+id: node.laboratories.field_lab_equipment_cost
+field_name: field_lab_equipment_cost
+entity_type: node
+bundle: laboratories
+label: 'Lab Equipment cost'
+description: 'cost of software and machines'
+required: true
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/kalpesh/laboratory/config/install/field.field.node.laboratories.field_lab_image.yml b/modules/kalpesh/laboratory/config/install/field.field.node.laboratories.field_lab_image.yml
new file mode 100644
index 0000000..6a9dc2c
--- /dev/null
+++ b/modules/kalpesh/laboratory/config/install/field.field.node.laboratories.field_lab_image.yml
@@ -0,0 +1,40 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_lab_image
+ - node.type.laboratories
+ module:
+ - image
+ enforced:
+ module:
+ - laboratories
+id: node.laboratories.field_lab_image
+field_name: field_lab_image
+entity_type: node
+bundle: laboratories
+label: 'Lab Image'
+description: ''
+required: true
+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: 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/laboratory/config/install/field.field.node.laboratories.field_utilisation_of_lab.yml b/modules/kalpesh/laboratory/config/install/field.field.node.laboratories.field_utilisation_of_lab.yml
new file mode 100644
index 0000000..75ce44e
--- /dev/null
+++ b/modules/kalpesh/laboratory/config/install/field.field.node.laboratories.field_utilisation_of_lab.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_utilisation_of_lab
+ - node.type.laboratories
+ module:
+ - text
+ enforced:
+ module:
+ - laboratories
+id: node.laboratories.field_utilisation_of_lab
+field_name: field_utilisation_of_lab
+entity_type: node
+bundle: laboratories
+label: 'Utilisation of lab'
+description: 'Semiser wise use of lab in hours/week'
+required: true
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: text_long
diff --git a/modules/kalpesh/laboratory/config/install/field.storage.node.field_area.yml b/modules/kalpesh/laboratory/config/install/field.storage.node.field_area.yml
new file mode 100644
index 0000000..34e31e3
--- /dev/null
+++ b/modules/kalpesh/laboratory/config/install/field.storage.node.field_area.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - laboratories
+id: node.field_area
+field_name: field_area
+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/laboratory/config/install/field.storage.node.field_lab_equipment_cost.yml b/modules/kalpesh/laboratory/config/install/field.storage.node.field_lab_equipment_cost.yml
new file mode 100644
index 0000000..dc60ebf
--- /dev/null
+++ b/modules/kalpesh/laboratory/config/install/field.storage.node.field_lab_equipment_cost.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - laboratories
+id: node.field_lab_equipment_cost
+field_name: field_lab_equipment_cost
+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/laboratory/config/install/field.storage.node.field_lab_image.yml b/modules/kalpesh/laboratory/config/install/field.storage.node.field_lab_image.yml
new file mode 100644
index 0000000..f54354e
--- /dev/null
+++ b/modules/kalpesh/laboratory/config/install/field.storage.node.field_lab_image.yml
@@ -0,0 +1,32 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - image
+ - node
+ enforced:
+ module:
+ - laboratories
+id: node.field_lab_image
+field_name: field_lab_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: -1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/kalpesh/laboratory/config/install/field.storage.node.field_utilisation_of_lab.yml b/modules/kalpesh/laboratory/config/install/field.storage.node.field_utilisation_of_lab.yml
new file mode 100644
index 0000000..ec586d5
--- /dev/null
+++ b/modules/kalpesh/laboratory/config/install/field.storage.node.field_utilisation_of_lab.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ - text
+ enforced:
+ module:
+ - laboratories
+id: node.field_utilisation_of_lab
+field_name: field_utilisation_of_lab
+entity_type: node
+type: text_long
+settings: { }
+module: text
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/kalpesh/laboratory/config/install/image.style.laboratory_image_style.yml b/modules/kalpesh/laboratory/config/install/image.style.laboratory_image_style.yml
new file mode 100644
index 0000000..7f67910
--- /dev/null
+++ b/modules/kalpesh/laboratory/config/install/image.style.laboratory_image_style.yml
@@ -0,0 +1,17 @@
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - laboratories
+name: laboratory_image_style
+label: 'laboratory image style'
+effects:
+ c989a340-a271-4d7f-8475-32e97bbd71d5:
+ uuid: c989a340-a271-4d7f-8475-32e97bbd71d5
+ id: image_scale_and_crop
+ weight: 1
+ data:
+ width: 400
+ height: 300
+ anchor: center-center
diff --git a/modules/kalpesh/laboratory/config/install/node.type.laboratories.yml b/modules/kalpesh/laboratory/config/install/node.type.laboratories.yml
new file mode 100644
index 0000000..2763808
--- /dev/null
+++ b/modules/kalpesh/laboratory/config/install/node.type.laboratories.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - laboratories
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: Laboratories
+type: laboratories
+description: 'Detail information about laboratories'
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: true
diff --git a/modules/kalpesh/laboratory/config/install/views.view.laboratories.yml b/modules/kalpesh/laboratory/config/install/views.view.laboratories.yml
new file mode 100644
index 0000000..5e9ee22
--- /dev/null
+++ b/modules/kalpesh/laboratory/config/install/views.view.laboratories.yml
@@ -0,0 +1,202 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.laboratories.body
+ - field.field.node.laboratories.field_area
+ - field.field.node.laboratories.field_lab_equipment_cost
+ - field.field.node.laboratories.field_lab_image
+ - field.field.node.laboratories.field_utilisation_of_lab
+ - node.type.laboratories
+ module:
+ - ds
+ - image
+ - text
+ - user
+ enforced:
+ module:
+ - laboratories
+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:
+ - node_title
+ - field_lab_image
+ - field_area
+ - field_lab_equipment_cost
+ - field_utilisation_of_lab
+ fields:
+ node_title:
+ plugin_id: node_title
+ weight: 0
+ label: hidden
+ formatter: default
+id: node.laboratories.default
+targetEntityType: node
+bundle: laboratories
+mode: default
+content:
+ field_area:
+ type: string
+ weight: 2
+ region: ds_content
+ label: above
+ settings:
+ link_to_entity: false
+ third_party_settings:
+ ds:
+ ft:
+ id: expert
+ settings:
+ lb: 'Area '
+ prefix: ''
+ lbw: true
+ lbw-el: div
+ lbw-cl: 'fw-bold col-sm-3'
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: 'row '
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: col-sm-5
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi-def-at: false
+ field_lab_equipment_cost:
+ type: string
+ weight: 3
+ region: ds_content
+ label: above
+ settings:
+ link_to_entity: false
+ third_party_settings:
+ ds:
+ ft:
+ id: expert
+ settings:
+ lb: 'Equipment cost'
+ prefix: ''
+ lbw: true
+ lbw-el: div
+ lbw-cl: 'col-sm-3 fw-bold'
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: 'row mb-10'
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: col-sm-5
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi-def-at: false
+ field_lab_image:
+ type: image
+ weight: 1
+ region: ds_content
+ label: hidden
+ settings:
+ image_style: ''
+ image_link: ''
+ third_party_settings:
+ ds:
+ ds_limit: ''
+ ft:
+ id: expert
+ settings:
+ lb: ''
+ prefix: ''
+ lbw: true
+ lbw-el: 'div '
+ lbw-cl: ' fw-bold '
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: 'center-block mt-10 mb-10'
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi: true
+ fi-el: 'div '
+ fi-cl: ' center-block'
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi-def-at: false
+ field_utilisation_of_lab:
+ type: text_default
+ weight: 4
+ region: ds_content
+ label: above
+ settings: { }
+ third_party_settings:
+ ds:
+ ft:
+ id: expert
+ settings:
+ lb: Utilisation
+ prefix: ''
+ lbw: true
+ lbw-el: div
+ lbw-cl: 'col-sm-3 fw-bold '
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: 'row mb-10'
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: col-sm-5
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi-def-at: false
+hidden:
+ body: true
+ langcode: true
+ links: true
diff --git a/modules/kalpesh/laboratory/laboratory.info.yml b/modules/kalpesh/laboratory/laboratory.info.yml
new file mode 100644
index 0000000..1db207c
--- /dev/null
+++ b/modules/kalpesh/laboratory/laboratory.info.yml
@@ -0,0 +1,14 @@
+name: laboratory
+type: module
+description: 'This module store laboratories details'
+core: 8.x
+package: Custom
+dependencies:
+ - drupal:menu_ui
+ - drupal:image
+ - drupal:path
+ - drupal:text
+ - ds:ds
+ - drupal:user
+ - drupal:node
+ - drupal:file
diff --git a/modules/kalpesh/laboratory/laboratory.install b/modules/kalpesh/laboratory/laboratory.install
new file mode 100644
index 0000000..68dfe55
--- /dev/null
+++ b/modules/kalpesh/laboratory/laboratory.install
@@ -0,0 +1,64 @@
+<?php
+
+
+/**
+
+
+* Implements hook_uninstall().
+
+
+*/
+
+
+function laboratory_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', 'laboratories');
+
+
+ $nids = $query->execute();
+
+
+
+
+
+
+
+ // Delete entities.
+
+
+ if (!empty($nids)) {
+
+
+ $entities = $nodeStorage->loadMultiple($nids);
+
+
+ $nodeStorage->delete($entities);
+
+
+ }
+
+
+}
+
diff --git a/modules/kalpesh/laboratory/laboratory.module b/modules/kalpesh/laboratory/laboratory.module
new file mode 100644
index 0000000..5a9801f
--- /dev/null
+++ b/modules/kalpesh/laboratory/laboratory.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains laboratory.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function laboratory_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the laboratory module.
+ case 'help.page.laboratory':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('This module store laboratories details') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function laboratory_theme() {
+ return [
+ 'laboratory' => [
+ 'render element' => 'children',
+ ],
+ ];
+}
diff --git a/modules/kalpesh/laboratory/templates/laboratory.html.twig b/modules/kalpesh/laboratory/templates/laboratory.html.twig
new file mode 100644
index 0000000..95722bd
--- /dev/null
+++ b/modules/kalpesh/laboratory/templates/laboratory.html.twig
@@ -0,0 +1 @@
+<!-- Add you custom twig html here -->
diff --git a/modules/kalpesh/laboratory/tests/src/Functional/LoadTest.php b/modules/kalpesh/laboratory/tests/src/Functional/LoadTest.php
new file mode 100644
index 0000000..431de13
--- /dev/null
+++ b/modules/kalpesh/laboratory/tests/src/Functional/LoadTest.php
@@ -0,0 +1,46 @@
+<?php
+
+namespace Drupal\Tests\laboratory\Functional;
+
+use Drupal\Core\Url;
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Simple test to ensure that main page loads with module enabled.
+ *
+ * @group laboratory
+ */
+class LoadTest extends BrowserTestBase {
+
+ /**
+ * Modules to enable.
+ *
+ * @var array
+ */
+ public static $modules = ['laboratory'];
+
+ /**
+ * 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);
+ }
+
+}
diff --git a/modules/kalpesh/members/composer.json b/modules/kalpesh/members/composer.json
new file mode 100644
index 0000000..95e4284
--- /dev/null
+++ b/modules/kalpesh/members/composer.json
@@ -0,0 +1,13 @@
+{
+ "name": "members",
+ "type": "drupal-module",
+ "description": "This modole store members details",
+ "keywords": [
+ ],
+ "homepage": "https://www.drupal.org/project/members",
+ "minimum-stability": "dev",
+ "support": {
+ "issues": "https://www.drupal.org/project/issues/members",
+ "source": "http://cgit.drupalcode.org/members",
+ },
+}
diff --git a/modules/kalpesh/members/config/install/core.base_field_override.node.members.promote.yml b/modules/kalpesh/members/config/install/core.base_field_override.node.members.promote.yml
new file mode 100644
index 0000000..f2a81bb
--- /dev/null
+++ b/modules/kalpesh/members/config/install/core.base_field_override.node.members.promote.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.members
+ enforced:
+ module:
+ - members
+id: node.members.promote
+field_name: promote
+entity_type: node
+bundle: members
+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/members/config/install/core.entity_form_display.node.members.default.yml b/modules/kalpesh/members/config/install/core.entity_form_display.node.members.default.yml
new file mode 100644
index 0000000..7dca7b1
--- /dev/null
+++ b/modules/kalpesh/members/config/install/core.entity_form_display.node.members.default.yml
@@ -0,0 +1,158 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.members.body
+ - field.field.node.members.field_category
+ - field.field.node.members.field_designation
+ - field.field.node.members.field_email_members
+ - field.field.node.members.field_file_uploads_members
+ - field.field.node.members.field_full_name_members
+ - field.field.node.members.field_image_members
+ - field.field.node.members.field_location_members
+ - field.field.node.members.field_phone_no_members
+ - image.style.thumbnail
+ - node.type.members
+ module:
+ - file
+ - image
+ - name
+ - path
+ - text
+ enforced:
+ module:
+ - members
+id: node.members.default
+targetEntityType: node
+bundle: members
+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_category:
+ weight: 123
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: entity_reference_autocomplete
+ region: content
+ field_designation:
+ weight: 124
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ region: content
+ field_email_members:
+ weight: 125
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: email_default
+ region: content
+ field_file_uploads_members:
+ weight: 127
+ settings:
+ progress_indicator: throbber
+ third_party_settings: { }
+ type: file_generic
+ region: content
+ field_full_name_members:
+ weight: 122
+ settings: { }
+ third_party_settings: { }
+ type: name_default
+ region: content
+ field_image_members:
+ weight: 126
+ settings:
+ progress_indicator: throbber
+ preview_image_style: thumbnail
+ third_party_settings: { }
+ type: image_image
+ region: content
+ field_location_members:
+ weight: 128
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ region: content
+ field_phone_no_members:
+ weight: 129
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ 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/kalpesh/members/config/install/core.entity_view_display.node.members.default.yml b/modules/kalpesh/members/config/install/core.entity_view_display.node.members.default.yml
new file mode 100644
index 0000000..c8d2d9b
--- /dev/null
+++ b/modules/kalpesh/members/config/install/core.entity_view_display.node.members.default.yml
@@ -0,0 +1,371 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.members.body
+ - field.field.node.members.field_category
+ - field.field.node.members.field_designation
+ - field.field.node.members.field_email_members
+ - field.field.node.members.field_file_uploads_members
+ - field.field.node.members.field_full_name_members
+ - field.field.node.members.field_image_members
+ - field.field.node.members.field_location_members
+ - field.field.node.members.field_phone_no_members
+ - image.style.group_research_area_image
+ - node.type.members
+ module:
+ - ds
+ - file
+ - image
+ - name
+ - text
+ - user
+ enforced:
+ module:
+ - members
+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_image_members
+ - body
+ - field_full_name_members
+ - field_email_members
+ - field_category
+ - field_designation
+ - field_location_members
+ - field_phone_no_members
+ - field_file_uploads_members
+id: node.members.default
+targetEntityType: node
+bundle: members
+mode: default
+content:
+ body:
+ label: hidden
+ type: text_default
+ weight: 2
+ settings: { }
+ third_party_settings: { }
+ region: ds_content
+ field_category:
+ weight: 5
+ label: inline
+ settings:
+ link: true
+ third_party_settings:
+ ds:
+ ft:
+ id: expert
+ settings:
+ lb: ''
+ prefix: ''
+ lbw: true
+ lbw-el: 'div '
+ lbw-cl: 'col-sm-2 fw-bold mb-10 mt-10'
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: row
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: 'col-sm-10 mb-10 mt-10'
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi-def-at: false
+ type: entity_reference_label
+ region: ds_content
+ field_designation:
+ weight: 6
+ label: inline
+ settings:
+ link_to_entity: false
+ third_party_settings:
+ ds:
+ ft:
+ id: expert
+ settings:
+ lb: ''
+ prefix: ''
+ lbw: true
+ lbw-el: div
+ lbw-cl: 'col-sm-2 fw-bold mb-10 mt-10'
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: row
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: 'col-sm-10 mb-10 mt-10'
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi-def-at: false
+ type: string
+ region: ds_content
+ field_email_members:
+ weight: 4
+ label: inline
+ settings: { }
+ third_party_settings:
+ ds:
+ ds_limit: ''
+ ft:
+ id: expert
+ settings:
+ lb: ''
+ prefix: ''
+ lbw: true
+ lbw-el: 'div '
+ lbw-cl: 'col-sm-2 fw-bold mb-10 mt-10'
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: row
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: 'col-sm-10 mb-10 mt-10'
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi-def-at: false
+ type: basic_string
+ region: ds_content
+ field_file_uploads_members:
+ weight: 9
+ label: inline
+ settings:
+ use_description_as_link_text: true
+ third_party_settings:
+ ds:
+ ft:
+ id: expert
+ settings:
+ lb: ''
+ prefix: ''
+ lbw: true
+ lbw-el: div
+ lbw-cl: 'col-sm-2 mb-10 mt-10'
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: row
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: 'col-sm-10 mb-10 mt-10'
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi-def-at: false
+ type: file_default
+ region: ds_content
+ field_full_name_members:
+ weight: 3
+ label: inline
+ settings:
+ format: default
+ output: default
+ multiple: default
+ multiple_delimiter: ', '
+ multiple_and: text
+ multiple_delimiter_precedes_last: never
+ multiple_el_al_min: '3'
+ multiple_el_al_first: '1'
+ markup: false
+ third_party_settings:
+ ds:
+ ft:
+ id: expert
+ settings:
+ lb: ''
+ prefix: ''
+ lbw: true
+ lbw-el: 'div '
+ lbw-cl: 'col-sm-2 fw-bold mt-10 mb-10'
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: row
+ ow-at: ''
+ fis: true
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: 'col-sm-10 mb-10 mt-10'
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis-def-at: false
+ fi-def-at: false
+ type: name_default
+ region: ds_content
+ field_image_members:
+ weight: 1
+ label: hidden
+ settings:
+ image_style: group_research_area_image
+ image_link: ''
+ 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: image
+ region: ds_content
+ field_location_members:
+ weight: 7
+ label: inline
+ settings:
+ link_to_entity: false
+ third_party_settings:
+ ds:
+ ft:
+ id: expert
+ settings:
+ lb: ''
+ prefix: ''
+ lbw: true
+ lbw-el: div
+ lbw-cl: 'col-sm-2 fw-bold mb-10 mt-10'
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: row
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: 'col-sm-10 mb-10 mt-10'
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi-def-at: false
+ type: string
+ region: ds_content
+ field_phone_no_members:
+ weight: 8
+ label: inline
+ settings:
+ link_to_entity: false
+ third_party_settings:
+ ds:
+ ds_limit: ''
+ ft:
+ id: expert
+ settings:
+ lb: ''
+ prefix: ''
+ lbw: true
+ lbw-el: div
+ lbw-cl: 'col-sm-2 fw-bold mb-10 mt-10'
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: row
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: 'col-sm-10 mb-10 mt-10'
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi-def-at: false
+ type: string
+ region: ds_content
+ links:
+ weight: 0
+ region: ds_content
+ settings: { }
+ third_party_settings: { }
+hidden:
+ langcode: true
diff --git a/modules/kalpesh/members/config/install/core.entity_view_display.node.members.teaser.yml b/modules/kalpesh/members/config/install/core.entity_view_display.node.members.teaser.yml
new file mode 100644
index 0000000..ccdd331
--- /dev/null
+++ b/modules/kalpesh/members/config/install/core.entity_view_display.node.members.teaser.yml
@@ -0,0 +1,33 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.members.body
+ - node.type.members
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - members
+id: node.members.teaser
+targetEntityType: node
+bundle: members
+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/members/config/install/field.field.node.members.body.yml b/modules/kalpesh/members/config/install/field.field.node.members.body.yml
new file mode 100644
index 0000000..4ae414b
--- /dev/null
+++ b/modules/kalpesh/members/config/install/field.field.node.members.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.members
+ module:
+ - text
+ enforced:
+ module:
+ - members
+id: node.members.body
+field_name: body
+entity_type: node
+bundle: members
+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/members/config/install/field.field.node.members.field_category.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_category.yml
new file mode 100644
index 0000000..66f5930
--- /dev/null
+++ b/modules/kalpesh/members/config/install/field.field.node.members.field_category.yml
@@ -0,0 +1,31 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_category
+ - node.type.members
+ - taxonomy.vocabulary.category
+ enforced:
+ module:
+ - members
+id: node.members.field_category
+field_name: field_category
+entity_type: node
+bundle: members
+label: Category
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:taxonomy_term'
+ handler_settings:
+ target_bundles:
+ category: category
+ sort:
+ field: name
+ direction: asc
+ auto_create: false
+ auto_create_bundle: ''
+field_type: entity_reference
diff --git a/modules/kalpesh/members/config/install/field.field.node.members.field_designation.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_designation.yml
new file mode 100644
index 0000000..3ac8820
--- /dev/null
+++ b/modules/kalpesh/members/config/install/field.field.node.members.field_designation.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_designation
+ - node.type.members
+ enforced:
+ module:
+ - members
+id: node.members.field_designation
+field_name: field_designation
+entity_type: node
+bundle: members
+label: Designation
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/kalpesh/members/config/install/field.field.node.members.field_email_members.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_email_members.yml
new file mode 100644
index 0000000..43dd139
--- /dev/null
+++ b/modules/kalpesh/members/config/install/field.field.node.members.field_email_members.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_email_members
+ - node.type.members
+ enforced:
+ module:
+ - members
+id: node.members.field_email_members
+field_name: field_email_members
+entity_type: node
+bundle: members
+label: Email
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: email
diff --git a/modules/kalpesh/members/config/install/field.field.node.members.field_file_uploads_members.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_file_uploads_members.yml
new file mode 100644
index 0000000..e2c81e4
--- /dev/null
+++ b/modules/kalpesh/members/config/install/field.field.node.members.field_file_uploads_members.yml
@@ -0,0 +1,29 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_file_uploads_members
+ - node.type.members
+ enforced:
+ module:
+ - members
+ module:
+ - file
+id: node.members.field_file_uploads_members
+field_name: field_file_uploads_members
+entity_type: node
+bundle: members
+label: 'File uploads'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ file_directory: members
+ file_extensions: 'txt pdf'
+ max_filesize: ''
+ description_field: false
+ handler: 'default:file'
+ handler_settings: { }
+field_type: file
diff --git a/modules/kalpesh/members/config/install/field.field.node.members.field_full_name_members.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_full_name_members.yml
new file mode 100644
index 0000000..7310e10
--- /dev/null
+++ b/modules/kalpesh/members/config/install/field.field.node.members.field_full_name_members.yml
@@ -0,0 +1,56 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_full_name_members
+ - node.type.members
+ enforced:
+ module:
+ - members
+ module:
+ - name
+id: node.members.field_full_name_members
+field_name: field_full_name_members
+entity_type: node
+bundle: members
+label: 'Full Name'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ size:
+ title: 6
+ given: 20
+ middle: 20
+ family: 20
+ generational: 5
+ credentials: 35
+ title_display:
+ title: description
+ given: description
+ middle: description
+ family: description
+ generational: description
+ credentials: description
+ field_type:
+ title: select
+ given: text
+ middle: text
+ family: text
+ generational: select
+ credentials: text
+ inline_css:
+ title: ''
+ given: ''
+ middle: ''
+ family: ''
+ generational: ''
+ credentials: ''
+ component_css: ''
+ component_layout: default
+ show_component_required_marker: false
+ credentials_inline: false
+ override_format: default
+field_type: name
diff --git a/modules/kalpesh/members/config/install/field.field.node.members.field_image_members.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_image_members.yml
new file mode 100644
index 0000000..e45b868
--- /dev/null
+++ b/modules/kalpesh/members/config/install/field.field.node.members.field_image_members.yml
@@ -0,0 +1,40 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_image_members
+ - node.type.members
+ module:
+ - image
+ enforced:
+ module:
+ - members
+id: node.members.field_image_members
+field_name: field_image_members
+entity_type: node
+bundle: members
+label: Image
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ file_directory: members
+ 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/members/config/install/field.field.node.members.field_location_members.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_location_members.yml
new file mode 100644
index 0000000..7b59f13
--- /dev/null
+++ b/modules/kalpesh/members/config/install/field.field.node.members.field_location_members.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_location_members
+ - node.type.members
+ enforced:
+ module:
+ - members
+id: node.members.field_location_members
+field_name: field_location_members
+entity_type: node
+bundle: members
+label: Location
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/kalpesh/members/config/install/field.field.node.members.field_phone_no_members.yml b/modules/kalpesh/members/config/install/field.field.node.members.field_phone_no_members.yml
new file mode 100644
index 0000000..60c6269
--- /dev/null
+++ b/modules/kalpesh/members/config/install/field.field.node.members.field_phone_no_members.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_phone_no_members
+ - node.type.members
+ enforced:
+ module:
+ - members
+id: node.members.field_phone_no_members
+field_name: field_phone_no_members
+entity_type: node
+bundle: members
+label: 'Phone No '
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/kalpesh/members/config/install/field.storage.node.field_category.yml b/modules/kalpesh/members/config/install/field.storage.node.field_category.yml
new file mode 100644
index 0000000..325c8d3
--- /dev/null
+++ b/modules/kalpesh/members/config/install/field.storage.node.field_category.yml
@@ -0,0 +1,22 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ - taxonomy
+ enforced:
+ module:
+ - members
+id: node.field_category
+field_name: field_category
+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/kalpesh/members/config/install/field.storage.node.field_designation.yml b/modules/kalpesh/members/config/install/field.storage.node.field_designation.yml
new file mode 100644
index 0000000..5bb724b
--- /dev/null
+++ b/modules/kalpesh/members/config/install/field.storage.node.field_designation.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - members
+id: node.field_designation
+field_name: field_designation
+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/members/config/install/field.storage.node.field_email_members.yml b/modules/kalpesh/members/config/install/field.storage.node.field_email_members.yml
new file mode 100644
index 0000000..99c1f69
--- /dev/null
+++ b/modules/kalpesh/members/config/install/field.storage.node.field_email_members.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - members
+id: node.field_email_members
+field_name: field_email_members
+entity_type: node
+type: email
+settings: { }
+module: core
+locked: false
+cardinality: -1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/kalpesh/members/config/install/field.storage.node.field_file_uploads_members.yml b/modules/kalpesh/members/config/install/field.storage.node.field_file_uploads_members.yml
new file mode 100644
index 0000000..bdc9bc0
--- /dev/null
+++ b/modules/kalpesh/members/config/install/field.storage.node.field_file_uploads_members.yml
@@ -0,0 +1,25 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - node
+ enforced:
+ module:
+ - members
+id: node.field_file_uploads_members
+field_name: field_file_uploads_members
+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/members/config/install/field.storage.node.field_full_name_members.yml b/modules/kalpesh/members/config/install/field.storage.node.field_full_name_members.yml
new file mode 100644
index 0000000..2334559
--- /dev/null
+++ b/modules/kalpesh/members/config/install/field.storage.node.field_full_name_members.yml
@@ -0,0 +1,91 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - name
+ - node
+ enforced:
+ module:
+ - members
+id: node.field_full_name_members
+field_name: field_full_name_members
+entity_type: node
+type: name
+settings:
+ components:
+ title: true
+ given: true
+ middle: true
+ family: true
+ generational: true
+ credentials: true
+ minimum_components:
+ given: true
+ family: true
+ title: false
+ middle: false
+ generational: false
+ credentials: false
+ labels:
+ title: Title
+ given: Given
+ middle: 'Middle name(s)'
+ family: Family
+ generational: Generational
+ credentials: Credentials
+ max_length:
+ title: 31
+ given: 63
+ middle: 127
+ family: 63
+ generational: 15
+ credentials: 255
+ autocomplete_source:
+ title:
+ title: title
+ given: { }
+ middle: { }
+ family: { }
+ generational:
+ generational: '0'
+ credentials: { }
+ autocomplete_separator:
+ title: ' '
+ given: ' -'
+ middle: ' -'
+ family: ' -'
+ generational: ' '
+ credentials: ', '
+ allow_family_or_given: false
+ title_options:
+ - '-- --'
+ - Mr.
+ - Mrs.
+ - Miss
+ - Ms.
+ - Dr.
+ - Prof.
+ generational_options:
+ - '-- --'
+ - Jr.
+ - Sr.
+ - I
+ - II
+ - III
+ - IV
+ - V
+ - VI
+ - VII
+ - VIII
+ - IX
+ - X
+ sort_options:
+ title: false
+ generational: false
+module: name
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/kalpesh/members/config/install/field.storage.node.field_image_members.yml b/modules/kalpesh/members/config/install/field.storage.node.field_image_members.yml
new file mode 100644
index 0000000..84c6baa
--- /dev/null
+++ b/modules/kalpesh/members/config/install/field.storage.node.field_image_members.yml
@@ -0,0 +1,32 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - image
+ - node
+ enforced:
+ module:
+ - members
+id: node.field_image_members
+field_name: field_image_members
+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/members/config/install/field.storage.node.field_location_members.yml b/modules/kalpesh/members/config/install/field.storage.node.field_location_members.yml
new file mode 100644
index 0000000..1567014
--- /dev/null
+++ b/modules/kalpesh/members/config/install/field.storage.node.field_location_members.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - members
+id: node.field_location_members
+field_name: field_location_members
+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/members/config/install/field.storage.node.field_phone_no_members.yml b/modules/kalpesh/members/config/install/field.storage.node.field_phone_no_members.yml
new file mode 100644
index 0000000..e25b71c
--- /dev/null
+++ b/modules/kalpesh/members/config/install/field.storage.node.field_phone_no_members.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - members
+id: node.field_phone_no_members
+field_name: field_phone_no_members
+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/members/config/install/image.style.group_research_area_image.yml b/modules/kalpesh/members/config/install/image.style.group_research_area_image.yml
new file mode 100644
index 0000000..09b645b
--- /dev/null
+++ b/modules/kalpesh/members/config/install/image.style.group_research_area_image.yml
@@ -0,0 +1,17 @@
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - members
+name: group_research_area_image
+label: 'Group Research area image'
+effects:
+ 366cac20-7b38-410e-b508-129e23608539:
+ uuid: 366cac20-7b38-410e-b508-129e23608539
+ id: image_scale_and_crop
+ weight: 1
+ data:
+ width: 400
+ height: 300
+ anchor: center-center
diff --git a/modules/kalpesh/members/config/install/node.type.members.yml b/modules/kalpesh/members/config/install/node.type.members.yml
new file mode 100644
index 0000000..acefdd0
--- /dev/null
+++ b/modules/kalpesh/members/config/install/node.type.members.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - members
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: Members
+type: members
+description: ''
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: true
diff --git a/modules/kalpesh/members/config/install/taxonomy.vocabulary.category.yml b/modules/kalpesh/members/config/install/taxonomy.vocabulary.category.yml
new file mode 100644
index 0000000..d3d6ad7
--- /dev/null
+++ b/modules/kalpesh/members/config/install/taxonomy.vocabulary.category.yml
@@ -0,0 +1,11 @@
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - members
+name: Category
+vid: category
+description: ''
+hierarchy: 0
+weight: 0
diff --git a/modules/kalpesh/members/members.info.yml b/modules/kalpesh/members/members.info.yml
new file mode 100644
index 0000000..a66ee20
--- /dev/null
+++ b/modules/kalpesh/members/members.info.yml
@@ -0,0 +1,19 @@
+name: Members
+type: module
+description: 'This modole store members details'
+core: 8.x
+package: Custom
+dependencies:
+ - drupal:menu_ui
+ - drupal:file
+ - drupal:image
+ - drupal:name
+ - drupal:path
+ - drupal:text
+ - ds:ds
+ - drupal:user
+ - drupal:node
+ - drupal:taxonomy
+
+
+
diff --git a/modules/kalpesh/members/members.install b/modules/kalpesh/members/members.install
new file mode 100644
index 0000000..bb3a6cf
--- /dev/null
+++ b/modules/kalpesh/members/members.install
@@ -0,0 +1,26 @@
+
+<?php
+/**
+* Implements hook_uninstall().
+*/
+function members_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', 'members');
+ $nids = $query->execute();
+
+
+
+ // Delete entities.
+ if (!empty($nids)) {
+ $entities = $nodeStorage->loadMultiple($nids);
+ $nodeStorage->delete($entities);
+ }
+}
diff --git a/modules/kalpesh/members/members.module b/modules/kalpesh/members/members.module
new file mode 100644
index 0000000..035d5c0
--- /dev/null
+++ b/modules/kalpesh/members/members.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains members.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function members_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the members module.
+ case 'help.page.members':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('This modole store members details') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function members_theme() {
+ return [
+ 'members' => [
+ 'render element' => 'children',
+ ],
+ ];
+}
diff --git a/modules/kalpesh/members/templates/members.html.twig b/modules/kalpesh/members/templates/members.html.twig
new file mode 100644
index 0000000..95722bd
--- /dev/null
+++ b/modules/kalpesh/members/templates/members.html.twig
@@ -0,0 +1 @@
+<!-- Add you custom twig html here -->
diff --git a/modules/kalpesh/members/tests/src/Functional/LoadTest.php b/modules/kalpesh/members/tests/src/Functional/LoadTest.php
new file mode 100644
index 0000000..4a4ce20
--- /dev/null
+++ b/modules/kalpesh/members/tests/src/Functional/LoadTest.php
@@ -0,0 +1,46 @@
+<?php
+
+namespace Drupal\Tests\members\Functional;
+
+use Drupal\Core\Url;
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Simple test to ensure that main page loads with module enabled.
+ *
+ * @group members
+ */
+class LoadTest extends BrowserTestBase {
+
+ /**
+ * Modules to enable.
+ *
+ * @var array
+ */
+ public static $modules = ['members'];
+
+ /**
+ * 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);
+ }
+
+}
diff --git a/modules/kalpesh/photo_gallery/composer.json b/modules/kalpesh/photo_gallery/composer.json
new file mode 100644
index 0000000..fc234e8
--- /dev/null
+++ b/modules/kalpesh/photo_gallery/composer.json
@@ -0,0 +1,13 @@
+{
+ "name": "photo_gallery",
+ "type": "drupal-module",
+ "description": "This module is use for stylish photo gallery",
+ "keywords": [
+ ],
+ "homepage": "https://www.drupal.org/project/photo_gallery",
+ "minimum-stability": "dev",
+ "support": {
+ "issues": "https://www.drupal.org/project/issues/photo_gallery",
+ "source": "http://cgit.drupalcode.org/photo_gallery",
+ },
+}
diff --git a/modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.promote.yml b/modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.promote.yml
new file mode 100644
index 0000000..4f2fdc0
--- /dev/null
+++ b/modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.promote.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.photograpy
+ enforced:
+ module:
+ - photograpy
+id: node.photograpy.promote
+field_name: promote
+entity_type: node
+bundle: photograpy
+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/photo_gallery/config/install/core.base_field_override.node.photograpy.title.yml b/modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.title.yml
new file mode 100644
index 0000000..c3382c1
--- /dev/null
+++ b/modules/kalpesh/photo_gallery/config/install/core.base_field_override.node.photograpy.title.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.photograpy
+ enforced:
+ module:
+ - photograpy
+id: node.photograpy.title
+field_name: title
+entity_type: node
+bundle: photograpy
+label: Title
+description: ''
+required: true
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/kalpesh/photo_gallery/config/install/core.entity_form_display.node.photograpy.default.yml b/modules/kalpesh/photo_gallery/config/install/core.entity_form_display.node.photograpy.default.yml
new file mode 100644
index 0000000..671d94b
--- /dev/null
+++ b/modules/kalpesh/photo_gallery/config/install/core.entity_form_display.node.photograpy.default.yml
@@ -0,0 +1,95 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.photograpy.body
+ - field.field.node.photograpy.field_photo_gallery
+ - image.style.photo_gallery_image_style
+ - node.type.photograpy
+ module:
+ - image
+ - path
+ - text
+ enforced:
+ module:
+ - photograpy
+id: node.photograpy.default
+targetEntityType: node
+bundle: photograpy
+mode: default
+content:
+ body:
+ type: text_textarea_with_summary
+ weight: 7
+ settings:
+ rows: 9
+ summary_rows: 3
+ placeholder: ''
+ third_party_settings: { }
+ region: content
+ created:
+ type: datetime_timestamp
+ weight: 2
+ region: content
+ settings: { }
+ third_party_settings: { }
+ field_photo_gallery:
+ weight: 8
+ settings:
+ preview_image_style: photo_gallery_image_style
+ progress_indicator: throbber
+ third_party_settings: { }
+ type: image_image
+ region: content
+ langcode:
+ type: language_select
+ weight: 0
+ region: content
+ settings:
+ include_locked: true
+ third_party_settings: { }
+ path:
+ type: path
+ weight: 5
+ region: content
+ settings: { }
+ third_party_settings: { }
+ promote:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 3
+ region: content
+ third_party_settings: { }
+ status:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 6
+ region: content
+ third_party_settings: { }
+ sticky:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 4
+ 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: 1
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ region: content
+ third_party_settings: { }
+hidden: { }
diff --git a/modules/kalpesh/photo_gallery/config/install/core.entity_view_display.node.photograpy.default.yml b/modules/kalpesh/photo_gallery/config/install/core.entity_view_display.node.photograpy.default.yml
new file mode 100644
index 0000000..658176a
--- /dev/null
+++ b/modules/kalpesh/photo_gallery/config/install/core.entity_view_display.node.photograpy.default.yml
@@ -0,0 +1,96 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.photograpy.body
+ - field.field.node.photograpy.field_photo_gallery
+ - image.style.photo_gallery_image_style
+ - image.style.photo_gallery_large_image_style
+ - node.type.photograpy
+ module:
+ - colorbox
+ - ds
+ - text
+ - user
+ enforced:
+ module:
+ - photograpy
+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:
+ - body
+ - field_photo_gallery
+id: node.photograpy.default
+targetEntityType: node
+bundle: photograpy
+mode: default
+content:
+ body:
+ label: hidden
+ type: text_default
+ weight: 0
+ settings: { }
+ third_party_settings: { }
+ region: ds_content
+ field_photo_gallery:
+ weight: 1
+ label: above
+ settings:
+ colorbox_node_style: photo_gallery_image_style
+ colorbox_node_style_first: ''
+ colorbox_image_style: photo_gallery_large_image_style
+ colorbox_gallery: post
+ colorbox_gallery_custom: ''
+ colorbox_caption: auto
+ colorbox_caption_custom: ''
+ third_party_settings:
+ ds:
+ ds_limit: ''
+ ft:
+ id: expert
+ settings:
+ lb: Photos
+ prefix: ''
+ lbw: true
+ lbw-el: div
+ lbw-cl: 'col-sm-12 text-center mt-10 mb-10 fw-bold'
+ lbw-at: ''
+ ow-el: ''
+ ow-cl: ''
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: 'row col-sm-4 center-block mt-5 mb-5'
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi-def-at: false
+ type: colorbox
+ region: ds_content
+hidden:
+ langcode: true
+ links: true
diff --git a/modules/kalpesh/photo_gallery/config/install/core.entity_view_display.node.photograpy.teaser.yml b/modules/kalpesh/photo_gallery/config/install/core.entity_view_display.node.photograpy.teaser.yml
new file mode 100644
index 0000000..ba5c3b9
--- /dev/null
+++ b/modules/kalpesh/photo_gallery/config/install/core.entity_view_display.node.photograpy.teaser.yml
@@ -0,0 +1,35 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.photograpy.body
+ - field.field.node.photograpy.field_photo_gallery
+ - node.type.photograpy
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - photograpy
+id: node.photograpy.teaser
+targetEntityType: node
+bundle: photograpy
+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
+ region: content
+ settings: { }
+ third_party_settings: { }
+hidden:
+ field_photo_gallery: true
+ langcode: true
diff --git a/modules/kalpesh/photo_gallery/config/install/field.field.node.photograpy.body.yml b/modules/kalpesh/photo_gallery/config/install/field.field.node.photograpy.body.yml
new file mode 100644
index 0000000..12a48ec
--- /dev/null
+++ b/modules/kalpesh/photo_gallery/config/install/field.field.node.photograpy.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.photograpy
+ module:
+ - text
+ enforced:
+ module:
+ - photograpy
+id: node.photograpy.body
+field_name: body
+entity_type: node
+bundle: photograpy
+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/photo_gallery/config/install/field.field.node.photograpy.field_photo_gallery.yml b/modules/kalpesh/photo_gallery/config/install/field.field.node.photograpy.field_photo_gallery.yml
new file mode 100644
index 0000000..50857c8
--- /dev/null
+++ b/modules/kalpesh/photo_gallery/config/install/field.field.node.photograpy.field_photo_gallery.yml
@@ -0,0 +1,40 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_photo_gallery
+ - node.type.photograpy
+ module:
+ - image
+ enforced:
+ module:
+ - photograpy
+id: node.photograpy.field_photo_gallery
+field_name: field_photo_gallery
+entity_type: node
+bundle: photograpy
+label: images
+description: 'photos of department ,activities'
+required: true
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ file_directory: 'Photo Gallery'
+ file_extensions: 'png gif jpg jpeg'
+ max_filesize: ''
+ max_resolution: ''
+ min_resolution: ''
+ alt_field: false
+ 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/photo_gallery/config/install/field.storage.node.field_photo_gallery.yml b/modules/kalpesh/photo_gallery/config/install/field.storage.node.field_photo_gallery.yml
new file mode 100644
index 0000000..d05ed8a
--- /dev/null
+++ b/modules/kalpesh/photo_gallery/config/install/field.storage.node.field_photo_gallery.yml
@@ -0,0 +1,32 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - image
+ - node
+ enforced:
+ module:
+ - photograpy
+id: node.field_photo_gallery
+field_name: field_photo_gallery
+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/photo_gallery/config/install/image.style.photo_gallery_image_style.yml b/modules/kalpesh/photo_gallery/config/install/image.style.photo_gallery_image_style.yml
new file mode 100644
index 0000000..f73afbd
--- /dev/null
+++ b/modules/kalpesh/photo_gallery/config/install/image.style.photo_gallery_image_style.yml
@@ -0,0 +1,17 @@
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - photograpy
+name: photo_gallery_image_style
+label: 'Photo Gallery image style'
+effects:
+ d2f1e554-148d-47cf-8a90-be37d02a2f41:
+ uuid: d2f1e554-148d-47cf-8a90-be37d02a2f41
+ id: image_scale_and_crop
+ weight: 1
+ data:
+ width: 400
+ height: 300
+ anchor: center-center \ No newline at end of file
diff --git a/modules/kalpesh/photo_gallery/config/install/image.style.photo_gallery_large_image_style.yml b/modules/kalpesh/photo_gallery/config/install/image.style.photo_gallery_large_image_style.yml
new file mode 100644
index 0000000..1fe5cf3
--- /dev/null
+++ b/modules/kalpesh/photo_gallery/config/install/image.style.photo_gallery_large_image_style.yml
@@ -0,0 +1,17 @@
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - photograpy
+name: photo_gallery_large_image_style
+label: 'Photo Gallery large image style'
+effects:
+ b3967226-7f01-4a10-ae16-b5173b0e7b1d:
+ uuid: b3967226-7f01-4a10-ae16-b5173b0e7b1d
+ id: image_scale_and_crop
+ weight: 1
+ data:
+ width: 480
+ height: 480
+ anchor: center-center \ No newline at end of file
diff --git a/modules/kalpesh/photo_gallery/config/install/node.type.photograpy.yml b/modules/kalpesh/photo_gallery/config/install/node.type.photograpy.yml
new file mode 100644
index 0000000..cb4bc56
--- /dev/null
+++ b/modules/kalpesh/photo_gallery/config/install/node.type.photograpy.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - photograpy
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: 'Photo Gallery'
+type: photograpy
+description: 'Images of department and department activities'
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: true
diff --git a/modules/kalpesh/photo_gallery/config/install/responsive_image.styles.photo_gallery.yml b/modules/kalpesh/photo_gallery/config/install/responsive_image.styles.photo_gallery.yml
new file mode 100644
index 0000000..ebac108
--- /dev/null
+++ b/modules/kalpesh/photo_gallery/config/install/responsive_image.styles.photo_gallery.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - image.style.photo_gallery_image_style
+ enforced:
+ module:
+ - photograpy
+_core:
+ default_config_hash: Umj5KTYrfwM79WjP6IJpQHZGv0GEmu70WZarLM3BfTs
+id: photo_gallery
+label: 'Photo Gallery'
+image_style_mappings:
+ -
+ breakpoint_id: responsive_image.viewport_sizing
+ multiplier: 1x
+ image_mapping_type: sizes
+ image_mapping:
+ sizes: '(min-width: 1290px) 325px, (min-width: 851px) 25vw, (min-width: 560px) 50vw, 100vw'
+ sizes_image_styles:
+ - photo_gallery_image_style
+breakpoint_group: responsive_image
+fallback_image_style: photo_gallery_image_style
diff --git a/modules/kalpesh/photo_gallery/config/install/views.view.photo_gallery.yml b/modules/kalpesh/photo_gallery/config/install/views.view.photo_gallery.yml
new file mode 100644
index 0000000..2c43748
--- /dev/null
+++ b/modules/kalpesh/photo_gallery/config/install/views.view.photo_gallery.yml
@@ -0,0 +1,404 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_photo_gallery
+ - node.type.photograpy
+ - responsive_image.styles.photo_gallery
+ - system.menu.main
+ module:
+ - node
+ - responsive_image
+ - user
+ - views_bootstrap
+ enforced:
+ module:
+ - photograpy
+id: photo_gallery
+label: 'Photo Gallery'
+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:
+ grouping: { }
+ row_class: ''
+ default_row_class: false
+ alignment: horizontal
+ columns: '3'
+ col_xs: col-xs-12
+ col_sm: col-sm-6
+ col_md: col-md-4
+ col_lg: col-lg-4
+ row:
+ type: fields
+ options:
+ default_field_elements: true
+ inline:
+ field_photo_gallery: field_photo_gallery
+ separator: ''
+ hide_empty: false
+ fields:
+ field_photo_gallery:
+ id: field_photo_gallery
+ table: node__field_photo_gallery
+ field: field_photo_gallery
+ 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: target_id
+ type: responsive_image
+ settings:
+ responsive_image_style: acad_fac_narrow
+ image_link: content
+ group_column: ''
+ group_columns: { }
+ group_rows: true
+ delta_limit: 1
+ 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:
+ photograpy: photograpy
+ 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: 'Photo Gallery'
+ 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:
+ - 'config:field.storage.node.field_photo_gallery'
+ block_1:
+ display_plugin: block
+ id: block_1
+ display_title: Block
+ position: 2
+ display_options:
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.field_photo_gallery'
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: photo-gallery
+ menu:
+ type: normal
+ title: 'Photo Gallery'
+ menu_name: main
+ weight: -44
+ fields:
+ field_photo_gallery:
+ id: field_photo_gallery
+ table: node__field_photo_gallery
+ field: field_photo_gallery
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: ''
+ exclude: false
+ alter:
+ alter_text: true
+ 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: div
+ element_class: image
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: false
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: false
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: target_id
+ type: responsive_image
+ settings:
+ responsive_image_style: photo_gallery
+ image_link: content
+ group_column: ''
+ group_columns: { }
+ group_rows: true
+ delta_limit: 1
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ plugin_id: field
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ 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: div
+ element_class: text
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: false
+ element_wrapper_type: div
+ element_wrapper_class: overlay
+ element_default_classes: false
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ settings:
+ link_to_entity: true
+ 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
+ entity_type: node
+ entity_field: title
+ plugin_id: field
+ defaults:
+ fields: false
+ style: false
+ row: false
+ style:
+ type: default
+ options:
+ grouping: { }
+ row_class: ''
+ default_row_class: true
+ row:
+ type: fields
+ options:
+ default_field_elements: true
+ inline:
+ field_photo_gallery: field_photo_gallery
+ separator: ''
+ hide_empty: false
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.field_photo_gallery'
diff --git a/modules/kalpesh/photo_gallery/photo_gallery.info.yml b/modules/kalpesh/photo_gallery/photo_gallery.info.yml
new file mode 100644
index 0000000..69583dc
--- /dev/null
+++ b/modules/kalpesh/photo_gallery/photo_gallery.info.yml
@@ -0,0 +1,18 @@
+name: photo_gallery
+type: module
+description: 'This module is use for stylish photo gallery'
+core: 8.x
+package: Custom
+dependencies:
+ - drupal:menu_ui
+ - drupal:image
+ - drupal:path
+ - drupal:text
+ - colorbox:colorbox
+ - ds:ds
+ - drupal:user
+ - drupal:node
+ - drupal:file
+ - drupal:responsive_image
+ - views_bootstrap:views_bootstrap
+
diff --git a/modules/kalpesh/photo_gallery/photo_gallery.install b/modules/kalpesh/photo_gallery/photo_gallery.install
new file mode 100644
index 0000000..216a83e
--- /dev/null
+++ b/modules/kalpesh/photo_gallery/photo_gallery.install
@@ -0,0 +1,26 @@
+
+<?php
+/**
+* Implements hook_uninstall().
+*/
+function photo_gallery_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', 'photograpy');
+ $nids = $query->execute();
+
+
+
+ // Delete entities.
+ if (!empty($nids)) {
+ $entities = $nodeStorage->loadMultiple($nids);
+ $nodeStorage->delete($entities);
+ }
+}
diff --git a/modules/kalpesh/photo_gallery/photo_gallery.module b/modules/kalpesh/photo_gallery/photo_gallery.module
new file mode 100644
index 0000000..ed6ed11
--- /dev/null
+++ b/modules/kalpesh/photo_gallery/photo_gallery.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains photo_gallery.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function photo_gallery_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the photo_gallery module.
+ case 'help.page.photo_gallery':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('This module is use for stylish photo gallery') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function photo_gallery_theme() {
+ return [
+ 'photo_gallery' => [
+ 'render element' => 'children',
+ ],
+ ];
+}
diff --git a/modules/kalpesh/photo_gallery/templates/photo-gallery.html.twig b/modules/kalpesh/photo_gallery/templates/photo-gallery.html.twig
new file mode 100644
index 0000000..95722bd
--- /dev/null
+++ b/modules/kalpesh/photo_gallery/templates/photo-gallery.html.twig
@@ -0,0 +1 @@
+<!-- Add you custom twig html here -->
diff --git a/modules/kalpesh/photo_gallery/tests/src/Functional/LoadTest.php b/modules/kalpesh/photo_gallery/tests/src/Functional/LoadTest.php
new file mode 100644
index 0000000..dfe0211
--- /dev/null
+++ b/modules/kalpesh/photo_gallery/tests/src/Functional/LoadTest.php
@@ -0,0 +1,46 @@
+<?php
+
+namespace Drupal\Tests\photo_gallery\Functional;
+
+use Drupal\Core\Url;
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Simple test to ensure that main page loads with module enabled.
+ *
+ * @group photo_gallery
+ */
+class LoadTest extends BrowserTestBase {
+
+ /**
+ * Modules to enable.
+ *
+ * @var array
+ */
+ public static $modules = ['photo_gallery'];
+
+ /**
+ * 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);
+ }
+
+}
diff --git a/modules/kalpesh/recruiters/composer.json b/modules/kalpesh/recruiters/composer.json
new file mode 100644
index 0000000..4215cbe
--- /dev/null
+++ b/modules/kalpesh/recruiters/composer.json
@@ -0,0 +1,13 @@
+{
+ "name": "recruiters",
+ "type": "drupal-module",
+ "description": "This module store details of companies",
+ "keywords": [
+ ],
+ "homepage": "https://www.drupal.org/project/recruiters",
+ "minimum-stability": "dev",
+ "support": {
+ "issues": "https://www.drupal.org/project/issues/recruiters",
+ "source": "http://cgit.drupalcode.org/recruiters",
+ },
+}
diff --git a/modules/kalpesh/recruiters/config/install/core.base_field_override.node.recruiters.promote.yml b/modules/kalpesh/recruiters/config/install/core.base_field_override.node.recruiters.promote.yml
new file mode 100644
index 0000000..cc6df05
--- /dev/null
+++ b/modules/kalpesh/recruiters/config/install/core.base_field_override.node.recruiters.promote.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.recruiters
+ enforced:
+ module:
+ - recruiters
+id: node.recruiters.promote
+field_name: promote
+entity_type: node
+bundle: recruiters
+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/recruiters/config/install/core.base_field_override.node.recruiters.title.yml.yml b/modules/kalpesh/recruiters/config/install/core.base_field_override.node.recruiters.title.yml.yml
new file mode 100644
index 0000000..7e512d2
--- /dev/null
+++ b/modules/kalpesh/recruiters/config/install/core.base_field_override.node.recruiters.title.yml.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.recruiters
+ enforced:
+ module:
+ - recruiters
+id: node.recruiters.title
+field_name: title
+entity_type: node
+bundle: recruiters
+label: Recruiters
+description: ''
+required: true
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/kalpesh/recruiters/config/install/core.entity_form_display.node.recruiters.default.yml b/modules/kalpesh/recruiters/config/install/core.entity_form_display.node.recruiters.default.yml
new file mode 100644
index 0000000..bf89bbc
--- /dev/null
+++ b/modules/kalpesh/recruiters/config/install/core.entity_form_display.node.recruiters.default.yml
@@ -0,0 +1,102 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.recruiters.body
+ - field.field.node.recruiters.field_company_image
+ - field.field.node.recruiters.field_link
+ - image.style.thumbnail
+ - node.type.recruiters
+ module:
+ - image
+ - link
+ - path
+ - text
+id: node.recruiters.default
+targetEntityType: node
+bundle: recruiters
+mode: default
+content:
+ body:
+ type: text_textarea_with_summary
+ weight: 10
+ settings:
+ rows: 9
+ summary_rows: 3
+ placeholder: ''
+ third_party_settings: { }
+ region: content
+ created:
+ type: datetime_timestamp
+ weight: 5
+ region: content
+ settings: { }
+ third_party_settings: { }
+ field_company_image:
+ weight: 2
+ settings:
+ progress_indicator: throbber
+ preview_image_style: thumbnail
+ third_party_settings: { }
+ type: image_image
+ region: content
+ field_link:
+ weight: 11
+ settings:
+ placeholder_url: ''
+ placeholder_title: ''
+ third_party_settings: { }
+ type: link_default
+ region: content
+ langcode:
+ type: language_select
+ weight: 3
+ region: content
+ settings:
+ include_locked: true
+ third_party_settings: { }
+ path:
+ type: path
+ weight: 8
+ region: content
+ settings: { }
+ third_party_settings: { }
+ promote:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 6
+ region: content
+ third_party_settings: { }
+ status:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 9
+ region: content
+ third_party_settings: { }
+ sticky:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 7
+ region: content
+ third_party_settings: { }
+ title:
+ type: string_textfield
+ weight: 1
+ region: content
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ uid:
+ type: entity_reference_autocomplete
+ weight: 4
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ region: content
+ third_party_settings: { }
+hidden: { } \ No newline at end of file
diff --git a/modules/kalpesh/recruiters/config/install/core.entity_view_display.node.recruiters.default.yml b/modules/kalpesh/recruiters/config/install/core.entity_view_display.node.recruiters.default.yml
new file mode 100644
index 0000000..1c37512
--- /dev/null
+++ b/modules/kalpesh/recruiters/config/install/core.entity_view_display.node.recruiters.default.yml
@@ -0,0 +1,159 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.recruiters.body
+ - field.field.node.recruiters.field_company_image
+ - field.field.node.recruiters.field_link
+ - image.style.recruiters_image_style_325_325
+ - node.type.recruiters
+ module:
+ - ds
+ - image
+ - link
+ - 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:
+ - field_company_image
+ - body
+ - field_link
+id: node.recruiters.default
+targetEntityType: node
+bundle: recruiters
+mode: default
+content:
+ body:
+ label: hidden
+ type: text_default
+ weight: 3
+ settings: { }
+ third_party_settings:
+ ds:
+ ft:
+ id: expert
+ settings:
+ lb: ''
+ prefix: ''
+ lbw-el: ''
+ lbw-cl: ''
+ lbw-at: ''
+ ow: true
+ ow-el: 'div '
+ ow-cl: 'col-sm-11 '
+ ow-at: ''
+ fis-el: div
+ fis-cl: ''
+ fis-at: ''
+ fi-el: ''
+ fi-cl: ''
+ fi-at: ''
+ suffix: ''
+ lbw: false
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi: false
+ fi-def-at: false
+ region: ds_content
+ field_company_image:
+ weight: 1
+ label: hidden
+ settings:
+ image_style: recruiters_image_style_325_325
+ image_link: ''
+ third_party_settings:
+ ds:
+ ds_limit: ''
+ ft:
+ id: expert
+ settings:
+ lb: Logo
+ prefix: ''
+ lbw: true
+ lbw-el: div
+ lbw-cl: 'col-sm-2 fw-bold mt-10'
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: mb-10
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: 'col-sm-10 mt-10'
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi-def-at: false
+ type: image
+ region: ds_content
+ field_link:
+ weight: 5
+ label: inline
+ settings:
+ trim_length: 80
+ url_only: false
+ url_plain: false
+ rel: '0'
+ target: '0'
+ third_party_settings:
+ ds:
+ ds_limit: ''
+ ft:
+ id: expert
+ settings:
+ lb: 'Company official site'
+ prefix: ''
+ lbw: true
+ lbw-el: div
+ lbw-cl: 'col-sm-3 fw-bold mt-10'
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: mt-5
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi: true
+ fi-el: 'div '
+ fi-cl: 'col-sm-8 mt-10'
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi-def-at: false
+ type: link
+ region: ds_content
+hidden:
+ langcode: true
+ links: true
diff --git a/modules/kalpesh/recruiters/config/install/core.entity_view_display.node.recruiters.teaser.yml b/modules/kalpesh/recruiters/config/install/core.entity_view_display.node.recruiters.teaser.yml
new file mode 100644
index 0000000..dc72d45
--- /dev/null
+++ b/modules/kalpesh/recruiters/config/install/core.entity_view_display.node.recruiters.teaser.yml
@@ -0,0 +1,33 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.recruiters.body
+ - node.type.recruiters
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - recruiters
+id: node.recruiters.teaser
+targetEntityType: node
+bundle: recruiters
+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/recruiters/config/install/field.field.node.recruiters.body.yml b/modules/kalpesh/recruiters/config/install/field.field.node.recruiters.body.yml
new file mode 100644
index 0000000..417841a
--- /dev/null
+++ b/modules/kalpesh/recruiters/config/install/field.field.node.recruiters.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.recruiters
+ module:
+ - text
+ enforced:
+ module:
+ - recruiters
+id: node.recruiters.body
+field_name: body
+entity_type: node
+bundle: recruiters
+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/recruiters/config/install/field.field.node.recruiters.field_company_image.yml b/modules/kalpesh/recruiters/config/install/field.field.node.recruiters.field_company_image.yml
new file mode 100644
index 0000000..8f78c2d
--- /dev/null
+++ b/modules/kalpesh/recruiters/config/install/field.field.node.recruiters.field_company_image.yml
@@ -0,0 +1,40 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_company_image
+ - node.type.recruiters
+ module:
+ - image
+ enforced:
+ module:
+ - recruiters
+id: node.recruiters.field_company_image
+field_name: field_company_image
+entity_type: node
+bundle: recruiters
+label: 'Company logo'
+description: 'Images of company ,activities'
+required: true
+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: 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/recruiters/config/install/field.field.node.recruiters.field_link.yml b/modules/kalpesh/recruiters/config/install/field.field.node.recruiters.field_link.yml
new file mode 100644
index 0000000..0d7d550
--- /dev/null
+++ b/modules/kalpesh/recruiters/config/install/field.field.node.recruiters.field_link.yml
@@ -0,0 +1,25 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_link
+ - node.type.recruiters
+ module:
+ - link
+ enforced:
+ module:
+ - recruiters
+id: node.recruiters.field_link
+field_name: field_link
+entity_type: node
+bundle: recruiters
+label: Link
+description: 'Link of company'
+required: true
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ link_type: 17
+ title: 1
+field_type: link
diff --git a/modules/kalpesh/recruiters/config/install/field.storage.node.field_company_image.yml b/modules/kalpesh/recruiters/config/install/field.storage.node.field_company_image.yml
new file mode 100644
index 0000000..81c2f3d
--- /dev/null
+++ b/modules/kalpesh/recruiters/config/install/field.storage.node.field_company_image.yml
@@ -0,0 +1,32 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - image
+ - node
+ enforced:
+ module:
+ - recruiters
+id: node.field_company_image
+field_name: field_company_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: -1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/kalpesh/recruiters/config/install/field.storage.node.field_link.yml b/modules/kalpesh/recruiters/config/install/field.storage.node.field_link.yml
new file mode 100644
index 0000000..85f3875
--- /dev/null
+++ b/modules/kalpesh/recruiters/config/install/field.storage.node.field_link.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - link
+ - node
+ enforced:
+ module:
+ - recruiters
+id: node.field_link
+field_name: field_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/kalpesh/recruiters/config/install/image.style.recruiters_image_style_325_325.yml b/modules/kalpesh/recruiters/config/install/image.style.recruiters_image_style_325_325.yml
new file mode 100644
index 0000000..da59964
--- /dev/null
+++ b/modules/kalpesh/recruiters/config/install/image.style.recruiters_image_style_325_325.yml
@@ -0,0 +1,14 @@
+langcode: en
+status: true
+dependencies: { }
+name: recruiters_image_style_325_325
+label: 'Recruiters Image style 325*325'
+effects:
+ 9c2f048c-9992-4c3a-a1f9-c7953b2cf854:
+ uuid: 9c2f048c-9992-4c3a-a1f9-c7953b2cf854
+ id: image_scale
+ weight: 1
+ data:
+ width: 325
+ height: 325
+ upscale: false
diff --git a/modules/kalpesh/recruiters/config/install/node.type.recruiters.yml b/modules/kalpesh/recruiters/config/install/node.type.recruiters.yml
new file mode 100644
index 0000000..edceab8
--- /dev/null
+++ b/modules/kalpesh/recruiters/config/install/node.type.recruiters.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - recruiters
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: Recruiters
+type: recruiters
+description: 'Companies details which come for placements'
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: true
diff --git a/modules/kalpesh/recruiters/config/install/responsive_image.styles.recruiters_image_style.yml b/modules/kalpesh/recruiters/config/install/responsive_image.styles.recruiters_image_style.yml
new file mode 100644
index 0000000..aa5eaf7
--- /dev/null
+++ b/modules/kalpesh/recruiters/config/install/responsive_image.styles.recruiters_image_style.yml
@@ -0,0 +1,19 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - image.style.max_325x325
+ - image.style.recruiters_image_style_325_325
+id: recruiters_image_style
+label: 'Recruiters Image style'
+image_style_mappings:
+ -
+ breakpoint_id: responsive_image.viewport_sizing
+ multiplier: 1x
+ image_mapping_type: sizes
+ image_mapping:
+ sizes: 100vw
+ sizes_image_styles:
+ - recruiters_image_style_325_325
+breakpoint_group: responsive_image
+fallback_image_style: max_325x325
diff --git a/modules/kalpesh/recruiters/config/install/views.view.major_recruiters_.yml b/modules/kalpesh/recruiters/config/install/views.view.major_recruiters_.yml
new file mode 100644
index 0000000..219210e
--- /dev/null
+++ b/modules/kalpesh/recruiters/config/install/views.view.major_recruiters_.yml
@@ -0,0 +1,258 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_company_image
+ - node.type.recruiters
+ - responsive_image.styles.recruiters_image_style
+ - system.menu.main
+ module:
+ - node
+ - responsive_image
+ - slick_views
+ - user
+id: major_recruiters_
+label: 'Major Recruiters '
+module: views
+description: 'companies which come for placements'
+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: slick
+ options:
+ vanilla: true
+ optionset: default
+ skin: ''
+ layout: ''
+ caption:
+ field_company_image: '0'
+ optionset_thumbnail: ''
+ skin_thumbnail: ''
+ thumbnail_position: ''
+ grid_header: ''
+ grid: 3
+ grid_medium: 3
+ grid_small: 2
+ visible_items: 3
+ preserve_keys: false
+ image: ''
+ thumbnail: ''
+ overlay: ''
+ title: ''
+ link: ''
+ class: ''
+ id: ''
+ override: true
+ overridables:
+ arrows: arrows
+ autoplay: autoplay
+ infinite: infinite
+ dots: '0'
+ draggable: '0'
+ mouseWheel: '0'
+ randomize: '0'
+ variableWidth: '0'
+ cache: 0
+ current_view_mode: page_1
+ thumbnail_effect: hover
+ row:
+ type: fields
+ options:
+ default_field_elements: true
+ inline: { }
+ separator: ''
+ hide_empty: false
+ fields:
+ field_company_image:
+ id: field_company_image
+ table: node__field_company_image
+ field: field_company_image
+ 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: target_id
+ type: responsive_image
+ settings:
+ responsive_image_style: recruiters_image_style
+ image_link: content
+ group_column: ''
+ 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:
+ recruiters: recruiters
+ 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: 'Major Recruiters '
+ 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:
+ - 'config:field.storage.node.field_company_image'
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: major-recruiters-
+ menu:
+ type: normal
+ title: 'Major Recruiters '
+ menu_name: main
+ weight: -43
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.field_company_image'
diff --git a/modules/kalpesh/recruiters/recruiters.info.yml b/modules/kalpesh/recruiters/recruiters.info.yml
new file mode 100644
index 0000000..fa91464
--- /dev/null
+++ b/modules/kalpesh/recruiters/recruiters.info.yml
@@ -0,0 +1,18 @@
+name: Recruiters
+type: module
+description: 'This module store details of companies'
+core: 8.x
+package: Custom
+dependencies:
+ - drupal:menu_ui
+ - drupal:image
+ - drupal:link
+ - drupal:path
+ - drupal:text
+ - ds:ds
+ - drupal:node
+ - drupal:user
+ - drupal:file
+ - slick_views:slick_views
+
+
diff --git a/modules/kalpesh/recruiters/recruiters.install b/modules/kalpesh/recruiters/recruiters.install
new file mode 100644
index 0000000..06b49ac
--- /dev/null
+++ b/modules/kalpesh/recruiters/recruiters.install
@@ -0,0 +1,26 @@
+
+<?php
+/**
+* Implements hook_uninstall().
+*/
+function recruiters_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', 'recruiters');
+ $nids = $query->execute();
+
+
+
+ // Delete entities.
+ if (!empty($nids)) {
+ $entities = $nodeStorage->loadMultiple($nids);
+ $nodeStorage->delete($entities);
+ }
+}
diff --git a/modules/kalpesh/recruiters/recruiters.module b/modules/kalpesh/recruiters/recruiters.module
new file mode 100644
index 0000000..b438440
--- /dev/null
+++ b/modules/kalpesh/recruiters/recruiters.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains recruiters.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function recruiters_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the recruiters module.
+ case 'help.page.recruiters':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('This module store details of companies') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function recruiters_theme() {
+ return [
+ 'recruiters' => [
+ 'render element' => 'children',
+ ],
+ ];
+}
diff --git a/modules/kalpesh/recruiters/templates/recruiters.html.twig b/modules/kalpesh/recruiters/templates/recruiters.html.twig
new file mode 100644
index 0000000..95722bd
--- /dev/null
+++ b/modules/kalpesh/recruiters/templates/recruiters.html.twig
@@ -0,0 +1 @@
+<!-- Add you custom twig html here -->
diff --git a/modules/kalpesh/recruiters/tests/src/Functional/LoadTest.php b/modules/kalpesh/recruiters/tests/src/Functional/LoadTest.php
new file mode 100644
index 0000000..9764cfb
--- /dev/null
+++ b/modules/kalpesh/recruiters/tests/src/Functional/LoadTest.php
@@ -0,0 +1,46 @@
+<?php
+
+namespace Drupal\Tests\recruiters\Functional;
+
+use Drupal\Core\Url;
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Simple test to ensure that main page loads with module enabled.
+ *
+ * @group recruiters
+ */
+class LoadTest extends BrowserTestBase {
+
+ /**
+ * Modules to enable.
+ *
+ * @var array
+ */
+ public static $modules = ['recruiters'];
+
+ /**
+ * 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);
+ }
+
+}
diff --git a/modules/kalpesh/research_area1_/composer.json b/modules/kalpesh/research_area1_/composer.json
new file mode 100644
index 0000000..c4858f4
--- /dev/null
+++ b/modules/kalpesh/research_area1_/composer.json
@@ -0,0 +1,13 @@
+{
+ "name": "research_area1_",
+ "type": "drupal-module",
+ "description": "My Awesome Module",
+ "keywords": [
+ ],
+ "homepage": "https://www.drupal.org/project/research_area1_",
+ "minimum-stability": "dev",
+ "support": {
+ "issues": "https://www.drupal.org/project/issues/research_area1_",
+ "source": "http://cgit.drupalcode.org/research_area1_",
+ },
+}
diff --git a/modules/kalpesh/research_area1_/config/install/core.base_field_override.node.research_area1_.promote.yml b/modules/kalpesh/research_area1_/config/install/core.base_field_override.node.research_area1_.promote.yml
new file mode 100644
index 0000000..f98be1d
--- /dev/null
+++ b/modules/kalpesh/research_area1_/config/install/core.base_field_override.node.research_area1_.promote.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.research_area1_
+ enforced:
+ module:
+ - research_area1_
+id: node.research_area1_.promote
+field_name: promote
+entity_type: node
+bundle: research_area1_
+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/research_area1_/config/install/core.entity_form_display.node.research_area1_.default.yml b/modules/kalpesh/research_area1_/config/install/core.entity_form_display.node.research_area1_.default.yml
new file mode 100644
index 0000000..6c0ceb8
--- /dev/null
+++ b/modules/kalpesh/research_area1_/config/install/core.entity_form_display.node.research_area1_.default.yml
@@ -0,0 +1,119 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.research_area1_.body
+ - field.field.node.research_area1_.field_image_research_area
+ - field.field.node.research_area1_.field_members
+ - field.field.node.research_area1_.field_publication_research_area
+ - image.style.image_h_400_w_600_
+ - node.type.research_area1_
+ module:
+ - image
+ - paragraphs
+ - path
+ - text
+ enforced:
+ module:
+ - research_area1_
+id: node.research_area1_.default
+targetEntityType: node
+bundle: research_area1_
+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_image_research_area:
+ weight: 122
+ settings:
+ preview_image_style: image_h_400_w_600_
+ progress_indicator: throbber
+ third_party_settings: { }
+ type: image_image
+ region: content
+ field_members:
+ weight: 125
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: entity_reference_autocomplete
+ region: content
+ field_publication_research_area:
+ type: entity_reference_paragraphs
+ weight: 124
+ settings:
+ title: Paragraph
+ title_plural: Paragraphs
+ edit_mode: open
+ add_mode: dropdown
+ form_display_mode: default
+ default_paragraph_type: ''
+ third_party_settings: { }
+ 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/kalpesh/research_area1_/config/install/core.entity_view_display.node.research_area1_.default.yml b/modules/kalpesh/research_area1_/config/install/core.entity_view_display.node.research_area1_.default.yml
new file mode 100644
index 0000000..ae7e7ff
--- /dev/null
+++ b/modules/kalpesh/research_area1_/config/install/core.entity_view_display.node.research_area1_.default.yml
@@ -0,0 +1,267 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.research_area1_.body
+ - field.field.node.research_area1_.field_image_research_area
+ - field.field.node.research_area1_.field_members
+ - field.field.node.research_area1_.field_publication_research_area
+ - node.type.research_area1_
+ module:
+ - ds
+ - entity_reference_revisions
+ - slick
+ - text
+ - user
+ enforced:
+ module:
+ - research_area1_
+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_image_research_area
+ - body
+ - field_members
+ - field_publication_research_area
+id: node.research_area1_.default
+targetEntityType: node
+bundle: research_area1_
+mode: default
+content:
+ body:
+ label: hidden
+ type: text_default
+ weight: 2
+ settings: { }
+ third_party_settings:
+ ds:
+ ft:
+ id: expert
+ settings:
+ lb: ''
+ prefix: ''
+ lbw-el: ''
+ lbw-cl: ''
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: col-sm-12
+ ow-at: ''
+ fis-el: ''
+ fis-cl: ''
+ fis-at: ''
+ fi-el: ''
+ fi-cl: ''
+ fi-at: ''
+ suffix: ''
+ lbw: false
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi: false
+ fi-def-at: false
+ region: ds_content
+ field_image_research_area:
+ weight: 1
+ label: hidden
+ settings:
+ style: ''
+ optionset: node_img_slider
+ optionset_thumbnail: ''
+ skin: default
+ skin_thumbnail: ''
+ image_style: image_h_400_w_600_
+ thumbnail_style: ''
+ responsive_image_style: ''
+ thumbnail_effect: ''
+ thumbnail_position: ''
+ media_switch: ''
+ ratio: ''
+ grid: null
+ grid_medium: null
+ grid_small: null
+ visible_items: null
+ layout: ''
+ thumbnail_caption: ''
+ cache: 0
+ sizes: ''
+ breakpoints:
+ xs:
+ image_style: ''
+ width: ''
+ breakpoint: ''
+ sm:
+ image_style: ''
+ width: ''
+ breakpoint: ''
+ md:
+ image_style: ''
+ width: ''
+ breakpoint: ''
+ lg:
+ image_style: ''
+ width: ''
+ breakpoint: ''
+ xl:
+ image_style: ''
+ width: ''
+ breakpoint: ''
+ current_view_mode: default
+ background: false
+ caption:
+ title: '0'
+ alt: '0'
+ grid_header: ''
+ preserve_keys: false
+ override: false
+ overridables:
+ arrows: '0'
+ autoplay: '0'
+ dots: '0'
+ draggable: '0'
+ infinite: '0'
+ mouseWheel: '0'
+ randomize: '0'
+ variableWidth: '0'
+ skin_arrows: ''
+ skin_dots: ''
+ iframe_lazy: true
+ icon: ''
+ view_mode: ''
+ box_caption: ''
+ box_caption_custom: ''
+ box_style: ''
+ box_media_style: ''
+ third_party_settings:
+ ds:
+ ds_limit: ''
+ ft:
+ id: expert
+ settings:
+ lb: ''
+ prefix: ''
+ lbw-el: ''
+ lbw-cl: ''
+ lbw-at: ''
+ ow-el: div
+ ow-cl: ''
+ ow-at: 'style="margin:auto"'
+ 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: slick_image
+ region: ds_content
+ field_members:
+ weight: 3
+ label: inline
+ settings:
+ link: true
+ third_party_settings:
+ ds:
+ ds_limit: ''
+ ft:
+ id: expert
+ settings:
+ lb: ''
+ prefix: ''
+ lbw: true
+ lbw-el: div
+ lbw-cl: 'col-sm-2 fw-bold mt-10 mb-10'
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: row
+ ow-at: ''
+ fis: true
+ fis-el: div
+ fis-cl: 'col-sm-10 '
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: 'col-sm-10 mt-10 mb-10 mt-10'
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis-def-at: false
+ fi-def-at: false
+ type: entity_reference_label
+ region: ds_content
+ field_publication_research_area:
+ type: entity_reference_revisions_entity_view
+ weight: 4
+ label: inline
+ settings:
+ view_mode: default
+ link: ''
+ third_party_settings:
+ ds:
+ ds_limit: ''
+ ft:
+ id: expert
+ settings:
+ lb: ''
+ prefix: ''
+ lbw: true
+ lbw-el: div
+ lbw-cl: 'col-sm-12 fw-bold text-center'
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: 'row '
+ ow-at: ''
+ fis-el: div
+ fis-cl: ' col-sm-5 mt-10 mb-10'
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: 'col-sm-6 mt-10 mb-10'
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis: false
+ fis-def-at: false
+ fi-def-at: false
+ region: ds_content
+ links:
+ weight: 0
+ region: ds_content
+ settings: { }
+ third_party_settings: { }
+hidden:
+ langcode: true
diff --git a/modules/kalpesh/research_area1_/config/install/core.entity_view_display.node.research_area1_.teaser.yml b/modules/kalpesh/research_area1_/config/install/core.entity_view_display.node.research_area1_.teaser.yml
new file mode 100644
index 0000000..d75619b
--- /dev/null
+++ b/modules/kalpesh/research_area1_/config/install/core.entity_view_display.node.research_area1_.teaser.yml
@@ -0,0 +1,33 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.research_area1_.body
+ - node.type.research_area1_
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - research_area1_
+id: node.research_area1_.teaser
+targetEntityType: node
+bundle: research_area1_
+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/research_area1_/config/install/field.field.node.research_area1_.body.yml b/modules/kalpesh/research_area1_/config/install/field.field.node.research_area1_.body.yml
new file mode 100644
index 0000000..19e8d8e
--- /dev/null
+++ b/modules/kalpesh/research_area1_/config/install/field.field.node.research_area1_.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.research_area1_
+ module:
+ - text
+ enforced:
+ module:
+ - research_area1_
+id: node.research_area1_.body
+field_name: body
+entity_type: node
+bundle: research_area1_
+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/research_area1_/config/install/field.field.node.research_area1_.field_image_research_area.yml b/modules/kalpesh/research_area1_/config/install/field.field.node.research_area1_.field_image_research_area.yml
new file mode 100644
index 0000000..db2b50c
--- /dev/null
+++ b/modules/kalpesh/research_area1_/config/install/field.field.node.research_area1_.field_image_research_area.yml
@@ -0,0 +1,40 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_image_research_area
+ - node.type.research_area1_
+ module:
+ - image
+ enforced:
+ module:
+ - research_area1_
+id: node.research_area1_.field_image_research_area
+field_name: field_image_research_area
+entity_type: node
+bundle: research_area1_
+label: Image
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ file_directory: research
+ 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/research_area1_/config/install/field.field.node.research_area1_.field_members.yml b/modules/kalpesh/research_area1_/config/install/field.field.node.research_area1_.field_members.yml
new file mode 100644
index 0000000..0964cc7
--- /dev/null
+++ b/modules/kalpesh/research_area1_/config/install/field.field.node.research_area1_.field_members.yml
@@ -0,0 +1,31 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_members
+ - node.type.members
+ - node.type.research_area1_
+ enforced:
+ module:
+ - research_area1_
+id: node.research_area1_.field_members
+field_name: field_members
+entity_type: node
+bundle: research_area1_
+label: Members
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:node'
+ handler_settings:
+ target_bundles:
+ members: members
+ research_area1_: research_area1_
+ sort:
+ field: _none
+ auto_create: false
+ auto_create_bundle: members
+field_type: entity_reference
diff --git a/modules/kalpesh/research_area1_/config/install/field.field.node.research_area1_.field_publication_research_area.yml b/modules/kalpesh/research_area1_/config/install/field.field.node.research_area1_.field_publication_research_area.yml
new file mode 100644
index 0000000..5a404fb
--- /dev/null
+++ b/modules/kalpesh/research_area1_/config/install/field.field.node.research_area1_.field_publication_research_area.yml
@@ -0,0 +1,33 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_publication_research_area
+ - node.type.research_area1_
+ - paragraphs.paragraphs_type.publication
+ module:
+ - entity_reference_revisions
+ enforced:
+ module:
+ - research_area1_
+id: node.research_area1_.field_publication_research_area
+field_name: field_publication_research_area
+entity_type: node
+bundle: research_area1_
+label: Publication
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:paragraph'
+ handler_settings:
+ negate: 0
+ target_bundles:
+ publication: publication
+ target_bundles_drag_drop:
+ publication:
+ enabled: true
+ weight: 2
+field_type: entity_reference_revisions
diff --git a/modules/kalpesh/research_area1_/config/install/field.storage.node.field_image_research_area.yml b/modules/kalpesh/research_area1_/config/install/field.storage.node.field_image_research_area.yml
new file mode 100644
index 0000000..dfe6ad4
--- /dev/null
+++ b/modules/kalpesh/research_area1_/config/install/field.storage.node.field_image_research_area.yml
@@ -0,0 +1,32 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - image
+ - node
+ enforced:
+ module:
+ - research_area1_
+id: node.field_image_research_area
+field_name: field_image_research_area
+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/research_area1_/config/install/field.storage.node.field_members.yml b/modules/kalpesh/research_area1_/config/install/field.storage.node.field_members.yml
new file mode 100644
index 0000000..2e694b6
--- /dev/null
+++ b/modules/kalpesh/research_area1_/config/install/field.storage.node.field_members.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - research_area1_
+id: node.field_members
+field_name: field_members
+entity_type: node
+type: entity_reference
+settings:
+ target_type: node
+module: core
+locked: false
+cardinality: -1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/kalpesh/research_area1_/config/install/field.storage.node.field_publication_research_area.yml b/modules/kalpesh/research_area1_/config/install/field.storage.node.field_publication_research_area.yml
new file mode 100644
index 0000000..9ac5fec
--- /dev/null
+++ b/modules/kalpesh/research_area1_/config/install/field.storage.node.field_publication_research_area.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - entity_reference_revisions
+ - node
+ - paragraphs
+ enforced:
+ module:
+ - research_area1_
+id: node.field_publication_research_area
+field_name: field_publication_research_area
+entity_type: node
+type: entity_reference_revisions
+settings:
+ target_type: paragraph
+module: entity_reference_revisions
+locked: false
+cardinality: -1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/kalpesh/research_area1_/config/install/image.style.group_research_area_image.yml b/modules/kalpesh/research_area1_/config/install/image.style.group_research_area_image.yml
new file mode 100644
index 0000000..b4c0f1f
--- /dev/null
+++ b/modules/kalpesh/research_area1_/config/install/image.style.group_research_area_image.yml
@@ -0,0 +1,14 @@
+langcode: en
+status: true
+dependencies: { }
+name: group_research_area_image
+label: 'Group Research area image'
+effects:
+ 366cac20-7b38-410e-b508-129e23608539:
+ uuid: 366cac20-7b38-410e-b508-129e23608539
+ id: image_scale_and_crop
+ weight: 1
+ data:
+ width: 400
+ height: 300
+ anchor: center-center
diff --git a/modules/kalpesh/research_area1_/config/install/image.style.image_h_400_w_600_.yml b/modules/kalpesh/research_area1_/config/install/image.style.image_h_400_w_600_.yml
new file mode 100644
index 0000000..a2b3484
--- /dev/null
+++ b/modules/kalpesh/research_area1_/config/install/image.style.image_h_400_w_600_.yml
@@ -0,0 +1,14 @@
+langcode: en
+status: true
+dependencies: { }
+name: image_h_400_w_600_
+label: 'image h:400 * w:600 '
+effects:
+ b6e987e1-7974-4e21-9f6f-df8cb3a8b21f:
+ uuid: b6e987e1-7974-4e21-9f6f-df8cb3a8b21f
+ id: image_scale_and_crop
+ weight: 1
+ data:
+ width: 600
+ height: 400
+ anchor: center-center
diff --git a/modules/kalpesh/research_area1_/config/install/node.type.research_area1_.yml b/modules/kalpesh/research_area1_/config/install/node.type.research_area1_.yml
new file mode 100644
index 0000000..5ca91d5
--- /dev/null
+++ b/modules/kalpesh/research_area1_/config/install/node.type.research_area1_.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - research_area1_
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: 'Research Area'
+type: research_area1_
+description: ''
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: true
diff --git a/modules/kalpesh/research_area1_/config/install/paragraphs.paragraphs_type.publication.yml b/modules/kalpesh/research_area1_/config/install/paragraphs.paragraphs_type.publication.yml
new file mode 100644
index 0000000..cbf517e
--- /dev/null
+++ b/modules/kalpesh/research_area1_/config/install/paragraphs.paragraphs_type.publication.yml
@@ -0,0 +1,11 @@
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - research_area1_
+id: publication
+label: Publication
+icon_uuid: null
+description: ''
+behavior_plugins: { }
diff --git a/modules/kalpesh/research_area1_/config/install/views.view.research_area.yml b/modules/kalpesh/research_area1_/config/install/views.view.research_area.yml
new file mode 100644
index 0000000..1162b54
--- /dev/null
+++ b/modules/kalpesh/research_area1_/config/install/views.view.research_area.yml
@@ -0,0 +1,416 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - field.storage.node.field_image_research_area
+ - image.style.group_research_area_image
+ - node.type.research_area1_
+ - system.menu.main
+ module:
+ - image
+ - node
+ - text
+ - user
+ enforced:
+ module:
+ - research_area1_
+id: research_area
+label: 'Research Area'
+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: default
+ options:
+ grouping: { }
+ row_class: mb-30
+ default_row_class: true
+ row:
+ type: fields
+ options:
+ default_field_elements: true
+ inline: { }
+ separator: ''
+ hide_empty: false
+ fields:
+ field_image_research_area:
+ id: field_image_research_area
+ table: node__field_image_research_area
+ field: field_image_research_area
+ 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: target_id
+ type: image
+ settings:
+ image_style: group_research_area_image
+ image_link: content
+ group_column: ''
+ group_columns: { }
+ group_rows: true
+ delta_limit: 1
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ plugin_id: field
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ 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: false
+ ellipsis: false
+ more_link: false
+ more_link_text: ''
+ more_link_path: ''
+ strip_tags: false
+ trim: false
+ preserve_tags: ''
+ html: false
+ element_type: h4
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: false
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: false
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ settings:
+ link_to_entity: true
+ 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
+ entity_type: node
+ entity_field: title
+ plugin_id: field
+ 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: mb-20
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: false
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: false
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: summary
+ type: text_trimmed
+ settings:
+ trim_length: 500
+ 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
+ view_node:
+ id: view_node
+ table: node
+ field: view_node
+ 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: btn
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: false
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: false
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ text: 'read more'
+ output_url_as_text: false
+ absolute: false
+ entity_type: node
+ plugin_id: entity_link
+ 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:
+ research_area1_: research_area1_
+ 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: 'Research Area'
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ css_class: ''
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.body'
+ - 'config:field.storage.node.field_image_research_area'
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: research-area
+ menu:
+ type: normal
+ title: 'Research Area'
+ menu_name: main
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.body'
+ - 'config:field.storage.node.field_image_research_area'
diff --git a/modules/kalpesh/research_area1_/research_area1_.info.yml b/modules/kalpesh/research_area1_/research_area1_.info.yml
new file mode 100644
index 0000000..13e65d4
--- /dev/null
+++ b/modules/kalpesh/research_area1_/research_area1_.info.yml
@@ -0,0 +1,18 @@
+name: research_group
+type: module
+description: 'My Awesome Module'
+core: 8.x
+package: Custom
+dependencies:
+ - drupal:menu_ui
+ - drupal:user
+ - drupal:node
+ - drupal:image
+ - paragraphs:paragraphs
+ - drupal:path
+ - drupal:text
+ - ds:ds
+ - entity_reference_revisions:entity_reference_revisions
+ - slick:slick
+ - drupal:file
+
diff --git a/modules/kalpesh/research_area1_/research_area1_.install b/modules/kalpesh/research_area1_/research_area1_.install
new file mode 100644
index 0000000..65b64ff
--- /dev/null
+++ b/modules/kalpesh/research_area1_/research_area1_.install
@@ -0,0 +1,26 @@
+
+<?php
+/**
+* Implements hook_uninstall().
+*/
+function research_area1__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', 'research_area1_');
+ $nids = $query->execute();
+
+
+
+ // Delete entities.
+ if (!empty($nids)) {
+ $entities = $nodeStorage->loadMultiple($nids);
+ $nodeStorage->delete($entities);
+ }
+}
diff --git a/modules/kalpesh/research_area1_/research_area1_.module b/modules/kalpesh/research_area1_/research_area1_.module
new file mode 100644
index 0000000..17b1175
--- /dev/null
+++ b/modules/kalpesh/research_area1_/research_area1_.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains research_area1_.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function research_area1__help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the research_area1_ module.
+ case 'help.page.research_area1_':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('My Awesome Module') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function research_area1__theme() {
+ return [
+ 'research_area1_' => [
+ 'render element' => 'children',
+ ],
+ ];
+}
diff --git a/modules/kalpesh/research_area1_/templates/research-area1-.html.twig b/modules/kalpesh/research_area1_/templates/research-area1-.html.twig
new file mode 100644
index 0000000..95722bd
--- /dev/null
+++ b/modules/kalpesh/research_area1_/templates/research-area1-.html.twig
@@ -0,0 +1 @@
+<!-- Add you custom twig html here -->
diff --git a/modules/kalpesh/research_area1_/tests/src/Functional/LoadTest.php b/modules/kalpesh/research_area1_/tests/src/Functional/LoadTest.php
new file mode 100644
index 0000000..b68de6f
--- /dev/null
+++ b/modules/kalpesh/research_area1_/tests/src/Functional/LoadTest.php
@@ -0,0 +1,46 @@
+<?php
+
+namespace Drupal\Tests\research_area1_\Functional;
+
+use Drupal\Core\Url;
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Simple test to ensure that main page loads with module enabled.
+ *
+ * @group research_area1_
+ */
+class LoadTest extends BrowserTestBase {
+
+ /**
+ * Modules to enable.
+ *
+ * @var array
+ */
+ public static $modules = ['research_area1_'];
+
+ /**
+ * 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);
+ }
+
+}
diff --git a/modules/kalpesh/syllbus/composer.json b/modules/kalpesh/syllbus/composer.json
new file mode 100644
index 0000000..f7fc777
--- /dev/null
+++ b/modules/kalpesh/syllbus/composer.json
@@ -0,0 +1,13 @@
+{
+ "name": "syllbus",
+ "type": "drupal-module",
+ "description": "This module is store the university syllbus",
+ "keywords": [
+ ],
+ "homepage": "https://www.drupal.org/project/syllbus",
+ "minimum-stability": "dev",
+ "support": {
+ "issues": "https://www.drupal.org/project/issues/syllbus",
+ "source": "http://cgit.drupalcode.org/syllbus",
+ },
+}
diff --git a/modules/kalpesh/syllbus/config/install/core.base_field_override.node.syllbus.promote.yml b/modules/kalpesh/syllbus/config/install/core.base_field_override.node.syllbus.promote.yml
new file mode 100644
index 0000000..5ef1af3
--- /dev/null
+++ b/modules/kalpesh/syllbus/config/install/core.base_field_override.node.syllbus.promote.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.syllbus
+ enforced:
+ module:
+ - syllbus
+id: node.syllbus.promote
+field_name: promote
+entity_type: node
+bundle: syllbus
+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/syllbus/config/install/core.base_field_override.node.syllbus.title.yml b/modules/kalpesh/syllbus/config/install/core.base_field_override.node.syllbus.title.yml
new file mode 100644
index 0000000..d5c2c45
--- /dev/null
+++ b/modules/kalpesh/syllbus/config/install/core.base_field_override.node.syllbus.title.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.syllbus
+ enforced:
+ module:
+ - syllbus
+id: node.syllbus.title
+field_name: title
+entity_type: node
+bundle: syllbus
+label: Syllbus
+description: ''
+required: true
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/kalpesh/syllbus/config/install/core.entity_form_display.node.syllbus.default.yml b/modules/kalpesh/syllbus/config/install/core.entity_form_display.node.syllbus.default.yml
new file mode 100644
index 0000000..5a07108
--- /dev/null
+++ b/modules/kalpesh/syllbus/config/install/core.entity_form_display.node.syllbus.default.yml
@@ -0,0 +1,93 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.syllbus.body
+ - field.field.node.syllbus.field_pdf
+ - node.type.syllbus
+ module:
+ - file
+ - path
+ - text
+ enforced:
+ module:
+ - syllbus
+id: node.syllbus.default
+targetEntityType: node
+bundle: syllbus
+mode: default
+content:
+ body:
+ type: text_textarea_with_summary
+ weight: 11
+ settings:
+ rows: 9
+ summary_rows: 3
+ placeholder: ''
+ third_party_settings: { }
+ region: content
+ created:
+ type: datetime_timestamp
+ weight: 6
+ region: content
+ settings: { }
+ third_party_settings: { }
+ field_pdf:
+ weight: 26
+ settings:
+ progress_indicator: throbber
+ third_party_settings: { }
+ type: file_generic
+ region: content
+ langcode:
+ type: language_select
+ weight: 4
+ region: content
+ settings:
+ include_locked: true
+ third_party_settings: { }
+ path:
+ type: path
+ weight: 9
+ region: content
+ settings: { }
+ third_party_settings: { }
+ promote:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 7
+ region: content
+ third_party_settings: { }
+ status:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 10
+ region: content
+ third_party_settings: { }
+ sticky:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 8
+ region: content
+ third_party_settings: { }
+ title:
+ type: string_textfield
+ weight: 0
+ region: content
+ settings:
+ size: 60
+ placeholder: 'Enter year ex FE,SE,TE,BE etc '
+ 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/kalpesh/syllbus/config/install/core.entity_view_display.node.syllbus.default.yml b/modules/kalpesh/syllbus/config/install/core.entity_view_display.node.syllbus.default.yml
new file mode 100644
index 0000000..5b41b7c
--- /dev/null
+++ b/modules/kalpesh/syllbus/config/install/core.entity_view_display.node.syllbus.default.yml
@@ -0,0 +1,88 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.syllbus.body
+ - field.field.node.syllbus.field_pdf
+ - node.type.syllbus
+ module:
+ - ds
+ - file
+ - text
+ - user
+ enforced:
+ module:
+ - syllbus
+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:
+ - body
+ - field_pdf
+id: node.syllbus.default
+targetEntityType: node
+bundle: syllbus
+mode: default
+content:
+ body:
+ label: hidden
+ type: text_default
+ weight: 101
+ settings: { }
+ third_party_settings: { }
+ region: ds_content
+ field_pdf:
+ weight: 102
+ label: above
+ settings:
+ use_description_as_link_text: true
+ third_party_settings:
+ ds:
+ ds_limit: ''
+ ft:
+ id: expert
+ settings:
+ lb: 'PDF File'
+ prefix: ''
+ lbw: true
+ lbw-el: div
+ lbw-cl: 'col-sm-2 fw-bold mt-10'
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: mb-10
+ ow-at: ''
+ fis: true
+ fis-el: 'div '
+ fis-cl: col-sm-10
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: col-sm-10
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis-def-at: false
+ fi-def-at: false
+ type: file_default
+ region: ds_content
+hidden:
+ langcode: true
+ links: true
diff --git a/modules/kalpesh/syllbus/config/install/core.entity_view_display.node.syllbus.teaser.yml b/modules/kalpesh/syllbus/config/install/core.entity_view_display.node.syllbus.teaser.yml
new file mode 100644
index 0000000..399f96a
--- /dev/null
+++ b/modules/kalpesh/syllbus/config/install/core.entity_view_display.node.syllbus.teaser.yml
@@ -0,0 +1,33 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.syllbus.body
+ - node.type.syllbus
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - syllbus
+id: node.syllbus.teaser
+targetEntityType: node
+bundle: syllbus
+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/syllbus/config/install/field.field.node.syllbus.body.yml b/modules/kalpesh/syllbus/config/install/field.field.node.syllbus.body.yml
new file mode 100644
index 0000000..c5b8e52
--- /dev/null
+++ b/modules/kalpesh/syllbus/config/install/field.field.node.syllbus.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.syllbus
+ module:
+ - text
+ enforced:
+ module:
+ - syllbus
+id: node.syllbus.body
+field_name: body
+entity_type: node
+bundle: syllbus
+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/syllbus/config/install/field.field.node.syllbus.field_pdf.yml b/modules/kalpesh/syllbus/config/install/field.field.node.syllbus.field_pdf.yml
new file mode 100644
index 0000000..cf7f10b
--- /dev/null
+++ b/modules/kalpesh/syllbus/config/install/field.field.node.syllbus.field_pdf.yml
@@ -0,0 +1,29 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_pdf
+ - node.type.syllbus
+ module:
+ - file
+ enforced:
+ module:
+ - syllbus
+id: node.syllbus.field_pdf
+field_name: field_pdf
+entity_type: node
+bundle: syllbus
+label: PDF
+description: 'PDF of syllbus'
+required: true
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ file_directory: '[date:custom:Y]-[date:custom:m]'
+ file_extensions: pdf
+ max_filesize: '10 MB'
+ description_field: true
+ handler: 'default:file'
+ handler_settings: { }
+field_type: file
diff --git a/modules/kalpesh/syllbus/config/install/field.storage.node.field_pdf.yml b/modules/kalpesh/syllbus/config/install/field.storage.node.field_pdf.yml
new file mode 100644
index 0000000..0783902
--- /dev/null
+++ b/modules/kalpesh/syllbus/config/install/field.storage.node.field_pdf.yml
@@ -0,0 +1,25 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - node
+ enforced:
+ module:
+ - syllbus
+id: node.field_pdf
+field_name: field_pdf
+entity_type: node
+type: file
+settings:
+ display_field: false
+ display_default: true
+ 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/syllbus/config/install/node.type.syllbus.yml b/modules/kalpesh/syllbus/config/install/node.type.syllbus.yml
new file mode 100644
index 0000000..b548d33
--- /dev/null
+++ b/modules/kalpesh/syllbus/config/install/node.type.syllbus.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - syllbus
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: Syllbus
+type: syllbus
+description: 'Syllbus of FE ,SE, TE, BE'
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: true
diff --git a/modules/kalpesh/syllbus/config/install/views.view.syllabus.yml b/modules/kalpesh/syllbus/config/install/views.view.syllabus.yml
new file mode 100644
index 0000000..3b80486
--- /dev/null
+++ b/modules/kalpesh/syllbus/config/install/views.view.syllabus.yml
@@ -0,0 +1,303 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_pdf
+ - node.type.syllbus
+ - system.menu.main
+ module:
+ - file
+ - node
+ - user
+ - views_bootstrap
+ enforced:
+ module:
+ - syllbus
+id: syllabus
+label: syllabus
+module: views
+description: 'year wise syllabus'
+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:
+ grouping: { }
+ row_class: 'mb-30 '
+ default_row_class: true
+ alignment: horizontal
+ columns: '2'
+ col_xs: col-xs-12
+ col_sm: col-sm-12
+ col_md: col-md-12
+ col_lg: col-lg-6
+ row:
+ type: fields
+ options:
+ default_field_elements: true
+ inline:
+ title: title
+ field_pdf: field_pdf
+ separator: ''
+ hide_empty: false
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ 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: false
+ ellipsis: false
+ 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: string
+ settings:
+ link_to_entity: false
+ 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
+ entity_type: node
+ entity_field: title
+ plugin_id: field
+ field_pdf:
+ id: field_pdf
+ table: node__field_pdf
+ field: field_pdf
+ 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: target_id
+ type: file_default
+ settings:
+ use_description_as_link_text: true
+ group_column: ''
+ 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:
+ syllbus: syllbus
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ relationship: none
+ group_type: group
+ admin_label: ''
+ order: ASC
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ title: syllabus
+ 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:
+ - 'config:field.storage.node.field_pdf'
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: syllabus
+ menu:
+ type: normal
+ title: syllabus
+ menu_name: main
+ weight: -45
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.field_pdf'
diff --git a/modules/kalpesh/syllbus/syllbus.info.yml b/modules/kalpesh/syllbus/syllbus.info.yml
new file mode 100644
index 0000000..292ace7
--- /dev/null
+++ b/modules/kalpesh/syllbus/syllbus.info.yml
@@ -0,0 +1,15 @@
+name: Syllbus
+type: module
+description: 'This module is store the university syllbus'
+core: 8.x
+package: Custom
+dependencies:
+ - drupal:menu_ui
+ - drupal:file
+ - drupal:path
+ - drupal:text
+ - ds:ds
+ - drupal:user
+ - drupal:node
+ - views_bootstrap:views_bootstrap
+
diff --git a/modules/kalpesh/syllbus/syllbus.install b/modules/kalpesh/syllbus/syllbus.install
new file mode 100644
index 0000000..7a97fab
--- /dev/null
+++ b/modules/kalpesh/syllbus/syllbus.install
@@ -0,0 +1,26 @@
+
+<?php
+/**
+* Implements hook_uninstall().
+*/
+function syllbus_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', 'syllbus');
+ $nids = $query->execute();
+
+
+
+ // Delete entities.
+ if (!empty($nids)) {
+ $entities = $nodeStorage->loadMultiple($nids);
+ $nodeStorage->delete($entities);
+ }
+}
diff --git a/modules/kalpesh/syllbus/syllbus.module b/modules/kalpesh/syllbus/syllbus.module
new file mode 100644
index 0000000..d06006c
--- /dev/null
+++ b/modules/kalpesh/syllbus/syllbus.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains syllbus.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function syllbus_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the syllbus module.
+ case 'help.page.syllbus':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('This module is store the university syllbus') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function syllbus_theme() {
+ return [
+ 'syllbus' => [
+ 'render element' => 'children',
+ ],
+ ];
+}
diff --git a/modules/kalpesh/syllbus/templates/syllbus.html.twig b/modules/kalpesh/syllbus/templates/syllbus.html.twig
new file mode 100644
index 0000000..95722bd
--- /dev/null
+++ b/modules/kalpesh/syllbus/templates/syllbus.html.twig
@@ -0,0 +1 @@
+<!-- Add you custom twig html here -->
diff --git a/modules/kalpesh/syllbus/tests/src/Functional/LoadTest.php b/modules/kalpesh/syllbus/tests/src/Functional/LoadTest.php
new file mode 100644
index 0000000..d47884f
--- /dev/null
+++ b/modules/kalpesh/syllbus/tests/src/Functional/LoadTest.php
@@ -0,0 +1,46 @@
+<?php
+
+namespace Drupal\Tests\syllbus\Functional;
+
+use Drupal\Core\Url;
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Simple test to ensure that main page loads with module enabled.
+ *
+ * @group syllbus
+ */
+class LoadTest extends BrowserTestBase {
+
+ /**
+ * Modules to enable.
+ *
+ * @var array
+ */
+ public static $modules = ['syllbus'];
+
+ /**
+ * 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);
+ }
+
+}