summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNitesh Kumar Sinha2019-07-02 13:32:41 +0530
committerGitHub2019-07-02 13:32:41 +0530
commit40040427eb696b443a52db952ce6915d3ee72a97 (patch)
tree5dde0580ac282768aeb48226e7d10c2e3f691172
parent222f1780ed0f5c3536392df3236284d3a9ab5405 (diff)
parent5f6ba9cf4aee260e4192f194ed14d3bc9dd1b467 (diff)
downloadacadmix_distribution-40040427eb696b443a52db952ce6915d3ee72a97.tar.gz
acadmix_distribution-40040427eb696b443a52db952ce6915d3ee72a97.tar.bz2
acadmix_distribution-40040427eb696b443a52db952ce6915d3ee72a97.zip
Merge pull request #6 from fahad-israr/master
Fahad: Custom Module Added
-rw-r--r--modules/fahad/README.md38
-rw-r--r--modules/fahad/academic_calendar_content/academic_calendar_content.info.yml13
-rw-r--r--modules/fahad/academic_calendar_content/academic_calendar_content.module35
-rw-r--r--modules/fahad/academic_calendar_content/composer.json14
-rw-r--r--modules/fahad/academic_calendar_content/config/install/core.entity_form_display.node.academic_calendar_content.default.yml103
-rw-r--r--modules/fahad/academic_calendar_content/config/install/core.entity_view_display.node.academic_calendar_content.default.yml50
-rw-r--r--modules/fahad/academic_calendar_content/config/install/core.entity_view_display.node.academic_calendar_content.teaser.yml33
-rw-r--r--modules/fahad/academic_calendar_content/config/install/field.field.node.academic_calendar_content.body.yml24
-rw-r--r--modules/fahad/academic_calendar_content/config/install/field.field.node.academic_calendar_content.field_calender_file.yml29
-rw-r--r--modules/fahad/academic_calendar_content/config/install/field.field.node.academic_calendar_content.field_calender_type.yml31
-rw-r--r--modules/fahad/academic_calendar_content/config/install/field.storage.node.field_calender_file.yml26
-rw-r--r--modules/fahad/academic_calendar_content/config/install/field.storage.node.field_calender_type.yml23
-rw-r--r--modules/fahad/academic_calendar_content/config/install/node.type.academic_calendar_content.yml20
-rw-r--r--modules/fahad/academic_calendar_content/config/install/taxonomy.vocabulary.academic_calender.yml12
-rw-r--r--modules/fahad/academic_calendar_content/templates/academic-calendar-content.html.twig1
-rw-r--r--modules/fahad/academic_calendar_content/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/fahad/article/article.info.yml16
-rw-r--r--modules/fahad/article/article.module35
-rw-r--r--modules/fahad/article/composer.json14
-rw-r--r--modules/fahad/article/config/install/field.storage.node.field_article_link.yml22
-rw-r--r--modules/fahad/article/templates/article.html.twig1
-rw-r--r--modules/fahad/article/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/fahad/bog_meetings/bog_meetings.info.yml13
-rw-r--r--modules/fahad/bog_meetings/bog_meetings.module35
-rw-r--r--modules/fahad/bog_meetings/composer.json14
-rw-r--r--modules/fahad/bog_meetings/config/install/core.entity_form_display.node.bog_meetings.default.yml100
-rw-r--r--modules/fahad/bog_meetings/config/install/core.entity_view_display.node.bog_meetings.default.yml52
-rw-r--r--modules/fahad/bog_meetings/config/install/core.entity_view_display.node.bog_meetings.teaser.yml33
-rw-r--r--modules/fahad/bog_meetings/config/install/field.field.node.bog_meetings.body.yml24
-rw-r--r--modules/fahad/bog_meetings/config/install/field.field.node.bog_meetings.field_bog_date_time.yml23
-rw-r--r--modules/fahad/bog_meetings/config/install/field.field.node.bog_meetings.field_bog_file.yml29
-rw-r--r--modules/fahad/bog_meetings/config/install/field.storage.node.field_bog_date_time.yml21
-rw-r--r--modules/fahad/bog_meetings/config/install/field.storage.node.field_bog_file.yml26
-rw-r--r--modules/fahad/bog_meetings/config/install/node.type.bog_meetings.yml20
-rw-r--r--modules/fahad/bog_meetings/templates/bog-meetings.html.twig1
-rw-r--r--modules/fahad/bog_meetings/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/fahad/clubs/clubs.info.yml12
-rw-r--r--modules/fahad/clubs/clubs.module35
-rw-r--r--modules/fahad/clubs/composer.json14
-rw-r--r--modules/fahad/clubs/config/install/core.entity_form_display.node.clubs.default.yml133
-rw-r--r--modules/fahad/clubs/config/install/core.entity_view_display.node.clubs.default.yml67
-rw-r--r--modules/fahad/clubs/config/install/core.entity_view_display.node.clubs.teaser.yml33
-rw-r--r--modules/fahad/clubs/config/install/field.field.node.clubs.body.yml24
-rw-r--r--modules/fahad/clubs/config/install/field.field.node.clubs.field_class.yml23
-rw-r--r--modules/fahad/clubs/config/install/field.field.node.clubs.field_club_category.yml31
-rw-r--r--modules/fahad/clubs/config/install/field.field.node.clubs.field_club_department.yml30
-rw-r--r--modules/fahad/clubs/config/install/field.field.node.clubs.field_faculty_incharge.yml30
-rw-r--r--modules/fahad/clubs/config/install/field.field.node.clubs.field_student_volunteer.yml23
-rw-r--r--modules/fahad/clubs/config/install/field.storage.node.field_class.yml23
-rw-r--r--modules/fahad/clubs/config/install/field.storage.node.field_club_category.yml23
-rw-r--r--modules/fahad/clubs/config/install/field.storage.node.field_club_department.yml22
-rw-r--r--modules/fahad/clubs/config/install/field.storage.node.field_faculty_incharge.yml22
-rw-r--r--modules/fahad/clubs/config/install/field.storage.node.field_student_volunteer.yml23
-rw-r--r--modules/fahad/clubs/config/install/node.type.clubs.yml20
-rw-r--r--modules/fahad/clubs/config/install/taxonomy.vocabulary.club_category.yml12
-rw-r--r--modules/fahad/clubs/templates/clubs.html.twig1
-rw-r--r--modules/fahad/clubs/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/fahad/department/composer.json14
-rw-r--r--modules/fahad/department/config/install/core.entity_form_display.node.department.default.yml84
-rw-r--r--modules/fahad/department/config/install/core.entity_view_display.node.department.default.yml31
-rw-r--r--modules/fahad/department/config/install/core.entity_view_display.node.department.teaser.yml33
-rw-r--r--modules/fahad/department/config/install/field.field.node.department.body.yml24
-rw-r--r--modules/fahad/department/department.info.yml12
-rw-r--r--modules/fahad/department/department.module35
-rw-r--r--modules/fahad/department/templates/department.html.twig1
-rw-r--r--modules/fahad/department/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/fahad/fac_page/composer.json14
-rw-r--r--modules/fahad/fac_page/config/install/core.entity_form_display.node.fac_page.default.yml362
-rw-r--r--modules/fahad/fac_page/config/install/core.entity_view_display.node.fac_page.teaser.yml71
-rw-r--r--modules/fahad/fac_page/config/install/field.field.node.fac_page.body.yml24
-rw-r--r--modules/fahad/fac_page/config/install/field.field.node.fac_page.field_affiliations.yml21
-rw-r--r--modules/fahad/fac_page/config/install/field.field.node.fac_page.field_awards_and_fellowship.yml23
-rw-r--r--modules/fahad/fac_page/config/install/field.field.node.fac_page.field_background.yml23
-rw-r--r--modules/fahad/fac_page/config/install/field.field.node.fac_page.field_building_new.yml21
-rw-r--r--modules/fahad/fac_page/config/install/field.field.node.fac_page.field_courses_taught.yml23
-rw-r--r--modules/fahad/fac_page/config/install/field.field.node.fac_page.field_department.yml30
-rw-r--r--modules/fahad/fac_page/config/install/field.field.node.fac_page.field_detailed_information_page.yml25
-rw-r--r--modules/fahad/fac_page/config/install/field.field.node.fac_page.field_email_new.yml21
-rw-r--r--modules/fahad/fac_page/config/install/field.field.node.fac_page.field_employment_category.yml31
-rw-r--r--modules/fahad/fac_page/config/install/field.field.node.fac_page.field_faculty_cv.yml29
-rw-r--r--modules/fahad/fac_page/config/install/field.field.node.fac_page.field_faculty_designation.yml23
-rw-r--r--modules/fahad/fac_page/config/install/field.field.node.fac_page.field_faculty_photo.yml40
-rw-r--r--modules/fahad/fac_page/config/install/field.field.node.fac_page.field_full_name.yml56
-rw-r--r--modules/fahad/fac_page/config/install/field.field.node.fac_page.field_google_scholar_id.yml21
-rw-r--r--modules/fahad/fac_page/config/install/field.field.node.fac_page.field_mobile_number_new.yml21
-rw-r--r--modules/fahad/fac_page/config/install/field.field.node.fac_page.field_orcid.yml21
-rw-r--r--modules/fahad/fac_page/config/install/field.field.node.fac_page.field_phone_no_new.yml23
-rw-r--r--modules/fahad/fac_page/config/install/field.field.node.fac_page.field_research_area.yml31
-rw-r--r--modules/fahad/fac_page/config/install/field.field.node.fac_page.field_room_no.yml25
-rw-r--r--modules/fahad/fac_page/config/install/field.field.node.fac_page.field_scopus_id.yml21
-rw-r--r--modules/fahad/fac_page/config/install/field.storage.node.field_affiliations.yml24
-rw-r--r--modules/fahad/fac_page/config/install/field.storage.node.field_awards_and_fellowship.yml24
-rw-r--r--modules/fahad/fac_page/config/install/field.storage.node.field_background.yml27
-rw-r--r--modules/fahad/fac_page/config/install/field.storage.node.field_building_new.yml26
-rw-r--r--modules/fahad/fac_page/config/install/field.storage.node.field_courses_taught.yml24
-rw-r--r--modules/fahad/fac_page/config/install/field.storage.node.field_department.yml22
-rw-r--r--modules/fahad/fac_page/config/install/field.storage.node.field_detailed_information_page.yml24
-rw-r--r--modules/fahad/fac_page/config/install/field.storage.node.field_email_new.yml23
-rw-r--r--modules/fahad/fac_page/config/install/field.storage.node.field_employment_category.yml25
-rw-r--r--modules/fahad/fac_page/config/install/field.storage.node.field_faculty_cv.yml28
-rw-r--r--modules/fahad/fac_page/config/install/field.storage.node.field_faculty_designation.yml35
-rw-r--r--modules/fahad/fac_page/config/install/field.storage.node.field_faculty_photo.yml35
-rw-r--r--modules/fahad/fac_page/config/install/field.storage.node.field_full_name.yml94
-rw-r--r--modules/fahad/fac_page/config/install/field.storage.node.field_google_scholar_id.yml26
-rw-r--r--modules/fahad/fac_page/config/install/field.storage.node.field_mobile_number_new.yml26
-rw-r--r--modules/fahad/fac_page/config/install/field.storage.node.field_orcid.yml26
-rw-r--r--modules/fahad/fac_page/config/install/field.storage.node.field_phone_no_new.yml25
-rw-r--r--modules/fahad/fac_page/config/install/field.storage.node.field_research_area.yml25
-rw-r--r--modules/fahad/fac_page/config/install/field.storage.node.field_room_no.yml25
-rw-r--r--modules/fahad/fac_page/config/install/field.storage.node.field_scopus_id.yml26
-rw-r--r--modules/fahad/fac_page/config/install/image.style.acad_fac_thumbnail_100_100_.yml20
-rw-r--r--modules/fahad/fac_page/config/install/node.type.department.yml23
-rw-r--r--modules/fahad/fac_page/config/install/node.type.fac_page.yml20
-rw-r--r--modules/fahad/fac_page/config/install/taxonomy.vocabulary.employment_category.yml14
-rw-r--r--modules/fahad/fac_page/config/install/taxonomy.vocabulary.research_area.yml14
-rw-r--r--modules/fahad/fac_page/fac_page.info.yml16
-rw-r--r--modules/fahad/fac_page/fac_page.module35
-rw-r--r--modules/fahad/fac_page/templates/fac-page.html.twig1
-rw-r--r--modules/fahad/fac_page/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/fahad/facility/composer.json14
-rw-r--r--modules/fahad/facility/config/install/core.entity_form_display.node.facility.default.yml105
-rw-r--r--modules/fahad/facility/config/install/core.entity_view_display.node.facility.default.yml56
-rw-r--r--modules/fahad/facility/config/install/core.entity_view_display.node.facility.teaser.yml33
-rw-r--r--modules/fahad/facility/config/install/field.field.node.facility.body.yml24
-rw-r--r--modules/fahad/facility/config/install/field.field.node.facility.field_facility_.yml25
-rw-r--r--modules/fahad/facility/config/install/field.field.node.facility.field_facility_image.yml40
-rw-r--r--modules/fahad/facility/config/install/field.storage.node.field_facility_.yml22
-rw-r--r--modules/fahad/facility/config/install/field.storage.node.field_facility_image.yml33
-rw-r--r--modules/fahad/facility/config/install/node.type.facility.yml20
-rw-r--r--modules/fahad/facility/facility.info.yml14
-rw-r--r--modules/fahad/facility/facility.module35
-rw-r--r--modules/fahad/facility/templates/facility.html.twig1
-rw-r--r--modules/fahad/facility/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/fahad/faq/composer.json14
-rw-r--r--modules/fahad/faq/config/install/core.entity_form_display.node.faq.default.yml84
-rw-r--r--modules/fahad/faq/config/install/core.entity_view_display.node.faq.default.yml31
-rw-r--r--modules/fahad/faq/config/install/core.entity_view_display.node.faq.teaser.yml33
-rw-r--r--modules/fahad/faq/config/install/field.field.node.faq.body.yml24
-rw-r--r--modules/fahad/faq/config/install/node.type.faq.yml20
-rw-r--r--modules/fahad/faq/faq.info.yml11
-rw-r--r--modules/fahad/faq/faq.module35
-rw-r--r--modules/fahad/faq/templates/faq.html.twig1
-rw-r--r--modules/fahad/faq/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/fahad/festivals/composer.json14
-rw-r--r--modules/fahad/festivals/config/install/core.entity_form_display.node.festivals.default.yml114
-rw-r--r--modules/fahad/festivals/config/install/core.entity_view_display.node.festivals.default.yml66
-rw-r--r--modules/fahad/festivals/config/install/core.entity_view_display.node.festivals.teaser.yml33
-rw-r--r--modules/fahad/festivals/config/install/field.field.node.festivals.body.yml24
-rw-r--r--modules/fahad/festivals/config/install/field.field.node.festivals.field_fastival_link.yml25
-rw-r--r--modules/fahad/festivals/config/install/field.field.node.festivals.field_festival_file.yml29
-rw-r--r--modules/fahad/festivals/config/install/field.field.node.festivals.field_festival_image.yml40
-rw-r--r--modules/fahad/festivals/config/install/field.storage.node.field_fastival_link.yml22
-rw-r--r--modules/fahad/festivals/config/install/field.storage.node.field_festival_file.yml26
-rw-r--r--modules/fahad/festivals/config/install/field.storage.node.field_festival_image.yml33
-rw-r--r--modules/fahad/festivals/config/install/node.type.festivals.yml20
-rw-r--r--modules/fahad/festivals/festivals.info.yml14
-rw-r--r--modules/fahad/festivals/festivals.module35
-rw-r--r--modules/fahad/festivals/templates/festivals.html.twig1
-rw-r--r--modules/fahad/festivals/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/fahad/industry_partners/composer.json14
-rw-r--r--modules/fahad/industry_partners/config/install/core.entity_form_display.node.industry_partners.default.yml105
-rw-r--r--modules/fahad/industry_partners/config/install/core.entity_view_display.node.industry_partners.default.yml56
-rw-r--r--modules/fahad/industry_partners/config/install/core.entity_view_display.node.industry_partners.teaser.yml33
-rw-r--r--modules/fahad/industry_partners/config/install/field.field.node.industry_partners.body.yml24
-rw-r--r--modules/fahad/industry_partners/config/install/field.field.node.industry_partners.field_company_logo.yml40
-rw-r--r--modules/fahad/industry_partners/config/install/field.field.node.industry_partners.field_company_website.yml25
-rw-r--r--modules/fahad/industry_partners/config/install/field.storage.node.field_company_logo.yml33
-rw-r--r--modules/fahad/industry_partners/config/install/field.storage.node.field_company_website.yml22
-rw-r--r--modules/fahad/industry_partners/config/install/node.type.industry_partners.yml20
-rw-r--r--modules/fahad/industry_partners/industry_partners.info.yml15
-rw-r--r--modules/fahad/industry_partners/industry_partners.module35
-rw-r--r--modules/fahad/industry_partners/templates/industry-partners.html.twig1
-rw-r--r--modules/fahad/industry_partners/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/fahad/notification/composer.json14
-rw-r--r--modules/fahad/notification/config/install/core.entity_form_display.node.notification.default.yml111
-rw-r--r--modules/fahad/notification/config/install/core.entity_view_display.node.notification.default.yml61
-rw-r--r--modules/fahad/notification/config/install/core.entity_view_display.node.notification.teaser.yml33
-rw-r--r--modules/fahad/notification/config/install/field.field.node.notification.body.yml24
-rw-r--r--modules/fahad/notification/config/install/field.field.node.notification.field_notification_date.yml23
-rw-r--r--modules/fahad/notification/config/install/field.field.node.notification.field_notification_file.yml29
-rw-r--r--modules/fahad/notification/config/install/field.field.node.notification.field_notitfication_category.yml31
-rw-r--r--modules/fahad/notification/config/install/field.storage.node.field_notification_date.yml23
-rw-r--r--modules/fahad/notification/config/install/field.storage.node.field_notification_file.yml26
-rw-r--r--modules/fahad/notification/config/install/field.storage.node.field_notitfication_category.yml23
-rw-r--r--modules/fahad/notification/config/install/node.type.notification.yml20
-rw-r--r--modules/fahad/notification/config/install/taxonomy.vocabulary.notification_category.yml12
-rw-r--r--modules/fahad/notification/notification.info.yml14
-rw-r--r--modules/fahad/notification/notification.module35
-rw-r--r--modules/fahad/notification/templates/notification.html.twig1
-rw-r--r--modules/fahad/notification/tests/src/Functional/LoadTest.php46
-rw-r--r--modules/fahad/staff/composer.json14
-rw-r--r--modules/fahad/staff/config/install/core.entity_form_display.node.staff.default.yml111
-rw-r--r--modules/fahad/staff/config/install/core.entity_view_display.node.staff.default.yml59
-rw-r--r--modules/fahad/staff/config/install/core.entity_view_display.node.staff.teaser.yml33
-rw-r--r--modules/fahad/staff/config/install/field.field.node.staff.body.yml24
-rw-r--r--modules/fahad/staff/config/install/field.field.node.staff.field_designation.yml23
-rw-r--r--modules/fahad/staff/config/install/field.field.node.staff.field_staff_email.yml21
-rw-r--r--modules/fahad/staff/config/install/field.field.node.staff.field_staff_image.yml40
-rw-r--r--modules/fahad/staff/config/install/field.storage.node.field_designation.yml33
-rw-r--r--modules/fahad/staff/config/install/field.storage.node.field_staff_email.yml21
-rw-r--r--modules/fahad/staff/config/install/field.storage.node.field_staff_image.yml33
-rw-r--r--modules/fahad/staff/config/install/node.type.staff.yml20
-rw-r--r--modules/fahad/staff/staff.info.yml5
-rw-r--r--modules/fahad/staff/staff.module35
-rw-r--r--modules/fahad/staff/templates/staff.html.twig1
-rw-r--r--modules/fahad/staff/tests/src/Functional/LoadTest.php46
206 files changed, 6597 insertions, 1 deletions
diff --git a/modules/fahad/README.md b/modules/fahad/README.md
index 8c65330..a223493 100644
--- a/modules/fahad/README.md
+++ b/modules/fahad/README.md
@@ -1 +1,37 @@
-Include your created custom modules for content type here \ No newline at end of file
+
+# Custom Modules Developed for Drupal 8
+
+# --Pre Requisites:
+
+--<b>Dupal Console Or Drush</b>
+
+# --To Install the Module(s):
+
+--Place the required Content Type Module(s) in The Custom Folder of Modules of your Drupal Directory<b>(./modules/custom)</b>
+
+# --Intsalling with Drupal Console :
+
+-->In the Terminal navigate to root directory of your Project.
+
+-->Run the Command:<b>$ drupal modules:install module_name.</b>
+
+-->Example if module is 'artcle' then run: $ drupal module:install article.
+
+# --Installing with Drush :
+
+-->In the Terminal navigate to root directory of your Project.
+
+-->Run the Command:<b>$ drush en module_name</b>
+
+-->Example if module is 'artcle' then run: $ drush en article
+
+
+# --I'd love it if you could Contribute to my Modules:
+
+--><b>Fork</b> my Repository
+
+-->Work with your fork and commit your changes to your Repo.
+
+-->Create a Pull Request.
+
+-->We’ll analyse your changes and Merge it.
diff --git a/modules/fahad/academic_calendar_content/academic_calendar_content.info.yml b/modules/fahad/academic_calendar_content/academic_calendar_content.info.yml
new file mode 100644
index 0000000..a3076e7
--- /dev/null
+++ b/modules/fahad/academic_calendar_content/academic_calendar_content.info.yml
@@ -0,0 +1,13 @@
+name: 'academic_calendar_content'
+type: module
+description: 'Academic Calendar Content Type'
+core: 8.x
+package: 'Custom'
+dependencies:
+ - drupal:file
+ - drupal:path
+ - drupal:text
+ - drupal:user
+ - drupal:node
+ - drupal:menu_ui
+ - drupal:taxonomy \ No newline at end of file
diff --git a/modules/fahad/academic_calendar_content/academic_calendar_content.module b/modules/fahad/academic_calendar_content/academic_calendar_content.module
new file mode 100644
index 0000000..9b4e25a
--- /dev/null
+++ b/modules/fahad/academic_calendar_content/academic_calendar_content.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains academic_calendar_content.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function academic_calendar_content_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the academic_calendar_content module.
+ case 'help.page.academic_calendar_content':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('Academic Calendar Content Type') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function academic_calendar_content_theme() {
+ return [
+ 'academic_calendar_content' => [
+ 'render element' => 'children',
+ ],
+ ];
+}
diff --git a/modules/fahad/academic_calendar_content/composer.json b/modules/fahad/academic_calendar_content/composer.json
new file mode 100644
index 0000000..56c9201
--- /dev/null
+++ b/modules/fahad/academic_calendar_content/composer.json
@@ -0,0 +1,14 @@
+{
+ "name": "drupal/academic_calendar_content",
+ "type": "drupal-module",
+ "description": "Academic Calendar Content Type",
+ "keywords": ["Drupal"],
+ "license": "GPL-2.0+",
+ "homepage": "https://www.drupal.org/project/academic_calendar_content",
+ "minimum-stability": "dev",
+ "support": {
+ "issues": "https://www.drupal.org/project/issues/academic_calendar_content",
+ "source": "http://cgit.drupalcode.org/academic_calendar_content"
+ },
+ "require": { }
+}
diff --git a/modules/fahad/academic_calendar_content/config/install/core.entity_form_display.node.academic_calendar_content.default.yml b/modules/fahad/academic_calendar_content/config/install/core.entity_form_display.node.academic_calendar_content.default.yml
new file mode 100644
index 0000000..480e11a
--- /dev/null
+++ b/modules/fahad/academic_calendar_content/config/install/core.entity_form_display.node.academic_calendar_content.default.yml
@@ -0,0 +1,103 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.academic_calendar_content.body
+ - field.field.node.academic_calendar_content.field_calender_file
+ - field.field.node.academic_calendar_content.field_calender_type
+ - node.type.academic_calendar_content
+ module:
+ - file
+ - path
+ - text
+ enforced:
+ module:
+ - academic_calendar_content
+id: node.academic_calendar_content.default
+targetEntityType: node
+bundle: academic_calendar_content
+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_calender_file:
+ weight: 122
+ settings:
+ progress_indicator: throbber
+ third_party_settings: { }
+ type: file_generic
+ region: content
+ field_calender_type:
+ weight: 123
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: entity_reference_autocomplete
+ region: content
+ langcode:
+ type: language_select
+ weight: 2
+ region: content
+ settings:
+ include_locked: true
+ third_party_settings: { }
+ path:
+ type: path
+ weight: 30
+ region: content
+ settings: { }
+ third_party_settings: { }
+ promote:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 15
+ region: content
+ third_party_settings: { }
+ status:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 120
+ region: content
+ third_party_settings: { }
+ sticky:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 16
+ region: content
+ third_party_settings: { }
+ title:
+ type: string_textfield
+ weight: -5
+ region: content
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ uid:
+ type: entity_reference_autocomplete
+ weight: 5
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ region: content
+ third_party_settings: { }
+hidden: { }
diff --git a/modules/fahad/academic_calendar_content/config/install/core.entity_view_display.node.academic_calendar_content.default.yml b/modules/fahad/academic_calendar_content/config/install/core.entity_view_display.node.academic_calendar_content.default.yml
new file mode 100644
index 0000000..24048f0
--- /dev/null
+++ b/modules/fahad/academic_calendar_content/config/install/core.entity_view_display.node.academic_calendar_content.default.yml
@@ -0,0 +1,50 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.academic_calendar_content.body
+ - field.field.node.academic_calendar_content.field_calender_file
+ - field.field.node.academic_calendar_content.field_calender_type
+ - node.type.academic_calendar_content
+ module:
+ - file
+ - text
+ - user
+ enforced:
+ module:
+ - academic_calendar_content
+id: node.academic_calendar_content.default
+targetEntityType: node
+bundle: academic_calendar_content
+mode: default
+content:
+ body:
+ label: hidden
+ type: text_default
+ weight: 101
+ settings: { }
+ third_party_settings: { }
+ region: content
+ field_calender_file:
+ weight: 102
+ label: above
+ settings:
+ use_description_as_link_text: true
+ third_party_settings: { }
+ type: file_default
+ region: content
+ field_calender_type:
+ weight: 103
+ label: above
+ settings:
+ link: true
+ third_party_settings: { }
+ type: entity_reference_label
+ region: content
+ links:
+ weight: 100
+ settings: { }
+ third_party_settings: { }
+ region: content
+hidden:
+ langcode: true
diff --git a/modules/fahad/academic_calendar_content/config/install/core.entity_view_display.node.academic_calendar_content.teaser.yml b/modules/fahad/academic_calendar_content/config/install/core.entity_view_display.node.academic_calendar_content.teaser.yml
new file mode 100644
index 0000000..cb44542
--- /dev/null
+++ b/modules/fahad/academic_calendar_content/config/install/core.entity_view_display.node.academic_calendar_content.teaser.yml
@@ -0,0 +1,33 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.academic_calendar_content.body
+ - node.type.academic_calendar_content
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - academic_calendar_content
+id: node.academic_calendar_content.teaser
+targetEntityType: node
+bundle: academic_calendar_content
+mode: teaser
+content:
+ body:
+ label: hidden
+ type: text_summary_or_trimmed
+ weight: 101
+ settings:
+ trim_length: 600
+ third_party_settings: { }
+ region: content
+ links:
+ weight: 100
+ settings: { }
+ third_party_settings: { }
+ region: content
+hidden:
+ langcode: true
diff --git a/modules/fahad/academic_calendar_content/config/install/field.field.node.academic_calendar_content.body.yml b/modules/fahad/academic_calendar_content/config/install/field.field.node.academic_calendar_content.body.yml
new file mode 100644
index 0000000..4e036ce
--- /dev/null
+++ b/modules/fahad/academic_calendar_content/config/install/field.field.node.academic_calendar_content.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.academic_calendar_content
+ module:
+ - text
+ enforced:
+ module:
+ - academic_calendar_content
+id: node.academic_calendar_content.body
+field_name: body
+entity_type: node
+bundle: academic_calendar_content
+label: Body
+description: ''
+required: false
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings:
+ display_summary: true
+field_type: text_with_summary
diff --git a/modules/fahad/academic_calendar_content/config/install/field.field.node.academic_calendar_content.field_calender_file.yml b/modules/fahad/academic_calendar_content/config/install/field.field.node.academic_calendar_content.field_calender_file.yml
new file mode 100644
index 0000000..93aa78f
--- /dev/null
+++ b/modules/fahad/academic_calendar_content/config/install/field.field.node.academic_calendar_content.field_calender_file.yml
@@ -0,0 +1,29 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_calender_file
+ - node.type.academic_calendar_content
+ module:
+ - file
+ enforced:
+ module:
+ - academic_calendar_content
+id: node.academic_calendar_content.field_calender_file
+field_name: field_calender_file
+entity_type: node
+bundle: academic_calendar_content
+label: 'calender file'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ file_directory: '[date:custom:Y]-[date:custom:m]'
+ file_extensions: 'txt pdf docx doc pptx ppt'
+ max_filesize: ''
+ description_field: false
+ handler: 'default:file'
+ handler_settings: { }
+field_type: file
diff --git a/modules/fahad/academic_calendar_content/config/install/field.field.node.academic_calendar_content.field_calender_type.yml b/modules/fahad/academic_calendar_content/config/install/field.field.node.academic_calendar_content.field_calender_type.yml
new file mode 100644
index 0000000..59ff251
--- /dev/null
+++ b/modules/fahad/academic_calendar_content/config/install/field.field.node.academic_calendar_content.field_calender_type.yml
@@ -0,0 +1,31 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_calender_type
+ - node.type.academic_calendar_content
+ - taxonomy.vocabulary.academic_calender
+ enforced:
+ module:
+ - academic_calendar_content
+id: node.academic_calendar_content.field_calender_type
+field_name: field_calender_type
+entity_type: node
+bundle: academic_calendar_content
+label: 'Calender type'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:taxonomy_term'
+ handler_settings:
+ target_bundles:
+ academic_calender: academic_calender
+ sort:
+ field: name
+ direction: asc
+ auto_create: false
+ auto_create_bundle: ''
+field_type: entity_reference
diff --git a/modules/fahad/academic_calendar_content/config/install/field.storage.node.field_calender_file.yml b/modules/fahad/academic_calendar_content/config/install/field.storage.node.field_calender_file.yml
new file mode 100644
index 0000000..65a2c30
--- /dev/null
+++ b/modules/fahad/academic_calendar_content/config/install/field.storage.node.field_calender_file.yml
@@ -0,0 +1,26 @@
+uuid: fabaae87-0065-4967-8243-6515646f47ee
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - node
+ enforced:
+ module:
+ - academic_calendar_content
+id: node.field_calender_file
+field_name: field_calender_file
+entity_type: node
+type: file
+settings:
+ display_field: false
+ display_default: false
+ uri_scheme: public
+ target_type: file
+module: file
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/fahad/academic_calendar_content/config/install/field.storage.node.field_calender_type.yml b/modules/fahad/academic_calendar_content/config/install/field.storage.node.field_calender_type.yml
new file mode 100644
index 0000000..cbe0fcf
--- /dev/null
+++ b/modules/fahad/academic_calendar_content/config/install/field.storage.node.field_calender_type.yml
@@ -0,0 +1,23 @@
+uuid: cd0df0ee-d712-40eb-bbbb-12a100fafb16
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ - taxonomy
+ enforced:
+ module:
+ - academic_calendar_content
+id: node.field_calender_type
+field_name: field_calender_type
+entity_type: node
+type: entity_reference
+settings:
+ target_type: taxonomy_term
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/fahad/academic_calendar_content/config/install/node.type.academic_calendar_content.yml b/modules/fahad/academic_calendar_content/config/install/node.type.academic_calendar_content.yml
new file mode 100644
index 0000000..fdb758a
--- /dev/null
+++ b/modules/fahad/academic_calendar_content/config/install/node.type.academic_calendar_content.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - academic_calendar_content
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: 'Academic Calendar'
+type: academic_calendar_content
+description: ''
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: true
diff --git a/modules/fahad/academic_calendar_content/config/install/taxonomy.vocabulary.academic_calender.yml b/modules/fahad/academic_calendar_content/config/install/taxonomy.vocabulary.academic_calender.yml
new file mode 100644
index 0000000..cb954c2
--- /dev/null
+++ b/modules/fahad/academic_calendar_content/config/install/taxonomy.vocabulary.academic_calender.yml
@@ -0,0 +1,12 @@
+uuid: 216d49b2-aa1e-44b0-b4a0-7c3d78450276
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - academic_calendar_content
+name: 'Academic Calender'
+vid: academic_calender
+description: 'Calendar and Time Table'
+hierarchy: 0
+weight: 0
diff --git a/modules/fahad/academic_calendar_content/templates/academic-calendar-content.html.twig b/modules/fahad/academic_calendar_content/templates/academic-calendar-content.html.twig
new file mode 100644
index 0000000..91e43c8
--- /dev/null
+++ b/modules/fahad/academic_calendar_content/templates/academic-calendar-content.html.twig
@@ -0,0 +1 @@
+<!-- Add you custom twig html here --> \ No newline at end of file
diff --git a/modules/fahad/academic_calendar_content/tests/src/Functional/LoadTest.php b/modules/fahad/academic_calendar_content/tests/src/Functional/LoadTest.php
new file mode 100644
index 0000000..b62009a
--- /dev/null
+++ b/modules/fahad/academic_calendar_content/tests/src/Functional/LoadTest.php
@@ -0,0 +1,46 @@
+<?php
+
+namespace Drupal\Tests\academic_calendar_content\Functional;
+
+use Drupal\Core\Url;
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Simple test to ensure that main page loads with module enabled.
+ *
+ * @group academic_calendar_content
+ */
+class LoadTest extends BrowserTestBase {
+
+ /**
+ * Modules to enable.
+ *
+ * @var array
+ */
+ public static $modules = ['academic_calendar_content'];
+
+ /**
+ * 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/fahad/article/article.info.yml b/modules/fahad/article/article.info.yml
new file mode 100644
index 0000000..49c0771
--- /dev/null
+++ b/modules/fahad/article/article.info.yml
@@ -0,0 +1,16 @@
+name: 'article'
+type: module
+description: 'My Awesome Module'
+core: 8.x
+package: 'Custom'
+dependencies:
+ - drupal:comment
+ - drupal:image
+ - drupal:link
+ - drupal:path
+ - drupal:text
+ - drupal:user
+ - drupal:node
+ - drupal:taxonomy
+
+ \ No newline at end of file
diff --git a/modules/fahad/article/article.module b/modules/fahad/article/article.module
new file mode 100644
index 0000000..f367abe
--- /dev/null
+++ b/modules/fahad/article/article.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains article.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function article_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the article module.
+ case 'help.page.article':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('My Awesome Module') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function article_theme() {
+ return [
+ 'article' => [
+ 'render element' => 'children',
+ ],
+ ];
+}
diff --git a/modules/fahad/article/composer.json b/modules/fahad/article/composer.json
new file mode 100644
index 0000000..7088212
--- /dev/null
+++ b/modules/fahad/article/composer.json
@@ -0,0 +1,14 @@
+{
+ "name": "drupal/article",
+ "type": "drupal-module",
+ "description": "My Awesome Module",
+ "keywords": ["Drupal"],
+ "license": "GPL-2.0+",
+ "homepage": "https://www.drupal.org/project/article",
+ "minimum-stability": "dev",
+ "support": {
+ "issues": "https://www.drupal.org/project/issues/article",
+ "source": "http://cgit.drupalcode.org/article"
+ },
+ "require": { }
+}
diff --git a/modules/fahad/article/config/install/field.storage.node.field_article_link.yml b/modules/fahad/article/config/install/field.storage.node.field_article_link.yml
new file mode 100644
index 0000000..b8f5a5b
--- /dev/null
+++ b/modules/fahad/article/config/install/field.storage.node.field_article_link.yml
@@ -0,0 +1,22 @@
+uuid: 1d56f0f0-900c-47bb-8b59-47f0c7c531c7
+langcode: en
+status: true
+dependencies:
+ module:
+ - link
+ - node
+ enforced:
+ module:
+ - article
+id: node.field_article_link
+field_name: field_article_link
+entity_type: node
+type: link
+settings: { }
+module: link
+locked: false
+cardinality: -1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/fahad/article/templates/article.html.twig b/modules/fahad/article/templates/article.html.twig
new file mode 100644
index 0000000..91e43c8
--- /dev/null
+++ b/modules/fahad/article/templates/article.html.twig
@@ -0,0 +1 @@
+<!-- Add you custom twig html here --> \ No newline at end of file
diff --git a/modules/fahad/article/tests/src/Functional/LoadTest.php b/modules/fahad/article/tests/src/Functional/LoadTest.php
new file mode 100644
index 0000000..5607b01
--- /dev/null
+++ b/modules/fahad/article/tests/src/Functional/LoadTest.php
@@ -0,0 +1,46 @@
+<?php
+
+namespace Drupal\Tests\article\Functional;
+
+use Drupal\Core\Url;
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Simple test to ensure that main page loads with module enabled.
+ *
+ * @group article
+ */
+class LoadTest extends BrowserTestBase {
+
+ /**
+ * Modules to enable.
+ *
+ * @var array
+ */
+ public static $modules = ['article'];
+
+ /**
+ * 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/fahad/bog_meetings/bog_meetings.info.yml b/modules/fahad/bog_meetings/bog_meetings.info.yml
new file mode 100644
index 0000000..2fe952e
--- /dev/null
+++ b/modules/fahad/bog_meetings/bog_meetings.info.yml
@@ -0,0 +1,13 @@
+name: 'bog_meetings'
+type: module
+description: 'Bog Meetings'
+core: 8.x
+package: 'Custom'
+dependencies:
+ - drupal:file
+ - drupal:path
+ - drupal:text
+ - drupal:user
+ - drupal:node
+ - drupal:menu_ui
+
diff --git a/modules/fahad/bog_meetings/bog_meetings.module b/modules/fahad/bog_meetings/bog_meetings.module
new file mode 100644
index 0000000..cf1a248
--- /dev/null
+++ b/modules/fahad/bog_meetings/bog_meetings.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains bog_meetings.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function bog_meetings_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the bog_meetings module.
+ case 'help.page.bog_meetings':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('Bog Meetings') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function bog_meetings_theme() {
+ return [
+ 'bog_meetings' => [
+ 'render element' => 'children',
+ ],
+ ];
+}
diff --git a/modules/fahad/bog_meetings/composer.json b/modules/fahad/bog_meetings/composer.json
new file mode 100644
index 0000000..81c2525
--- /dev/null
+++ b/modules/fahad/bog_meetings/composer.json
@@ -0,0 +1,14 @@
+{
+ "name": "drupal/bog_meetings",
+ "type": "drupal-module",
+ "description": "Bog Meetings",
+ "keywords": ["Drupal"],
+ "license": "GPL-2.0+",
+ "homepage": "https://www.drupal.org/project/bog_meetings",
+ "minimum-stability": "dev",
+ "support": {
+ "issues": "https://www.drupal.org/project/issues/bog_meetings",
+ "source": "http://cgit.drupalcode.org/bog_meetings"
+ },
+ "require": { }
+}
diff --git a/modules/fahad/bog_meetings/config/install/core.entity_form_display.node.bog_meetings.default.yml b/modules/fahad/bog_meetings/config/install/core.entity_form_display.node.bog_meetings.default.yml
new file mode 100644
index 0000000..ac57c6e
--- /dev/null
+++ b/modules/fahad/bog_meetings/config/install/core.entity_form_display.node.bog_meetings.default.yml
@@ -0,0 +1,100 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.bog_meetings.body
+ - field.field.node.bog_meetings.field_bog_date_time
+ - field.field.node.bog_meetings.field_bog_file
+ - node.type.bog_meetings
+ module:
+ - file
+ - path
+ - text
+ enforced:
+ module:
+ - bog_meetings
+id: node.bog_meetings.default
+targetEntityType: node
+bundle: bog_meetings
+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_bog_date_time:
+ weight: 123
+ settings: { }
+ third_party_settings: { }
+ type: datetime_timestamp
+ region: content
+ field_bog_file:
+ weight: 122
+ settings:
+ progress_indicator: throbber
+ third_party_settings: { }
+ type: file_generic
+ region: content
+ langcode:
+ type: language_select
+ weight: 2
+ region: content
+ settings:
+ include_locked: true
+ third_party_settings: { }
+ path:
+ type: path
+ weight: 30
+ region: content
+ settings: { }
+ third_party_settings: { }
+ promote:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 15
+ region: content
+ third_party_settings: { }
+ status:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 120
+ region: content
+ third_party_settings: { }
+ sticky:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 16
+ region: content
+ third_party_settings: { }
+ title:
+ type: string_textfield
+ weight: -5
+ region: content
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ uid:
+ type: entity_reference_autocomplete
+ weight: 5
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ region: content
+ third_party_settings: { }
+hidden: { }
diff --git a/modules/fahad/bog_meetings/config/install/core.entity_view_display.node.bog_meetings.default.yml b/modules/fahad/bog_meetings/config/install/core.entity_view_display.node.bog_meetings.default.yml
new file mode 100644
index 0000000..f5db250
--- /dev/null
+++ b/modules/fahad/bog_meetings/config/install/core.entity_view_display.node.bog_meetings.default.yml
@@ -0,0 +1,52 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.bog_meetings.body
+ - field.field.node.bog_meetings.field_bog_date_time
+ - field.field.node.bog_meetings.field_bog_file
+ - node.type.bog_meetings
+ module:
+ - file
+ - text
+ - user
+ enforced:
+ module:
+ - bog_meetings
+id: node.bog_meetings.default
+targetEntityType: node
+bundle: bog_meetings
+mode: default
+content:
+ body:
+ label: hidden
+ type: text_default
+ weight: 101
+ settings: { }
+ third_party_settings: { }
+ region: content
+ field_bog_date_time:
+ weight: 103
+ label: above
+ settings:
+ date_format: medium
+ custom_date_format: ''
+ timezone: ''
+ third_party_settings: { }
+ type: timestamp
+ region: content
+ field_bog_file:
+ weight: 102
+ label: above
+ settings:
+ use_description_as_link_text: true
+ third_party_settings: { }
+ type: file_default
+ region: content
+ links:
+ weight: 100
+ settings: { }
+ third_party_settings: { }
+ region: content
+hidden:
+ langcode: true
diff --git a/modules/fahad/bog_meetings/config/install/core.entity_view_display.node.bog_meetings.teaser.yml b/modules/fahad/bog_meetings/config/install/core.entity_view_display.node.bog_meetings.teaser.yml
new file mode 100644
index 0000000..30d55a6
--- /dev/null
+++ b/modules/fahad/bog_meetings/config/install/core.entity_view_display.node.bog_meetings.teaser.yml
@@ -0,0 +1,33 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.bog_meetings.body
+ - node.type.bog_meetings
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - bog_meetings
+id: node.bog_meetings.teaser
+targetEntityType: node
+bundle: bog_meetings
+mode: teaser
+content:
+ body:
+ label: hidden
+ type: text_summary_or_trimmed
+ weight: 101
+ settings:
+ trim_length: 600
+ third_party_settings: { }
+ region: content
+ links:
+ weight: 100
+ settings: { }
+ third_party_settings: { }
+ region: content
+hidden:
+ langcode: true
diff --git a/modules/fahad/bog_meetings/config/install/field.field.node.bog_meetings.body.yml b/modules/fahad/bog_meetings/config/install/field.field.node.bog_meetings.body.yml
new file mode 100644
index 0000000..3a12aa2
--- /dev/null
+++ b/modules/fahad/bog_meetings/config/install/field.field.node.bog_meetings.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.bog_meetings
+ module:
+ - text
+ enforced:
+ module:
+ - bog_meetings
+id: node.bog_meetings.body
+field_name: body
+entity_type: node
+bundle: bog_meetings
+label: Body
+description: ''
+required: false
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings:
+ display_summary: true
+field_type: text_with_summary
diff --git a/modules/fahad/bog_meetings/config/install/field.field.node.bog_meetings.field_bog_date_time.yml b/modules/fahad/bog_meetings/config/install/field.field.node.bog_meetings.field_bog_date_time.yml
new file mode 100644
index 0000000..0cccb61
--- /dev/null
+++ b/modules/fahad/bog_meetings/config/install/field.field.node.bog_meetings.field_bog_date_time.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_bog_date_time
+ - node.type.bog_meetings
+ enforced:
+ module:
+ - bog_meetings
+id: node.bog_meetings.field_bog_date_time
+field_name: field_bog_date_time
+entity_type: node
+bundle: bog_meetings
+label: 'bog date/Time'
+description: ''
+required: false
+translatable: false
+default_value:
+ -
+ value: 1559973785
+default_value_callback: ''
+settings: { }
+field_type: timestamp
diff --git a/modules/fahad/bog_meetings/config/install/field.field.node.bog_meetings.field_bog_file.yml b/modules/fahad/bog_meetings/config/install/field.field.node.bog_meetings.field_bog_file.yml
new file mode 100644
index 0000000..5449d93
--- /dev/null
+++ b/modules/fahad/bog_meetings/config/install/field.field.node.bog_meetings.field_bog_file.yml
@@ -0,0 +1,29 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_bog_file
+ - node.type.bog_meetings
+ module:
+ - file
+ enforced:
+ module:
+ - bog_meetings
+id: node.bog_meetings.field_bog_file
+field_name: field_bog_file
+entity_type: node
+bundle: bog_meetings
+label: 'bog file'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ file_directory: '[date:custom:Y]-[date:custom:m]'
+ file_extensions: 'txt pdf docx doc pptx ppt'
+ max_filesize: ''
+ description_field: false
+ handler: 'default:file'
+ handler_settings: { }
+field_type: file
diff --git a/modules/fahad/bog_meetings/config/install/field.storage.node.field_bog_date_time.yml b/modules/fahad/bog_meetings/config/install/field.storage.node.field_bog_date_time.yml
new file mode 100644
index 0000000..debbf5a
--- /dev/null
+++ b/modules/fahad/bog_meetings/config/install/field.storage.node.field_bog_date_time.yml
@@ -0,0 +1,21 @@
+uuid: 3f598fd3-a111-4c7a-9862-036c50eabd6f
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - bog_meetings
+id: node.field_bog_date_time
+field_name: field_bog_date_time
+entity_type: node
+type: timestamp
+settings: { }
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/fahad/bog_meetings/config/install/field.storage.node.field_bog_file.yml b/modules/fahad/bog_meetings/config/install/field.storage.node.field_bog_file.yml
new file mode 100644
index 0000000..9814479
--- /dev/null
+++ b/modules/fahad/bog_meetings/config/install/field.storage.node.field_bog_file.yml
@@ -0,0 +1,26 @@
+uuid: 5940e961-5e06-438b-9378-00f95e3c7fd8
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - node
+ enforced:
+ module:
+ - bog_meetings
+id: node.field_bog_file
+field_name: field_bog_file
+entity_type: node
+type: file
+settings:
+ display_field: true
+ display_default: false
+ uri_scheme: public
+ target_type: file
+module: file
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/fahad/bog_meetings/config/install/node.type.bog_meetings.yml b/modules/fahad/bog_meetings/config/install/node.type.bog_meetings.yml
new file mode 100644
index 0000000..4b508cf
--- /dev/null
+++ b/modules/fahad/bog_meetings/config/install/node.type.bog_meetings.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - bog_meetings
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: 'BoG Meetings'
+type: bog_meetings
+description: ''
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: true
diff --git a/modules/fahad/bog_meetings/templates/bog-meetings.html.twig b/modules/fahad/bog_meetings/templates/bog-meetings.html.twig
new file mode 100644
index 0000000..91e43c8
--- /dev/null
+++ b/modules/fahad/bog_meetings/templates/bog-meetings.html.twig
@@ -0,0 +1 @@
+<!-- Add you custom twig html here --> \ No newline at end of file
diff --git a/modules/fahad/bog_meetings/tests/src/Functional/LoadTest.php b/modules/fahad/bog_meetings/tests/src/Functional/LoadTest.php
new file mode 100644
index 0000000..7f21cec
--- /dev/null
+++ b/modules/fahad/bog_meetings/tests/src/Functional/LoadTest.php
@@ -0,0 +1,46 @@
+<?php
+
+namespace Drupal\Tests\bog_meetings\Functional;
+
+use Drupal\Core\Url;
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Simple test to ensure that main page loads with module enabled.
+ *
+ * @group bog_meetings
+ */
+class LoadTest extends BrowserTestBase {
+
+ /**
+ * Modules to enable.
+ *
+ * @var array
+ */
+ public static $modules = ['bog_meetings'];
+
+ /**
+ * 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/fahad/clubs/clubs.info.yml b/modules/fahad/clubs/clubs.info.yml
new file mode 100644
index 0000000..0b76af6
--- /dev/null
+++ b/modules/fahad/clubs/clubs.info.yml
@@ -0,0 +1,12 @@
+name: 'clubs'
+type: module
+description: 'My Awesome Module'
+core: 8.x
+package: 'Custom'
+dependencies:
+ - drupal:path
+ - drupal:text
+ - drupal:user
+ - drupal:node
+ - drupal:taxonomy
+ - drupal:menu_ui \ No newline at end of file
diff --git a/modules/fahad/clubs/clubs.module b/modules/fahad/clubs/clubs.module
new file mode 100644
index 0000000..b317fcb
--- /dev/null
+++ b/modules/fahad/clubs/clubs.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains clubs.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function clubs_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the clubs module.
+ case 'help.page.clubs':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('My Awesome Module') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function clubs_theme() {
+ return [
+ 'clubs' => [
+ 'render element' => 'children',
+ ],
+ ];
+}
diff --git a/modules/fahad/clubs/composer.json b/modules/fahad/clubs/composer.json
new file mode 100644
index 0000000..957e115
--- /dev/null
+++ b/modules/fahad/clubs/composer.json
@@ -0,0 +1,14 @@
+{
+ "name": "drupal/clubs",
+ "type": "drupal-module",
+ "description": "My Awesome Module",
+ "keywords": ["Drupal"],
+ "license": "GPL-2.0+",
+ "homepage": "https://www.drupal.org/project/clubs",
+ "minimum-stability": "dev",
+ "support": {
+ "issues": "https://www.drupal.org/project/issues/clubs",
+ "source": "http://cgit.drupalcode.org/clubs"
+ },
+ "require": { }
+}
diff --git a/modules/fahad/clubs/config/install/core.entity_form_display.node.clubs.default.yml b/modules/fahad/clubs/config/install/core.entity_form_display.node.clubs.default.yml
new file mode 100644
index 0000000..981cd35
--- /dev/null
+++ b/modules/fahad/clubs/config/install/core.entity_form_display.node.clubs.default.yml
@@ -0,0 +1,133 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.clubs.body
+ - field.field.node.clubs.field_class
+ - field.field.node.clubs.field_club_category
+ - field.field.node.clubs.field_club_department
+ - field.field.node.clubs.field_faculty_incharge
+ - field.field.node.clubs.field_student_volunteer
+ - node.type.clubs
+ module:
+ - path
+ - text
+
+ enforced:
+ module:
+ - clubs
+id: node.clubs.default
+targetEntityType: node
+bundle: clubs
+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_class:
+ weight: 124
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: text_textfield
+ region: content
+ field_club_category:
+ weight: 125
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: entity_reference_autocomplete
+ region: content
+ field_club_department:
+ weight: 126
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: entity_reference_autocomplete
+ region: content
+ field_faculty_incharge:
+ weight: 123
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: entity_reference_autocomplete
+ region: content
+ field_student_volunteer:
+ weight: 122
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: text_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/fahad/clubs/config/install/core.entity_view_display.node.clubs.default.yml b/modules/fahad/clubs/config/install/core.entity_view_display.node.clubs.default.yml
new file mode 100644
index 0000000..2746c1f
--- /dev/null
+++ b/modules/fahad/clubs/config/install/core.entity_view_display.node.clubs.default.yml
@@ -0,0 +1,67 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.clubs.body
+ - field.field.node.clubs.field_class
+ - field.field.node.clubs.field_club_category
+ - field.field.node.clubs.field_club_department
+ - field.field.node.clubs.field_faculty_incharge
+ - field.field.node.clubs.field_student_volunteer
+ - node.type.clubs
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - clubs
+id: node.clubs.default
+targetEntityType: node
+bundle: clubs
+mode: default
+content:
+ body:
+ label: hidden
+ type: text_default
+ weight: 1
+ settings: { }
+ third_party_settings: { }
+ region: content
+ field_class:
+ weight: 4
+ label: above
+ settings: { }
+ third_party_settings: { }
+ type: text_default
+ region: content
+ field_club_department:
+ weight: 5
+ label: above
+ settings:
+ link: true
+ third_party_settings: { }
+ type: entity_reference_label
+ region: content
+ field_faculty_incharge:
+ weight: 2
+ label: above
+ settings:
+ link: true
+ third_party_settings: { }
+ type: entity_reference_label
+ region: content
+ field_student_volunteer:
+ weight: 3
+ label: above
+ settings: { }
+ third_party_settings: { }
+ type: text_default
+ region: content
+ links:
+ weight: 0
+ region: content
+ settings: { }
+ third_party_settings: { }
+hidden:
+ field_club_category: true
+ langcode: true
diff --git a/modules/fahad/clubs/config/install/core.entity_view_display.node.clubs.teaser.yml b/modules/fahad/clubs/config/install/core.entity_view_display.node.clubs.teaser.yml
new file mode 100644
index 0000000..32ad599
--- /dev/null
+++ b/modules/fahad/clubs/config/install/core.entity_view_display.node.clubs.teaser.yml
@@ -0,0 +1,33 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.clubs.body
+ - node.type.clubs
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - clubs
+id: node.clubs.teaser
+targetEntityType: node
+bundle: clubs
+mode: teaser
+content:
+ body:
+ label: hidden
+ type: text_summary_or_trimmed
+ weight: 101
+ settings:
+ trim_length: 600
+ third_party_settings: { }
+ region: content
+ links:
+ weight: 100
+ settings: { }
+ third_party_settings: { }
+ region: content
+hidden:
+ langcode: true
diff --git a/modules/fahad/clubs/config/install/field.field.node.clubs.body.yml b/modules/fahad/clubs/config/install/field.field.node.clubs.body.yml
new file mode 100644
index 0000000..2cb335e
--- /dev/null
+++ b/modules/fahad/clubs/config/install/field.field.node.clubs.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.clubs
+ module:
+ - text
+ enforced:
+ module:
+ - clubs
+id: node.clubs.body
+field_name: body
+entity_type: node
+bundle: clubs
+label: Body
+description: ''
+required: false
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings:
+ display_summary: true
+field_type: text_with_summary
diff --git a/modules/fahad/clubs/config/install/field.field.node.clubs.field_class.yml b/modules/fahad/clubs/config/install/field.field.node.clubs.field_class.yml
new file mode 100644
index 0000000..d44cd98
--- /dev/null
+++ b/modules/fahad/clubs/config/install/field.field.node.clubs.field_class.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_class
+ - node.type.clubs
+ module:
+ - text
+ enforced:
+ module:
+ - clubs
+id: node.clubs.field_class
+field_name: field_class
+entity_type: node
+bundle: clubs
+label: class
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: text
diff --git a/modules/fahad/clubs/config/install/field.field.node.clubs.field_club_category.yml b/modules/fahad/clubs/config/install/field.field.node.clubs.field_club_category.yml
new file mode 100644
index 0000000..0a2ebea
--- /dev/null
+++ b/modules/fahad/clubs/config/install/field.field.node.clubs.field_club_category.yml
@@ -0,0 +1,31 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_club_category
+ - node.type.clubs
+ - taxonomy.vocabulary.club_category
+ enforced:
+ module:
+ - clubs
+id: node.clubs.field_club_category
+field_name: field_club_category
+entity_type: node
+bundle: clubs
+label: club_category
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:taxonomy_term'
+ handler_settings:
+ target_bundles:
+ club_category: club_category
+ sort:
+ field: name
+ direction: asc
+ auto_create: false
+ auto_create_bundle: ''
+field_type: entity_reference
diff --git a/modules/fahad/clubs/config/install/field.field.node.clubs.field_club_department.yml b/modules/fahad/clubs/config/install/field.field.node.clubs.field_club_department.yml
new file mode 100644
index 0000000..15e2472
--- /dev/null
+++ b/modules/fahad/clubs/config/install/field.field.node.clubs.field_club_department.yml
@@ -0,0 +1,30 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_club_department
+ - node.type.clubs
+ - node.type.department
+ enforced:
+ module:
+ - clubs
+id: node.clubs.field_club_department
+field_name: field_club_department
+entity_type: node
+bundle: clubs
+label: 'Club Department'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:node'
+ handler_settings:
+ target_bundles:
+ department: department
+ sort:
+ field: _none
+ auto_create: false
+ auto_create_bundle: ''
+field_type: entity_reference
diff --git a/modules/fahad/clubs/config/install/field.field.node.clubs.field_faculty_incharge.yml b/modules/fahad/clubs/config/install/field.field.node.clubs.field_faculty_incharge.yml
new file mode 100644
index 0000000..7eb94be
--- /dev/null
+++ b/modules/fahad/clubs/config/install/field.field.node.clubs.field_faculty_incharge.yml
@@ -0,0 +1,30 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_faculty_incharge
+ - node.type.clubs
+ - node.type.fac_page
+ enforced:
+ module:
+ - clubs
+id: node.clubs.field_faculty_incharge
+field_name: field_faculty_incharge
+entity_type: node
+bundle: clubs
+label: faculty_incharge
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:node'
+ handler_settings:
+ target_bundles:
+ fac_page: fac_page
+ sort:
+ field: _none
+ auto_create: false
+ auto_create_bundle: ''
+field_type: entity_reference
diff --git a/modules/fahad/clubs/config/install/field.field.node.clubs.field_student_volunteer.yml b/modules/fahad/clubs/config/install/field.field.node.clubs.field_student_volunteer.yml
new file mode 100644
index 0000000..8d42844
--- /dev/null
+++ b/modules/fahad/clubs/config/install/field.field.node.clubs.field_student_volunteer.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_student_volunteer
+ - node.type.clubs
+ module:
+ - text
+ enforced:
+ module:
+ - clubs
+id: node.clubs.field_student_volunteer
+field_name: field_student_volunteer
+entity_type: node
+bundle: clubs
+label: student_volunteer
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: text
diff --git a/modules/fahad/clubs/config/install/field.storage.node.field_class.yml b/modules/fahad/clubs/config/install/field.storage.node.field_class.yml
new file mode 100644
index 0000000..97a82f2
--- /dev/null
+++ b/modules/fahad/clubs/config/install/field.storage.node.field_class.yml
@@ -0,0 +1,23 @@
+uuid: 8293a5a2-e4b9-4b58-8e49-1dc73ef8a8b8
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ - text
+ enforced:
+ module:
+ - clubs
+id: node.field_class
+field_name: field_class
+entity_type: node
+type: text
+settings:
+ max_length: 255
+module: text
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/fahad/clubs/config/install/field.storage.node.field_club_category.yml b/modules/fahad/clubs/config/install/field.storage.node.field_club_category.yml
new file mode 100644
index 0000000..cece130
--- /dev/null
+++ b/modules/fahad/clubs/config/install/field.storage.node.field_club_category.yml
@@ -0,0 +1,23 @@
+uuid: b4c4d850-9c5a-4c72-9fd7-fce06eb39271
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ - taxonomy
+ enforced:
+ module:
+ - clubs
+id: node.field_club_category
+field_name: field_club_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/fahad/clubs/config/install/field.storage.node.field_club_department.yml b/modules/fahad/clubs/config/install/field.storage.node.field_club_department.yml
new file mode 100644
index 0000000..c66f5c3
--- /dev/null
+++ b/modules/fahad/clubs/config/install/field.storage.node.field_club_department.yml
@@ -0,0 +1,22 @@
+uuid: c63446e6-d556-4733-950b-296b97f50d1b
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - clubs
+id: node.field_club_department
+field_name: field_club_department
+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/fahad/clubs/config/install/field.storage.node.field_faculty_incharge.yml b/modules/fahad/clubs/config/install/field.storage.node.field_faculty_incharge.yml
new file mode 100644
index 0000000..d7f2272
--- /dev/null
+++ b/modules/fahad/clubs/config/install/field.storage.node.field_faculty_incharge.yml
@@ -0,0 +1,22 @@
+uuid: 35ea0028-c7c7-4200-9e19-318108f6925f
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - clubs
+id: node.field_faculty_incharge
+field_name: field_faculty_incharge
+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/fahad/clubs/config/install/field.storage.node.field_student_volunteer.yml b/modules/fahad/clubs/config/install/field.storage.node.field_student_volunteer.yml
new file mode 100644
index 0000000..7694eca
--- /dev/null
+++ b/modules/fahad/clubs/config/install/field.storage.node.field_student_volunteer.yml
@@ -0,0 +1,23 @@
+uuid: df0a956d-fbe0-4f92-8e51-b59d7ace8965
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ - text
+ enforced:
+ module:
+ - clubs
+id: node.field_student_volunteer
+field_name: field_student_volunteer
+entity_type: node
+type: text
+settings:
+ max_length: 255
+module: text
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/fahad/clubs/config/install/node.type.clubs.yml b/modules/fahad/clubs/config/install/node.type.clubs.yml
new file mode 100644
index 0000000..ced00f4
--- /dev/null
+++ b/modules/fahad/clubs/config/install/node.type.clubs.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - clubs
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: Clubs
+type: clubs
+description: 'College Clubs'
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: true
diff --git a/modules/fahad/clubs/config/install/taxonomy.vocabulary.club_category.yml b/modules/fahad/clubs/config/install/taxonomy.vocabulary.club_category.yml
new file mode 100644
index 0000000..aa7456a
--- /dev/null
+++ b/modules/fahad/clubs/config/install/taxonomy.vocabulary.club_category.yml
@@ -0,0 +1,12 @@
+uuid: b7da9ff8-ed69-4737-824e-883e436d8d70
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - clubs
+name: 'Club Category'
+vid: club_category
+description: 'Category of the Club'
+hierarchy: 0
+weight: 0
diff --git a/modules/fahad/clubs/templates/clubs.html.twig b/modules/fahad/clubs/templates/clubs.html.twig
new file mode 100644
index 0000000..91e43c8
--- /dev/null
+++ b/modules/fahad/clubs/templates/clubs.html.twig
@@ -0,0 +1 @@
+<!-- Add you custom twig html here --> \ No newline at end of file
diff --git a/modules/fahad/clubs/tests/src/Functional/LoadTest.php b/modules/fahad/clubs/tests/src/Functional/LoadTest.php
new file mode 100644
index 0000000..e78518a
--- /dev/null
+++ b/modules/fahad/clubs/tests/src/Functional/LoadTest.php
@@ -0,0 +1,46 @@
+<?php
+
+namespace Drupal\Tests\clubs\Functional;
+
+use Drupal\Core\Url;
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Simple test to ensure that main page loads with module enabled.
+ *
+ * @group clubs
+ */
+class LoadTest extends BrowserTestBase {
+
+ /**
+ * Modules to enable.
+ *
+ * @var array
+ */
+ public static $modules = ['clubs'];
+
+ /**
+ * 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/fahad/department/composer.json b/modules/fahad/department/composer.json
new file mode 100644
index 0000000..07d950c
--- /dev/null
+++ b/modules/fahad/department/composer.json
@@ -0,0 +1,14 @@
+{
+ "name": "drupal/department",
+ "type": "drupal-module",
+ "description": "My Awesome Module",
+ "keywords": ["Drupal"],
+ "license": "GPL-2.0+",
+ "homepage": "https://www.drupal.org/project/department",
+ "minimum-stability": "dev",
+ "support": {
+ "issues": "https://www.drupal.org/project/issues/department",
+ "source": "http://cgit.drupalcode.org/department"
+ },
+ "require": { }
+}
diff --git a/modules/fahad/department/config/install/core.entity_form_display.node.department.default.yml b/modules/fahad/department/config/install/core.entity_form_display.node.department.default.yml
new file mode 100644
index 0000000..4432971
--- /dev/null
+++ b/modules/fahad/department/config/install/core.entity_form_display.node.department.default.yml
@@ -0,0 +1,84 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.department.body
+ - node.type.department
+ module:
+ - path
+ - text
+ enforced:
+ module:
+ - department
+id: node.department.default
+targetEntityType: node
+bundle: department
+mode: default
+content:
+ body:
+ type: text_textarea_with_summary
+ weight: 121
+ settings:
+ rows: 9
+ summary_rows: 3
+ placeholder: ''
+ third_party_settings: { }
+ region: content
+ created:
+ type: datetime_timestamp
+ weight: 10
+ region: content
+ settings: { }
+ third_party_settings: { }
+ langcode:
+ type: language_select
+ weight: 2
+ region: content
+ settings:
+ include_locked: true
+ third_party_settings: { }
+ path:
+ type: path
+ weight: 30
+ region: content
+ settings: { }
+ third_party_settings: { }
+ promote:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 15
+ region: content
+ third_party_settings: { }
+ status:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 120
+ region: content
+ third_party_settings: { }
+ sticky:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 16
+ region: content
+ third_party_settings: { }
+ title:
+ type: string_textfield
+ weight: -5
+ region: content
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ uid:
+ type: entity_reference_autocomplete
+ weight: 5
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ region: content
+ third_party_settings: { }
+hidden: { }
diff --git a/modules/fahad/department/config/install/core.entity_view_display.node.department.default.yml b/modules/fahad/department/config/install/core.entity_view_display.node.department.default.yml
new file mode 100644
index 0000000..0f84292
--- /dev/null
+++ b/modules/fahad/department/config/install/core.entity_view_display.node.department.default.yml
@@ -0,0 +1,31 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.department.body
+ - node.type.department
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - department
+id: node.department.default
+targetEntityType: node
+bundle: department
+mode: default
+content:
+ body:
+ label: hidden
+ type: text_default
+ weight: 101
+ settings: { }
+ third_party_settings: { }
+ region: content
+ links:
+ weight: 100
+ settings: { }
+ third_party_settings: { }
+ region: content
+hidden:
+ langcode: true
diff --git a/modules/fahad/department/config/install/core.entity_view_display.node.department.teaser.yml b/modules/fahad/department/config/install/core.entity_view_display.node.department.teaser.yml
new file mode 100644
index 0000000..28c59d7
--- /dev/null
+++ b/modules/fahad/department/config/install/core.entity_view_display.node.department.teaser.yml
@@ -0,0 +1,33 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.department.body
+ - node.type.department
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - department
+id: node.department.teaser
+targetEntityType: node
+bundle: department
+mode: teaser
+content:
+ body:
+ label: hidden
+ type: text_summary_or_trimmed
+ weight: 101
+ settings:
+ trim_length: 600
+ third_party_settings: { }
+ region: content
+ links:
+ weight: 100
+ settings: { }
+ third_party_settings: { }
+ region: content
+hidden:
+ langcode: true
diff --git a/modules/fahad/department/config/install/field.field.node.department.body.yml b/modules/fahad/department/config/install/field.field.node.department.body.yml
new file mode 100644
index 0000000..fb7688f
--- /dev/null
+++ b/modules/fahad/department/config/install/field.field.node.department.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.department
+ module:
+ - text
+ enforced:
+ module:
+ - department
+id: node.department.body
+field_name: body
+entity_type: node
+bundle: department
+label: Body
+description: ''
+required: false
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings:
+ display_summary: true
+field_type: text_with_summary
diff --git a/modules/fahad/department/department.info.yml b/modules/fahad/department/department.info.yml
new file mode 100644
index 0000000..d7e6e9d
--- /dev/null
+++ b/modules/fahad/department/department.info.yml
@@ -0,0 +1,12 @@
+name: 'department'
+type: module
+description: 'My Awesome Module'
+core: 8.x
+package: 'Custom'
+dependencies:
+ - drupal:text
+ - drupal:path
+ - drupal:user
+ - drupal:node
+ - drupal:menu_ui
+ \ No newline at end of file
diff --git a/modules/fahad/department/department.module b/modules/fahad/department/department.module
new file mode 100644
index 0000000..6058d00
--- /dev/null
+++ b/modules/fahad/department/department.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains department.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function department_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the department module.
+ case 'help.page.department':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('My Awesome Module') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function department_theme() {
+ return [
+ 'department' => [
+ 'render element' => 'children',
+ ],
+ ];
+}
diff --git a/modules/fahad/department/templates/department.html.twig b/modules/fahad/department/templates/department.html.twig
new file mode 100644
index 0000000..91e43c8
--- /dev/null
+++ b/modules/fahad/department/templates/department.html.twig
@@ -0,0 +1 @@
+<!-- Add you custom twig html here --> \ No newline at end of file
diff --git a/modules/fahad/department/tests/src/Functional/LoadTest.php b/modules/fahad/department/tests/src/Functional/LoadTest.php
new file mode 100644
index 0000000..423abc0
--- /dev/null
+++ b/modules/fahad/department/tests/src/Functional/LoadTest.php
@@ -0,0 +1,46 @@
+<?php
+
+namespace Drupal\Tests\department\Functional;
+
+use Drupal\Core\Url;
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Simple test to ensure that main page loads with module enabled.
+ *
+ * @group department
+ */
+class LoadTest extends BrowserTestBase {
+
+ /**
+ * Modules to enable.
+ *
+ * @var array
+ */
+ public static $modules = ['department'];
+
+ /**
+ * 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/fahad/fac_page/composer.json b/modules/fahad/fac_page/composer.json
new file mode 100644
index 0000000..71278a9
--- /dev/null
+++ b/modules/fahad/fac_page/composer.json
@@ -0,0 +1,14 @@
+{
+ "name": "drupal/fac_page",
+ "type": "drupal-module",
+ "description": "My Awesome Module",
+ "keywords": ["Drupal"],
+ "license": "GPL-2.0+",
+ "homepage": "https://www.drupal.org/project/fac_page",
+ "minimum-stability": "dev",
+ "support": {
+ "issues": "https://www.drupal.org/project/issues/fac_page",
+ "source": "http://cgit.drupalcode.org/fac_page"
+ },
+ "require": { }
+}
diff --git a/modules/fahad/fac_page/config/install/core.entity_form_display.node.fac_page.default.yml b/modules/fahad/fac_page/config/install/core.entity_form_display.node.fac_page.default.yml
new file mode 100644
index 0000000..c1917d7
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/core.entity_form_display.node.fac_page.default.yml
@@ -0,0 +1,362 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.fac_page.body
+ - field.field.node.fac_page.field_affiliations
+ - field.field.node.fac_page.field_awards_and_fellowship
+ - field.field.node.fac_page.field_background
+ - field.field.node.fac_page.field_building_new
+ - field.field.node.fac_page.field_courses_taught
+ - field.field.node.fac_page.field_department
+ - field.field.node.fac_page.field_detailed_information_page
+ - field.field.node.fac_page.field_email_new
+ - field.field.node.fac_page.field_employment_category
+ - field.field.node.fac_page.field_faculty_cv
+ - field.field.node.fac_page.field_faculty_designation
+ - field.field.node.fac_page.field_faculty_photo
+ - field.field.node.fac_page.field_faculty_rd_proj
+ - field.field.node.fac_page.field_full_name
+ - field.field.node.fac_page.field_google_scholar_id
+ - field.field.node.fac_page.field_mobile_number_new
+ - field.field.node.fac_page.field_orcid
+ - field.field.node.fac_page.field_phone_no_new
+ - field.field.node.fac_page.field_research_area
+ - field.field.node.fac_page.field_room_no
+ - field.field.node.fac_page.field_scopus_id
+ - image.style.acad_fac_thumbnail_100_100_
+ - node.type.fac_page
+ enforced:
+ module:
+ - fac_page
+ module:
+ - field_group
+ - file
+ - image
+ - link
+ - name
+ - paragraphs
+ - path
+ - shs
+ - text
+third_party_settings:
+ field_group:
+ group_personal_information:
+ children:
+ - field_full_name
+ - field_faculty_designation
+ - field_employment_category
+ - field_faculty_photo
+ - field_faculty_cv
+ parent_name: ''
+ weight: 8
+ format_type: tab
+ format_settings:
+ id: ''
+ classes: ''
+ formatter: closed
+ description: ''
+ required_fields: true
+ label: 'Personal Information'
+ region: content
+ group_external_id:
+ children:
+ - field_google_scholar_id
+ - field_scopus_id
+ - field_orcid
+ parent_name: ''
+ weight: 10
+ format_type: tab
+ format_settings:
+ id: ''
+ classes: ''
+ formatter: closed
+ description: ''
+ required_fields: true
+ label: 'External Id'
+ region: content
+ group_contact_information:
+ children:
+ - field_building_new
+ - field_room_no
+ - field_email_new
+ - field_phone_no_new
+ - field_mobile_number_new
+ - field_detailed_information_page
+ parent_name: ''
+ weight: 11
+ format_type: tab
+ format_settings:
+ id: ''
+ classes: ''
+ formatter: closed
+ description: ''
+ required_fields: true
+ label: 'Contact Information'
+ region: content
+ group_research_data:
+ children:
+ - field_research_area
+ - field_faculty_rd_proj
+ parent_name: ''
+ weight: 12
+ format_type: tab
+ format_settings:
+ id: ''
+ classes: ''
+ formatter: closed
+ description: ''
+ required_fields: true
+ label: 'Research data'
+ region: content
+ group_teaching_and_professional_:
+ children:
+ - field_background
+ - field_affiliations
+ - field_awards_and_fellowship
+ - field_courses_taught
+ parent_name: ''
+ weight: 9
+ format_type: tab
+ format_settings:
+ id: ''
+ classes: ''
+ formatter: closed
+ description: ''
+ required_fields: true
+ label: 'Teaching and professional backgrounds'
+ region: content
+id: node.fac_page.default
+targetEntityType: node
+bundle: fac_page
+mode: default
+content:
+ created:
+ type: datetime_timestamp
+ weight: 3
+ region: content
+ settings: { }
+ third_party_settings: { }
+ field_affiliations:
+ weight: 25
+ settings:
+ rows: 5
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textarea
+ region: content
+ field_awards_and_fellowship:
+ weight: 26
+ settings:
+ rows: 5
+ placeholder: ''
+ third_party_settings: { }
+ type: text_textarea
+ region: content
+ field_background:
+ weight: 24
+ settings:
+ rows: 5
+ placeholder: ''
+ third_party_settings: { }
+ type: text_textarea
+ region: content
+ field_building_new:
+ weight: 14
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ region: content
+ field_courses_taught:
+ weight: 27
+ settings:
+ rows: 5
+ placeholder: ''
+ third_party_settings: { }
+ type: text_textarea
+ region: content
+ field_department:
+ weight: 30
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: entity_reference_autocomplete
+ region: content
+ field_detailed_information_page:
+ weight: 20
+ settings:
+ placeholder_url: ''
+ placeholder_title: ''
+ third_party_settings: { }
+ type: link_default
+ region: content
+ field_email_new:
+ weight: 16
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: email_default
+ region: content
+ field_employment_category:
+ weight: 21
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: entity_reference_autocomplete
+ region: content
+ field_faculty_cv:
+ weight: 23
+ settings:
+ progress_indicator: throbber
+ third_party_settings: { }
+ type: file_generic
+ region: content
+ field_faculty_designation:
+ weight: 20
+ settings: { }
+ third_party_settings: { }
+ type: options_select
+ region: content
+ field_faculty_photo:
+ weight: 22
+ settings:
+ progress_indicator: throbber
+ preview_image_style: acad_fac_thumbnail_100_100_
+ third_party_settings: { }
+ type: image_image
+ region: content
+ field_faculty_rd_proj:
+ type: entity_reference_paragraphs
+ weight: 29
+ settings:
+ title: Paragraph
+ title_plural: Paragraphs
+ edit_mode: open
+ add_mode: dropdown
+ form_display_mode: default
+ default_paragraph_type: ''
+ third_party_settings: { }
+ region: content
+ field_full_name:
+ weight: 19
+ settings: { }
+ third_party_settings: { }
+ type: name_default
+ region: content
+ field_google_scholar_id:
+ weight: 20
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ region: content
+ field_mobile_number_new:
+ weight: 19
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ region: content
+ field_orcid:
+ weight: 22
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: string_textfield
+ region: content
+ field_phone_no_new:
+ weight: 18
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: text_textfield
+ region: content
+ field_research_area:
+ weight: 28
+ settings:
+ force_deepest: true
+ create_new_items: false
+ create_new_levels: false
+ display_node_count: false
+ third_party_settings: { }
+ type: options_shs
+ region: content
+ field_room_no:
+ weight: 15
+ settings:
+ placeholder: ''
+ third_party_settings: { }
+ type: number
+ region: content
+ field_scopus_id:
+ weight: 21
+ 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:
+ body: true
diff --git a/modules/fahad/fac_page/config/install/core.entity_view_display.node.fac_page.teaser.yml b/modules/fahad/fac_page/config/install/core.entity_view_display.node.fac_page.teaser.yml
new file mode 100644
index 0000000..f868598
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/core.entity_view_display.node.fac_page.teaser.yml
@@ -0,0 +1,71 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.fac_page.body
+ - field.field.node.fac_page.field_affiliations
+ - field.field.node.fac_page.field_awards_and_fellowship
+ - field.field.node.fac_page.field_background
+ - field.field.node.fac_page.field_building_new
+ - field.field.node.fac_page.field_courses_taught
+ - field.field.node.fac_page.field_detailed_information_page
+ - field.field.node.fac_page.field_email_new
+ - field.field.node.fac_page.field_employment_category
+ - field.field.node.fac_page.field_faculty_cv
+ - field.field.node.fac_page.field_faculty_designation
+ - field.field.node.fac_page.field_faculty_photo
+ - field.field.node.fac_page.field_faculty_rd_proj
+ - field.field.node.fac_page.field_full_name
+ - field.field.node.fac_page.field_google_scholar_id
+ - field.field.node.fac_page.field_mobile_number_new
+ - field.field.node.fac_page.field_orcid
+ - field.field.node.fac_page.field_phone_no_new
+ - field.field.node.fac_page.field_research_area
+ - field.field.node.fac_page.field_room_no
+ - field.field.node.fac_page.field_scopus_id
+ - node.type.fac_page
+ enforced:
+ module:
+ - fac_page
+ module:
+ - text
+ - user
+id: node.fac_page.teaser
+targetEntityType: node
+bundle: fac_page
+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
+hidden:
+ field_affiliations: true
+ field_awards_and_fellowship: true
+ field_background: true
+ field_building_new: true
+ field_courses_taught: true
+ field_detailed_information_page: true
+ field_email_new: true
+ field_employment_category: true
+ field_faculty_cv: true
+ field_faculty_designation: true
+ field_faculty_photo: true
+ field_faculty_rd_proj: true
+ field_full_name: true
+ field_google_scholar_id: true
+ field_mobile_number_new: true
+ field_orcid: true
+ field_phone_no_new: true
+ field_research_area: true
+ field_room_no: true
+ field_scopus_id: true
+ langcode: true
diff --git a/modules/fahad/fac_page/config/install/field.field.node.fac_page.body.yml b/modules/fahad/fac_page/config/install/field.field.node.fac_page.body.yml
new file mode 100644
index 0000000..8711c16
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.field.node.fac_page.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.fac_page
+ enforced:
+ module:
+ - fac_page
+ module:
+ - text
+id: node.fac_page.body
+field_name: body
+entity_type: node
+bundle: fac_page
+label: Body
+description: ''
+required: false
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings:
+ display_summary: true
+field_type: text_with_summary
diff --git a/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_affiliations.yml b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_affiliations.yml
new file mode 100644
index 0000000..30af6ad
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_affiliations.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_affiliations
+ - node.type.fac_page
+ enforced:
+ module:
+ - fac_page
+id: node.fac_page.field_affiliations
+field_name: field_affiliations
+entity_type: node
+bundle: fac_page
+label: Affiliations
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string_long
diff --git a/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_awards_and_fellowship.yml b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_awards_and_fellowship.yml
new file mode 100644
index 0000000..852d615
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_awards_and_fellowship.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_awards_and_fellowship
+ - node.type.fac_page
+ enforced:
+ module:
+ - fac_page
+ module:
+ - text
+id: node.fac_page.field_awards_and_fellowship
+field_name: field_awards_and_fellowship
+entity_type: node
+bundle: fac_page
+label: 'Awards and Fellowship'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: text_long
diff --git a/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_background.yml b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_background.yml
new file mode 100644
index 0000000..bc5b753
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_background.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_background
+ - node.type.fac_page
+ enforced:
+ module:
+ - fac_page
+ module:
+ - text
+id: node.fac_page.field_background
+field_name: field_background
+entity_type: node
+bundle: fac_page
+label: Background
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: text_long
diff --git a/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_building_new.yml b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_building_new.yml
new file mode 100644
index 0000000..f60a44c
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_building_new.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_building_new
+ - node.type.fac_page
+ enforced:
+ module:
+ - fac_page
+id: node.fac_page.field_building_new
+field_name: field_building_new
+entity_type: node
+bundle: fac_page
+label: Building
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_courses_taught.yml b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_courses_taught.yml
new file mode 100644
index 0000000..e3e980a
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_courses_taught.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_courses_taught
+ - node.type.fac_page
+ enforced:
+ module:
+ - fac_page
+ module:
+ - text
+id: node.fac_page.field_courses_taught
+field_name: field_courses_taught
+entity_type: node
+bundle: fac_page
+label: 'Courses Taught'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: text_long
diff --git a/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_department.yml b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_department.yml
new file mode 100644
index 0000000..32d6392
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_department.yml
@@ -0,0 +1,30 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_department
+ - node.type.department
+ - node.type.fac_page
+ enforced:
+ module:
+ - fac_page
+id: node.fac_page.field_department
+field_name: field_department
+entity_type: node
+bundle: fac_page
+label: Department
+description: 'Academic Department Of Faculty'
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:node'
+ handler_settings:
+ target_bundles:
+ department: department
+ sort:
+ field: _none
+ auto_create: false
+ auto_create_bundle: ''
+field_type: entity_reference
diff --git a/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_detailed_information_page.yml b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_detailed_information_page.yml
new file mode 100644
index 0000000..9668b31
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_detailed_information_page.yml
@@ -0,0 +1,25 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_detailed_information_page
+ - node.type.fac_page
+ enforced:
+ module:
+ - fac_page
+ module:
+ - link
+id: node.fac_page.field_detailed_information_page
+field_name: field_detailed_information_page
+entity_type: node
+bundle: fac_page
+label: 'Detailed Information Page'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ link_type: 17
+ title: 1
+field_type: link
diff --git a/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_email_new.yml b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_email_new.yml
new file mode 100644
index 0000000..cb2198f
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_email_new.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_email_new
+ - node.type.fac_page
+ enforced:
+ module:
+ - fac_page
+id: node.fac_page.field_email_new
+field_name: field_email_new
+entity_type: node
+bundle: fac_page
+label: Email
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: email
diff --git a/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_employment_category.yml b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_employment_category.yml
new file mode 100644
index 0000000..200620f
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_employment_category.yml
@@ -0,0 +1,31 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_employment_category
+ - node.type.fac_page
+ - taxonomy.vocabulary.employment_category
+ enforced:
+ module:
+ - fac_page
+id: node.fac_page.field_employment_category
+field_name: field_employment_category
+entity_type: node
+bundle: fac_page
+label: 'Employment Category'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:taxonomy_term'
+ handler_settings:
+ target_bundles:
+ employment_category: employment_category
+ sort:
+ field: name
+ direction: asc
+ auto_create: false
+ auto_create_bundle: ''
+field_type: entity_reference
diff --git a/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_faculty_cv.yml b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_faculty_cv.yml
new file mode 100644
index 0000000..cd56bd6
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_faculty_cv.yml
@@ -0,0 +1,29 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_faculty_cv
+ - node.type.fac_page
+ enforced:
+ module:
+ - fac_page
+ module:
+ - file
+id: node.fac_page.field_faculty_cv
+field_name: field_faculty_cv
+entity_type: node
+bundle: fac_page
+label: 'Faculty CV'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ file_directory: 'faculty-cv/[date:custom:Y]-[date:custom:m]'
+ file_extensions: 'txt pdf doc docx'
+ max_filesize: ''
+ description_field: true
+ handler: 'default:file'
+ handler_settings: { }
+field_type: file
diff --git a/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_faculty_designation.yml b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_faculty_designation.yml
new file mode 100644
index 0000000..bca8b33
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_faculty_designation.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_faculty_designation
+ - node.type.fac_page
+ enforced:
+ module:
+ - fac_page
+ module:
+ - options
+id: node.fac_page.field_faculty_designation
+field_name: field_faculty_designation
+entity_type: node
+bundle: fac_page
+label: 'Faculty Designation'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: list_string
diff --git a/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_faculty_photo.yml b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_faculty_photo.yml
new file mode 100644
index 0000000..727a55a
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_faculty_photo.yml
@@ -0,0 +1,40 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_faculty_photo
+ - node.type.fac_page
+ enforced:
+ module:
+ - fac_page
+ module:
+ - image
+id: node.fac_page.field_faculty_photo
+field_name: field_faculty_photo
+entity_type: node
+bundle: fac_page
+label: 'Faculty Photo'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ file_directory: fac_images
+ file_extensions: 'png gif jpg jpeg'
+ max_filesize: ''
+ max_resolution: 400x600
+ min_resolution: ''
+ alt_field: true
+ alt_field_required: false
+ title_field: false
+ title_field_required: false
+ default_image:
+ uuid: ''
+ alt: ''
+ title: ''
+ width: 325
+ height: 325
+ handler: 'default:file'
+ handler_settings: { }
+field_type: image
diff --git a/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_full_name.yml b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_full_name.yml
new file mode 100644
index 0000000..83320ff
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_full_name.yml
@@ -0,0 +1,56 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_full_name
+ - node.type.fac_page
+ enforced:
+ module:
+ - fac_page
+ module:
+ - name
+id: node.fac_page.field_full_name
+field_name: field_full_name
+entity_type: node
+bundle: fac_page
+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/fahad/fac_page/config/install/field.field.node.fac_page.field_google_scholar_id.yml b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_google_scholar_id.yml
new file mode 100644
index 0000000..02b2260
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_google_scholar_id.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_google_scholar_id
+ - node.type.fac_page
+ enforced:
+ module:
+ - fac_page
+id: node.fac_page.field_google_scholar_id
+field_name: field_google_scholar_id
+entity_type: node
+bundle: fac_page
+label: 'Google Scholar ID'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_mobile_number_new.yml b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_mobile_number_new.yml
new file mode 100644
index 0000000..3180aed
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_mobile_number_new.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_mobile_number_new
+ - node.type.fac_page
+ enforced:
+ module:
+ - fac_page
+id: node.fac_page.field_mobile_number_new
+field_name: field_mobile_number_new
+entity_type: node
+bundle: fac_page
+label: 'Mobile Number'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_orcid.yml b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_orcid.yml
new file mode 100644
index 0000000..cdd4164
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_orcid.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_orcid
+ - node.type.fac_page
+ enforced:
+ module:
+ - fac_page
+id: node.fac_page.field_orcid
+field_name: field_orcid
+entity_type: node
+bundle: fac_page
+label: ORCID
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_phone_no_new.yml b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_phone_no_new.yml
new file mode 100644
index 0000000..24e2007
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_phone_no_new.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_phone_no_new
+ - node.type.fac_page
+ enforced:
+ module:
+ - fac_page
+ module:
+ - text
+id: node.fac_page.field_phone_no_new
+field_name: field_phone_no_new
+entity_type: node
+bundle: fac_page
+label: 'Phone No'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: text
diff --git a/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_research_area.yml b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_research_area.yml
new file mode 100644
index 0000000..d826359
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_research_area.yml
@@ -0,0 +1,31 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_research_area
+ - node.type.fac_page
+ - taxonomy.vocabulary.research_area
+ enforced:
+ module:
+ - fac_page
+id: node.fac_page.field_research_area
+field_name: field_research_area
+entity_type: node
+bundle: fac_page
+label: 'Research Area'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:taxonomy_term'
+ handler_settings:
+ target_bundles:
+ research_area: research_area
+ sort:
+ field: name
+ direction: asc
+ auto_create: true
+ auto_create_bundle: ''
+field_type: entity_reference
diff --git a/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_room_no.yml b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_room_no.yml
new file mode 100644
index 0000000..6285f49
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_room_no.yml
@@ -0,0 +1,25 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_room_no
+ - node.type.fac_page
+ enforced:
+ module:
+ - fac_page
+id: node.fac_page.field_room_no
+field_name: field_room_no
+entity_type: node
+bundle: fac_page
+label: 'Room No'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ min: null
+ max: null
+ prefix: ''
+ suffix: ''
+field_type: integer
diff --git a/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_scopus_id.yml b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_scopus_id.yml
new file mode 100644
index 0000000..c15c759
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.field.node.fac_page.field_scopus_id.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_scopus_id
+ - node.type.fac_page
+ enforced:
+ module:
+ - fac_page
+id: node.fac_page.field_scopus_id
+field_name: field_scopus_id
+entity_type: node
+bundle: fac_page
+label: 'Scopus ID'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/fahad/fac_page/config/install/field.storage.node.field_affiliations.yml b/modules/fahad/fac_page/config/install/field.storage.node.field_affiliations.yml
new file mode 100644
index 0000000..c6bfcee
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.storage.node.field_affiliations.yml
@@ -0,0 +1,24 @@
+uuid: 13386bb3-c21b-47b3-b6cd-7f592a10885a
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+ module:
+ - node
+_core:
+ default_config_hash: WDDW4sW7AQ_vknjgOkSbUIbAxW0zZOnhwKaMLdPkzEE
+id: node.field_affiliations
+field_name: field_affiliations
+entity_type: node
+type: string_long
+settings:
+ case_sensitive: false
+module: core
+locked: false
+cardinality: -1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/fahad/fac_page/config/install/field.storage.node.field_awards_and_fellowship.yml b/modules/fahad/fac_page/config/install/field.storage.node.field_awards_and_fellowship.yml
new file mode 100644
index 0000000..582195a
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.storage.node.field_awards_and_fellowship.yml
@@ -0,0 +1,24 @@
+uuid: a34567d0-47a3-4118-bc4a-e9cbbbf8d4f7
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+ module:
+ - node
+ - text
+_core:
+ default_config_hash: D6X6nBMj1l7Ge-_rRN4zWqbuSQck6aDu9LCoBe9SnbI
+id: node.field_awards_and_fellowship
+field_name: field_awards_and_fellowship
+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/fahad/fac_page/config/install/field.storage.node.field_background.yml b/modules/fahad/fac_page/config/install/field.storage.node.field_background.yml
new file mode 100644
index 0000000..8a6b3da
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.storage.node.field_background.yml
@@ -0,0 +1,27 @@
+uuid: b28f6b50-7a03-4b2f-94e5-15a0ecb37fc4
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+ module:
+ - node
+ - text
+_core:
+ default_config_hash: IUyxtCXqSW6iRX_Igy-_kWjrxhheV0CB7L96k9VtDCY
+ enforced:
+ module:
+ - fac_page
+id: node.field_background
+field_name: field_background
+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/fahad/fac_page/config/install/field.storage.node.field_building_new.yml b/modules/fahad/fac_page/config/install/field.storage.node.field_building_new.yml
new file mode 100644
index 0000000..a6de0a4
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.storage.node.field_building_new.yml
@@ -0,0 +1,26 @@
+uuid: e8fd554d-85a1-406f-863e-e573d845e586
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+ module:
+ - node
+_core:
+ default_config_hash: bz-W3lCnzscNglfrWpEqIFxTThTZXpIg6AzjhxqtSi0
+id: node.field_building_new
+field_name: field_building_new
+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/fahad/fac_page/config/install/field.storage.node.field_courses_taught.yml b/modules/fahad/fac_page/config/install/field.storage.node.field_courses_taught.yml
new file mode 100644
index 0000000..17f6883
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.storage.node.field_courses_taught.yml
@@ -0,0 +1,24 @@
+uuid: d920a923-d1a9-431e-a4c9-c35ddce87796
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+ module:
+ - node
+ - text
+_core:
+ default_config_hash: OmJ_huKX8bZC5XV5NeklV6zNu73X6HzMIM6wL5FMuFg
+id: node.field_courses_taught
+field_name: field_courses_taught
+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/fahad/fac_page/config/install/field.storage.node.field_department.yml b/modules/fahad/fac_page/config/install/field.storage.node.field_department.yml
new file mode 100644
index 0000000..5f0007a
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.storage.node.field_department.yml
@@ -0,0 +1,22 @@
+uuid: a15bf49c-ca1a-4016-8b01-be2949ec6bda
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - fac_page
+id: node.field_department
+field_name: field_department
+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/fahad/fac_page/config/install/field.storage.node.field_detailed_information_page.yml b/modules/fahad/fac_page/config/install/field.storage.node.field_detailed_information_page.yml
new file mode 100644
index 0000000..1e502d5
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.storage.node.field_detailed_information_page.yml
@@ -0,0 +1,24 @@
+uuid: 56137caa-2fc1-482e-84b8-13c20a649476
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+ module:
+ - link
+ - node
+_core:
+ default_config_hash: BIGIJm07kR8QukQgH-vyNyykOgSGev6mi-eB0Zma2hc
+id: node.field_detailed_information_page
+field_name: field_detailed_information_page
+entity_type: node
+type: link
+settings: { }
+module: link
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/fahad/fac_page/config/install/field.storage.node.field_email_new.yml b/modules/fahad/fac_page/config/install/field.storage.node.field_email_new.yml
new file mode 100644
index 0000000..58431a7
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.storage.node.field_email_new.yml
@@ -0,0 +1,23 @@
+uuid: 95d7fda5-b48f-4b72-bf62-14bba86a0829
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+ module:
+ - node
+_core:
+ default_config_hash: TFPXeBTEXd2wKcUm5vWDIbDaygb7q-urjd-FpXTVeqw
+id: node.field_email_new
+field_name: field_email_new
+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/fahad/fac_page/config/install/field.storage.node.field_employment_category.yml b/modules/fahad/fac_page/config/install/field.storage.node.field_employment_category.yml
new file mode 100644
index 0000000..203c963
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.storage.node.field_employment_category.yml
@@ -0,0 +1,25 @@
+uuid: 0a1c90bd-7d18-4c8f-b0a5-c3c9b85d0d72
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+ module:
+ - node
+ - taxonomy
+_core:
+ default_config_hash: 4nCv0C0XEvZy6LNfY10emV5Z02DbCNuxXru5Tqv1lzo
+id: node.field_employment_category
+field_name: field_employment_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/fahad/fac_page/config/install/field.storage.node.field_faculty_cv.yml b/modules/fahad/fac_page/config/install/field.storage.node.field_faculty_cv.yml
new file mode 100644
index 0000000..aed5173
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.storage.node.field_faculty_cv.yml
@@ -0,0 +1,28 @@
+uuid: a745585a-d589-4d42-8f7a-af5b18a3f04f
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+ module:
+ - file
+ - node
+_core:
+ default_config_hash: K0zvb57nMxH2hiM7l3r6C39k-FlUMN1a7YwYhuXWFjs
+id: node.field_faculty_cv
+field_name: field_faculty_cv
+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/fahad/fac_page/config/install/field.storage.node.field_faculty_designation.yml b/modules/fahad/fac_page/config/install/field.storage.node.field_faculty_designation.yml
new file mode 100644
index 0000000..6d68007
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.storage.node.field_faculty_designation.yml
@@ -0,0 +1,35 @@
+uuid: 08e957d8-54ab-47a8-95e3-23584cd40c26
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+ module:
+ - node
+ - options
+_core:
+ default_config_hash: 17YDHkEImDDgcJCgWk-SrbVFJxYlX18Ri7mPpg8rUNE
+id: node.field_faculty_designation
+field_name: field_faculty_designation
+entity_type: node
+type: list_string
+settings:
+ allowed_values:
+ -
+ value: Professor
+ label: Professor
+ -
+ value: 'Associate Prof.'
+ label: 'Associate Prof.'
+ -
+ value: 'Assistant Prof.'
+ label: 'Assistant Prof.'
+ allowed_values_function: ''
+module: options
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/fahad/fac_page/config/install/field.storage.node.field_faculty_photo.yml b/modules/fahad/fac_page/config/install/field.storage.node.field_faculty_photo.yml
new file mode 100644
index 0000000..cc26fb8
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.storage.node.field_faculty_photo.yml
@@ -0,0 +1,35 @@
+uuid: dd086e58-0ecc-41fe-a11d-51b33c764b13
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+ module:
+ - file
+ - image
+ - node
+_core:
+ default_config_hash: iPfW9_EnBa_lmDmKfDE83LxZOEwb6ggSSeZpn0kVOJk
+id: node.field_faculty_photo
+field_name: field_faculty_photo
+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/fahad/fac_page/config/install/field.storage.node.field_full_name.yml b/modules/fahad/fac_page/config/install/field.storage.node.field_full_name.yml
new file mode 100644
index 0000000..5c3ca8b
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.storage.node.field_full_name.yml
@@ -0,0 +1,94 @@
+uuid: 75dcedd0-a791-4fe2-8947-577a24b73b12
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+ module:
+ - name
+ - node
+_core:
+ default_config_hash: cGX43Qhp8PlQHU6MJnzXb5kzeHvoIJwQWG7I31pfYQM
+id: node.field_full_name
+field_name: field_full_name
+entity_type: node
+type: name
+settings:
+ components:
+ title: true
+ given: true
+ middle: true
+ family: true
+ generational: false
+ credentials: false
+ minimum_components:
+ given: true
+ family: true
+ title: false
+ middle: false
+ generational: false
+ credentials: false
+ labels:
+ title: Title
+ given: 'First name'
+ middle: 'Middle name'
+ family: 'Last name'
+ 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/fahad/fac_page/config/install/field.storage.node.field_google_scholar_id.yml b/modules/fahad/fac_page/config/install/field.storage.node.field_google_scholar_id.yml
new file mode 100644
index 0000000..1e276f4
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.storage.node.field_google_scholar_id.yml
@@ -0,0 +1,26 @@
+uuid: 51e1157d-7e0b-45c5-bc18-cf8a125a2c8e
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+ module:
+ - node
+_core:
+ default_config_hash: VNevItPdotSr8nh0hCyYYTMHVcFe94giH87n2o4yoYs
+id: node.field_google_scholar_id
+field_name: field_google_scholar_id
+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/fahad/fac_page/config/install/field.storage.node.field_mobile_number_new.yml b/modules/fahad/fac_page/config/install/field.storage.node.field_mobile_number_new.yml
new file mode 100644
index 0000000..17061a0
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.storage.node.field_mobile_number_new.yml
@@ -0,0 +1,26 @@
+uuid: ba313479-74bf-4e1a-82d1-6781b2de0068
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+ module:
+ - node
+_core:
+ default_config_hash: PUgaWJKvV4bonhlcgMngfpHazmXGNQhJJtzT6pxa8-E
+id: node.field_mobile_number_new
+field_name: field_mobile_number_new
+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/fahad/fac_page/config/install/field.storage.node.field_orcid.yml b/modules/fahad/fac_page/config/install/field.storage.node.field_orcid.yml
new file mode 100644
index 0000000..00ace87
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.storage.node.field_orcid.yml
@@ -0,0 +1,26 @@
+uuid: 673736bf-6f60-46c1-af82-c930b824b2bf
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+ module:
+ - node
+_core:
+ default_config_hash: ihgtKavET7YaK26AhyVbCmU5YG5Tk0CE8ia5n9pDAv4
+id: node.field_orcid
+field_name: field_orcid
+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/fahad/fac_page/config/install/field.storage.node.field_phone_no_new.yml b/modules/fahad/fac_page/config/install/field.storage.node.field_phone_no_new.yml
new file mode 100644
index 0000000..4ba9785
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.storage.node.field_phone_no_new.yml
@@ -0,0 +1,25 @@
+uuid: daf9a7e7-e4e4-452c-9c9d-dd5e604551da
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+ module:
+ - node
+ - text
+_core:
+ default_config_hash: ZK7uwxG0_z1tTD5q0QUyNzDy2cXVyJtj0fugjSAyX6I
+id: node.field_phone_no_new
+field_name: field_phone_no_new
+entity_type: node
+type: text
+settings:
+ max_length: 255
+module: text
+locked: false
+cardinality: -1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/fahad/fac_page/config/install/field.storage.node.field_research_area.yml b/modules/fahad/fac_page/config/install/field.storage.node.field_research_area.yml
new file mode 100644
index 0000000..2230f0e
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.storage.node.field_research_area.yml
@@ -0,0 +1,25 @@
+uuid: 19b6987f-3954-4255-a8e6-0d4e8ab61a04
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+ module:
+ - node
+ - taxonomy
+_core:
+ default_config_hash: 1oCrwI1pKNr8auk3sl0t0MWtqz9ShRf5I9JuqJjsPmE
+id: node.field_research_area
+field_name: field_research_area
+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/fahad/fac_page/config/install/field.storage.node.field_room_no.yml b/modules/fahad/fac_page/config/install/field.storage.node.field_room_no.yml
new file mode 100644
index 0000000..7463631
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.storage.node.field_room_no.yml
@@ -0,0 +1,25 @@
+uuid: 9b16bb6c-d6df-4815-9d76-cfda8dfc6c95
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+ module:
+ - node
+_core:
+ default_config_hash: L62WpCYGJEQ3H4Ph0fU0Uh4Hykg9pTYs7Joc30mzHzc
+id: node.field_room_no
+field_name: field_room_no
+entity_type: node
+type: integer
+settings:
+ unsigned: false
+ size: normal
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/fahad/fac_page/config/install/field.storage.node.field_scopus_id.yml b/modules/fahad/fac_page/config/install/field.storage.node.field_scopus_id.yml
new file mode 100644
index 0000000..fdad156
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/field.storage.node.field_scopus_id.yml
@@ -0,0 +1,26 @@
+uuid: 33999a6b-7796-4b59-9bd6-2cb4b51943ab
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+ module:
+ - node
+_core:
+ default_config_hash: Gnba7WoHoCyAXvpR2GqK1JGIVlz7gYTj1_aL6eKH_AY
+id: node.field_scopus_id
+field_name: field_scopus_id
+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/fahad/fac_page/config/install/image.style.acad_fac_thumbnail_100_100_.yml b/modules/fahad/fac_page/config/install/image.style.acad_fac_thumbnail_100_100_.yml
new file mode 100644
index 0000000..5900267
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/image.style.acad_fac_thumbnail_100_100_.yml
@@ -0,0 +1,20 @@
+uuid: b0dfb3f3-14f0-4350-8c75-749dcb0e0179
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+_core:
+ default_config_hash: obA8NilWYOPv-BY-Ds6yWCu96ELQKg-WwxCoEUw5Xgg
+name: acad_fac_thumbnail_100_100_
+label: 'Acad Fac Thumbnail (100×100)'
+effects:
+ 1ec55067-0450-47fd-bd92-779adb0a348b:
+ uuid: 1ec55067-0450-47fd-bd92-779adb0a348b
+ id: image_scale
+ weight: 1
+ data:
+ width: 100
+ height: 100
+ upscale: false
diff --git a/modules/fahad/fac_page/config/install/node.type.department.yml b/modules/fahad/fac_page/config/install/node.type.department.yml
new file mode 100644
index 0000000..51a955e
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/node.type.department.yml
@@ -0,0 +1,23 @@
+uuid: ad1a39f1-b474-4889-af2b-0ab9875cef90
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+ module:
+ - menu_ui
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+
+
+name: Department
+type: department
+description: 'Academic Department'
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: true
diff --git a/modules/fahad/fac_page/config/install/node.type.fac_page.yml b/modules/fahad/fac_page/config/install/node.type.fac_page.yml
new file mode 100644
index 0000000..f50c7dc
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/node.type.fac_page.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+ module:
+ - menu_ui
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: 'Faculty Page'
+type: fac_page
+description: 'Content template for opening Faculty Page'
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: false
diff --git a/modules/fahad/fac_page/config/install/taxonomy.vocabulary.employment_category.yml b/modules/fahad/fac_page/config/install/taxonomy.vocabulary.employment_category.yml
new file mode 100644
index 0000000..c91f82c
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/taxonomy.vocabulary.employment_category.yml
@@ -0,0 +1,14 @@
+uuid: 3101cede-85bf-4434-af74-04840c9536b5
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+_core:
+ default_config_hash: r0SU6izUbpSAk_pWkCjaiXOFXC9WkeCMJXrTDpkCs84
+name: 'Employment Category'
+vid: employment_category
+description: 'Contains the Faculty Employment Category'
+hierarchy: 0
+weight: 0
diff --git a/modules/fahad/fac_page/config/install/taxonomy.vocabulary.research_area.yml b/modules/fahad/fac_page/config/install/taxonomy.vocabulary.research_area.yml
new file mode 100644
index 0000000..b2a1aa5
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/taxonomy.vocabulary.research_area.yml
@@ -0,0 +1,14 @@
+uuid: d8a68894-5093-4bfa-b37a-39709a0cc7b3
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - fac_page
+_core:
+ default_config_hash: hnTbw4FW7qH_Fc0M3RyzxdDzVdz75MFkD-lHgffTLzM
+name: 'Research Area'
+vid: research_area
+description: 'Research Area terms'
+hierarchy: 0
+weight: 0
diff --git a/modules/fahad/fac_page/fac_page.info.yml b/modules/fahad/fac_page/fac_page.info.yml
new file mode 100644
index 0000000..1d08e57
--- /dev/null
+++ b/modules/fahad/fac_page/fac_page.info.yml
@@ -0,0 +1,16 @@
+name: 'fac_page'
+type: module
+description: 'My Awesome Module'
+core: 8.x
+package: 'Custom'
+dependencies:
+ - drupal:file
+ - drupal:image
+ - drupal:link
+ - drupal:name
+ - drupal:path
+ - drupal:text
+ - drupal:options
+ - drupal:user
+ - ds:ds
+ - pathauto:pathauto
diff --git a/modules/fahad/fac_page/fac_page.module b/modules/fahad/fac_page/fac_page.module
new file mode 100644
index 0000000..4187ac0
--- /dev/null
+++ b/modules/fahad/fac_page/fac_page.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains fac_page.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function fac_page_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the fac_page module.
+ case 'help.page.fac_page':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('My Awesome Module') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function fac_page_theme() {
+ return [
+ 'fac_page' => [
+ 'render element' => 'children',
+ ],
+ ];
+}
diff --git a/modules/fahad/fac_page/templates/fac-page.html.twig b/modules/fahad/fac_page/templates/fac-page.html.twig
new file mode 100644
index 0000000..91e43c8
--- /dev/null
+++ b/modules/fahad/fac_page/templates/fac-page.html.twig
@@ -0,0 +1 @@
+<!-- Add you custom twig html here --> \ No newline at end of file
diff --git a/modules/fahad/fac_page/tests/src/Functional/LoadTest.php b/modules/fahad/fac_page/tests/src/Functional/LoadTest.php
new file mode 100644
index 0000000..47f0ae3
--- /dev/null
+++ b/modules/fahad/fac_page/tests/src/Functional/LoadTest.php
@@ -0,0 +1,46 @@
+<?php
+
+namespace Drupal\Tests\fac_page\Functional;
+
+use Drupal\Core\Url;
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Simple test to ensure that main page loads with module enabled.
+ *
+ * @group fac_page
+ */
+class LoadTest extends BrowserTestBase {
+
+ /**
+ * Modules to enable.
+ *
+ * @var array
+ */
+ public static $modules = ['fac_page'];
+
+ /**
+ * 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/fahad/facility/composer.json b/modules/fahad/facility/composer.json
new file mode 100644
index 0000000..8429c38
--- /dev/null
+++ b/modules/fahad/facility/composer.json
@@ -0,0 +1,14 @@
+{
+ "name": "drupal/facility",
+ "type": "drupal-module",
+ "description": "My Awesome Module",
+ "keywords": ["Drupal"],
+ "license": "GPL-2.0+",
+ "homepage": "https://www.drupal.org/project/facility",
+ "minimum-stability": "dev",
+ "support": {
+ "issues": "https://www.drupal.org/project/issues/facility",
+ "source": "http://cgit.drupalcode.org/facility"
+ },
+ "require": { }
+}
diff --git a/modules/fahad/facility/config/install/core.entity_form_display.node.facility.default.yml b/modules/fahad/facility/config/install/core.entity_form_display.node.facility.default.yml
new file mode 100644
index 0000000..6be20e0
--- /dev/null
+++ b/modules/fahad/facility/config/install/core.entity_form_display.node.facility.default.yml
@@ -0,0 +1,105 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.facility.body
+ - field.field.node.facility.field_facility_
+ - field.field.node.facility.field_facility_image
+ - image.style.thumbnail
+ - node.type.facility
+ module:
+ - image
+ - link
+ - path
+ - text
+ enforced:
+ module:
+ - facility
+id: node.facility.default
+targetEntityType: node
+bundle: facility
+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_facility_:
+ weight: 123
+ settings:
+ placeholder_url: ''
+ placeholder_title: ''
+ third_party_settings: { }
+ type: link_default
+ region: content
+ field_facility_image:
+ weight: 122
+ settings:
+ progress_indicator: throbber
+ preview_image_style: thumbnail
+ third_party_settings: { }
+ type: image_image
+ region: content
+ langcode:
+ type: language_select
+ weight: 2
+ region: content
+ settings:
+ include_locked: true
+ third_party_settings: { }
+ path:
+ type: path
+ weight: 30
+ region: content
+ settings: { }
+ third_party_settings: { }
+ promote:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 15
+ region: content
+ third_party_settings: { }
+ status:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 120
+ region: content
+ third_party_settings: { }
+ sticky:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 16
+ region: content
+ third_party_settings: { }
+ title:
+ type: string_textfield
+ weight: -5
+ region: content
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ uid:
+ type: entity_reference_autocomplete
+ weight: 5
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ region: content
+ third_party_settings: { }
+hidden: { }
diff --git a/modules/fahad/facility/config/install/core.entity_view_display.node.facility.default.yml b/modules/fahad/facility/config/install/core.entity_view_display.node.facility.default.yml
new file mode 100644
index 0000000..71e3c6f
--- /dev/null
+++ b/modules/fahad/facility/config/install/core.entity_view_display.node.facility.default.yml
@@ -0,0 +1,56 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.facility.body
+ - field.field.node.facility.field_facility_
+ - field.field.node.facility.field_facility_image
+ - node.type.facility
+ module:
+ - image
+ - link
+ - text
+ - user
+ enforced:
+ module:
+ - facility
+id: node.facility.default
+targetEntityType: node
+bundle: facility
+mode: default
+content:
+ body:
+ label: hidden
+ type: text_default
+ weight: 101
+ settings: { }
+ third_party_settings: { }
+ region: content
+ field_facility_:
+ weight: 103
+ label: above
+ settings:
+ trim_length: 80
+ url_only: false
+ url_plain: false
+ rel: ''
+ target: ''
+ third_party_settings: { }
+ type: link
+ region: content
+ field_facility_image:
+ weight: 102
+ label: above
+ settings:
+ image_style: ''
+ image_link: ''
+ third_party_settings: { }
+ type: image
+ region: content
+ links:
+ weight: 100
+ settings: { }
+ third_party_settings: { }
+ region: content
+hidden:
+ langcode: true
diff --git a/modules/fahad/facility/config/install/core.entity_view_display.node.facility.teaser.yml b/modules/fahad/facility/config/install/core.entity_view_display.node.facility.teaser.yml
new file mode 100644
index 0000000..035fe40
--- /dev/null
+++ b/modules/fahad/facility/config/install/core.entity_view_display.node.facility.teaser.yml
@@ -0,0 +1,33 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.facility.body
+ - node.type.facility
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - facility
+id: node.facility.teaser
+targetEntityType: node
+bundle: facility
+mode: teaser
+content:
+ body:
+ label: hidden
+ type: text_summary_or_trimmed
+ weight: 101
+ settings:
+ trim_length: 600
+ third_party_settings: { }
+ region: content
+ links:
+ weight: 100
+ settings: { }
+ third_party_settings: { }
+ region: content
+hidden:
+ langcode: true
diff --git a/modules/fahad/facility/config/install/field.field.node.facility.body.yml b/modules/fahad/facility/config/install/field.field.node.facility.body.yml
new file mode 100644
index 0000000..19634de
--- /dev/null
+++ b/modules/fahad/facility/config/install/field.field.node.facility.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.facility
+ module:
+ - text
+ enforced:
+ module:
+ - facility
+id: node.facility.body
+field_name: body
+entity_type: node
+bundle: facility
+label: Body
+description: ''
+required: false
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings:
+ display_summary: true
+field_type: text_with_summary
diff --git a/modules/fahad/facility/config/install/field.field.node.facility.field_facility_.yml b/modules/fahad/facility/config/install/field.field.node.facility.field_facility_.yml
new file mode 100644
index 0000000..96146f2
--- /dev/null
+++ b/modules/fahad/facility/config/install/field.field.node.facility.field_facility_.yml
@@ -0,0 +1,25 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_facility_
+ - node.type.facility
+ module:
+ - link
+ enforced:
+ module:
+ - facility
+id: node.facility.field_facility_
+field_name: field_facility_
+entity_type: node
+bundle: facility
+label: 'facility link'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ link_type: 17
+ title: 1
+field_type: link
diff --git a/modules/fahad/facility/config/install/field.field.node.facility.field_facility_image.yml b/modules/fahad/facility/config/install/field.field.node.facility.field_facility_image.yml
new file mode 100644
index 0000000..3cbc23c
--- /dev/null
+++ b/modules/fahad/facility/config/install/field.field.node.facility.field_facility_image.yml
@@ -0,0 +1,40 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_facility_image
+ - node.type.facility
+ module:
+ - image
+ enforced:
+ module:
+ - facility
+id: node.facility.field_facility_image
+field_name: field_facility_image
+entity_type: node
+bundle: facility
+label: 'facility image'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ file_directory: '[date:custom:Y]-[date:custom:m]'
+ file_extensions: 'png gif jpg jpeg'
+ max_filesize: ''
+ max_resolution: ''
+ min_resolution: ''
+ alt_field: true
+ alt_field_required: true
+ title_field: 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/fahad/facility/config/install/field.storage.node.field_facility_.yml b/modules/fahad/facility/config/install/field.storage.node.field_facility_.yml
new file mode 100644
index 0000000..02b2c92
--- /dev/null
+++ b/modules/fahad/facility/config/install/field.storage.node.field_facility_.yml
@@ -0,0 +1,22 @@
+uuid: 0fb10736-72c3-46f9-bd50-0380df9ca0e8
+langcode: en
+status: true
+dependencies:
+ module:
+ - link
+ - node
+ enforced:
+ module:
+ - facility
+id: node.field_facility_
+field_name: field_facility_
+entity_type: node
+type: link
+settings: { }
+module: link
+locked: false
+cardinality: -1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/fahad/facility/config/install/field.storage.node.field_facility_image.yml b/modules/fahad/facility/config/install/field.storage.node.field_facility_image.yml
new file mode 100644
index 0000000..b1dc938
--- /dev/null
+++ b/modules/fahad/facility/config/install/field.storage.node.field_facility_image.yml
@@ -0,0 +1,33 @@
+uuid: e5ae6aa1-7ca8-47bb-99a1-926d47c3427f
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - image
+ - node
+ enforced:
+ module:
+ - facility
+id: node.field_facility_image
+field_name: field_facility_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/fahad/facility/config/install/node.type.facility.yml b/modules/fahad/facility/config/install/node.type.facility.yml
new file mode 100644
index 0000000..37eee05
--- /dev/null
+++ b/modules/fahad/facility/config/install/node.type.facility.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - facility
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: Facility
+type: facility
+description: ''
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: true
diff --git a/modules/fahad/facility/facility.info.yml b/modules/fahad/facility/facility.info.yml
new file mode 100644
index 0000000..97a55f0
--- /dev/null
+++ b/modules/fahad/facility/facility.info.yml
@@ -0,0 +1,14 @@
+name: 'facility'
+type: module
+description: 'My Awesome Module'
+core: 8.x
+package: 'Custom'
+dependencies:
+ - drupal:text
+ - drupal:image
+ - drupal:link
+ - drupal:path
+ - drupal:user
+ - drupal:node
+ - drupal:file
+ - drupal:menu_ui
diff --git a/modules/fahad/facility/facility.module b/modules/fahad/facility/facility.module
new file mode 100644
index 0000000..ee4bd23
--- /dev/null
+++ b/modules/fahad/facility/facility.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains facility.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function facility_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the facility module.
+ case 'help.page.facility':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('My Awesome Module') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function facility_theme() {
+ return [
+ 'facility' => [
+ 'render element' => 'children',
+ ],
+ ];
+}
diff --git a/modules/fahad/facility/templates/facility.html.twig b/modules/fahad/facility/templates/facility.html.twig
new file mode 100644
index 0000000..91e43c8
--- /dev/null
+++ b/modules/fahad/facility/templates/facility.html.twig
@@ -0,0 +1 @@
+<!-- Add you custom twig html here --> \ No newline at end of file
diff --git a/modules/fahad/facility/tests/src/Functional/LoadTest.php b/modules/fahad/facility/tests/src/Functional/LoadTest.php
new file mode 100644
index 0000000..10db5fe
--- /dev/null
+++ b/modules/fahad/facility/tests/src/Functional/LoadTest.php
@@ -0,0 +1,46 @@
+<?php
+
+namespace Drupal\Tests\facility\Functional;
+
+use Drupal\Core\Url;
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Simple test to ensure that main page loads with module enabled.
+ *
+ * @group facility
+ */
+class LoadTest extends BrowserTestBase {
+
+ /**
+ * Modules to enable.
+ *
+ * @var array
+ */
+ public static $modules = ['facility'];
+
+ /**
+ * 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/fahad/faq/composer.json b/modules/fahad/faq/composer.json
new file mode 100644
index 0000000..17c3f4b
--- /dev/null
+++ b/modules/fahad/faq/composer.json
@@ -0,0 +1,14 @@
+{
+ "name": "drupal/faq",
+ "type": "drupal-module",
+ "description": "My Awesome Module",
+ "keywords": ["Drupal"],
+ "license": "GPL-2.0+",
+ "homepage": "https://www.drupal.org/project/faq",
+ "minimum-stability": "dev",
+ "support": {
+ "issues": "https://www.drupal.org/project/issues/faq",
+ "source": "http://cgit.drupalcode.org/faq"
+ },
+ "require": { }
+}
diff --git a/modules/fahad/faq/config/install/core.entity_form_display.node.faq.default.yml b/modules/fahad/faq/config/install/core.entity_form_display.node.faq.default.yml
new file mode 100644
index 0000000..e33492b
--- /dev/null
+++ b/modules/fahad/faq/config/install/core.entity_form_display.node.faq.default.yml
@@ -0,0 +1,84 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.faq.body
+ - node.type.faq
+ module:
+ - path
+ - text
+ enforced:
+ module:
+ - faq
+id: node.faq.default
+targetEntityType: node
+bundle: faq
+mode: default
+content:
+ body:
+ type: text_textarea_with_summary
+ weight: 121
+ settings:
+ rows: 9
+ summary_rows: 3
+ placeholder: ''
+ third_party_settings: { }
+ region: content
+ created:
+ type: datetime_timestamp
+ weight: 10
+ region: content
+ settings: { }
+ third_party_settings: { }
+ langcode:
+ type: language_select
+ weight: 2
+ region: content
+ settings:
+ include_locked: true
+ third_party_settings: { }
+ path:
+ type: path
+ weight: 30
+ region: content
+ settings: { }
+ third_party_settings: { }
+ promote:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 15
+ region: content
+ third_party_settings: { }
+ status:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 120
+ region: content
+ third_party_settings: { }
+ sticky:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 16
+ region: content
+ third_party_settings: { }
+ title:
+ type: string_textfield
+ weight: -5
+ region: content
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ uid:
+ type: entity_reference_autocomplete
+ weight: 5
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ region: content
+ third_party_settings: { }
+hidden: { }
diff --git a/modules/fahad/faq/config/install/core.entity_view_display.node.faq.default.yml b/modules/fahad/faq/config/install/core.entity_view_display.node.faq.default.yml
new file mode 100644
index 0000000..4524968
--- /dev/null
+++ b/modules/fahad/faq/config/install/core.entity_view_display.node.faq.default.yml
@@ -0,0 +1,31 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.faq.body
+ - node.type.faq
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - faq
+id: node.faq.default
+targetEntityType: node
+bundle: faq
+mode: default
+content:
+ body:
+ label: hidden
+ type: text_default
+ weight: 101
+ settings: { }
+ third_party_settings: { }
+ region: content
+ links:
+ weight: 100
+ settings: { }
+ third_party_settings: { }
+ region: content
+hidden:
+ langcode: true
diff --git a/modules/fahad/faq/config/install/core.entity_view_display.node.faq.teaser.yml b/modules/fahad/faq/config/install/core.entity_view_display.node.faq.teaser.yml
new file mode 100644
index 0000000..1396f0f
--- /dev/null
+++ b/modules/fahad/faq/config/install/core.entity_view_display.node.faq.teaser.yml
@@ -0,0 +1,33 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.faq.body
+ - node.type.faq
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - faq
+id: node.faq.teaser
+targetEntityType: node
+bundle: faq
+mode: teaser
+content:
+ body:
+ label: hidden
+ type: text_summary_or_trimmed
+ weight: 101
+ settings:
+ trim_length: 600
+ third_party_settings: { }
+ region: content
+ links:
+ weight: 100
+ settings: { }
+ third_party_settings: { }
+ region: content
+hidden:
+ langcode: true
diff --git a/modules/fahad/faq/config/install/field.field.node.faq.body.yml b/modules/fahad/faq/config/install/field.field.node.faq.body.yml
new file mode 100644
index 0000000..d0c6a67
--- /dev/null
+++ b/modules/fahad/faq/config/install/field.field.node.faq.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.faq
+ module:
+ - text
+ enforced:
+ module:
+ - faq
+id: node.faq.body
+field_name: body
+entity_type: node
+bundle: faq
+label: Body
+description: ''
+required: false
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings:
+ display_summary: true
+field_type: text_with_summary
diff --git a/modules/fahad/faq/config/install/node.type.faq.yml b/modules/fahad/faq/config/install/node.type.faq.yml
new file mode 100644
index 0000000..12b86e5
--- /dev/null
+++ b/modules/fahad/faq/config/install/node.type.faq.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - faq
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: FAQ
+type: faq
+description: ''
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: true
diff --git a/modules/fahad/faq/faq.info.yml b/modules/fahad/faq/faq.info.yml
new file mode 100644
index 0000000..5cdd49f
--- /dev/null
+++ b/modules/fahad/faq/faq.info.yml
@@ -0,0 +1,11 @@
+name: 'faq'
+type: module
+description: 'My Awesome Module'
+core: 8.x
+package: 'Custom'
+dependencies:
+ - drupal:text
+ - drupal:path
+ - drupal:user
+ - drupal:node
+ - drupal:menu_ui \ No newline at end of file
diff --git a/modules/fahad/faq/faq.module b/modules/fahad/faq/faq.module
new file mode 100644
index 0000000..025f6b6
--- /dev/null
+++ b/modules/fahad/faq/faq.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains faq.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function faq_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the faq module.
+ case 'help.page.faq':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('My Awesome Module') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function faq_theme() {
+ return [
+ 'faq' => [
+ 'render element' => 'children',
+ ],
+ ];
+}
diff --git a/modules/fahad/faq/templates/faq.html.twig b/modules/fahad/faq/templates/faq.html.twig
new file mode 100644
index 0000000..91e43c8
--- /dev/null
+++ b/modules/fahad/faq/templates/faq.html.twig
@@ -0,0 +1 @@
+<!-- Add you custom twig html here --> \ No newline at end of file
diff --git a/modules/fahad/faq/tests/src/Functional/LoadTest.php b/modules/fahad/faq/tests/src/Functional/LoadTest.php
new file mode 100644
index 0000000..e27bb60
--- /dev/null
+++ b/modules/fahad/faq/tests/src/Functional/LoadTest.php
@@ -0,0 +1,46 @@
+<?php
+
+namespace Drupal\Tests\faq\Functional;
+
+use Drupal\Core\Url;
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Simple test to ensure that main page loads with module enabled.
+ *
+ * @group faq
+ */
+class LoadTest extends BrowserTestBase {
+
+ /**
+ * Modules to enable.
+ *
+ * @var array
+ */
+ public static $modules = ['faq'];
+
+ /**
+ * 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/fahad/festivals/composer.json b/modules/fahad/festivals/composer.json
new file mode 100644
index 0000000..864c0a3
--- /dev/null
+++ b/modules/fahad/festivals/composer.json
@@ -0,0 +1,14 @@
+{
+ "name": "drupal/festivals",
+ "type": "drupal-module",
+ "description": "My Awesome Module",
+ "keywords": ["Drupal"],
+ "license": "GPL-2.0+",
+ "homepage": "https://www.drupal.org/project/festivals",
+ "minimum-stability": "dev",
+ "support": {
+ "issues": "https://www.drupal.org/project/issues/festivals",
+ "source": "http://cgit.drupalcode.org/festivals"
+ },
+ "require": { }
+}
diff --git a/modules/fahad/festivals/config/install/core.entity_form_display.node.festivals.default.yml b/modules/fahad/festivals/config/install/core.entity_form_display.node.festivals.default.yml
new file mode 100644
index 0000000..11c97dd
--- /dev/null
+++ b/modules/fahad/festivals/config/install/core.entity_form_display.node.festivals.default.yml
@@ -0,0 +1,114 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.festivals.body
+ - field.field.node.festivals.field_fastival_link
+ - field.field.node.festivals.field_festival_file
+ - field.field.node.festivals.field_festival_image
+ - image.style.thumbnail
+ - node.type.festivals
+ module:
+ - file
+ - image
+ - link
+ - path
+ - text
+ enforced:
+ module:
+ - festivals
+id: node.festivals.default
+targetEntityType: node
+bundle: festivals
+mode: default
+content:
+ body:
+ type: text_textarea_with_summary
+ weight: 121
+ settings:
+ rows: 9
+ summary_rows: 3
+ placeholder: ''
+ third_party_settings: { }
+ region: content
+ created:
+ type: datetime_timestamp
+ weight: 10
+ region: content
+ settings: { }
+ third_party_settings: { }
+ field_fastival_link:
+ weight: 123
+ settings:
+ placeholder_url: ''
+ placeholder_title: ''
+ third_party_settings: { }
+ type: link_default
+ region: content
+ field_festival_file:
+ weight: 124
+ settings:
+ progress_indicator: throbber
+ third_party_settings: { }
+ type: file_generic
+ region: content
+ field_festival_image:
+ weight: 122
+ settings:
+ progress_indicator: throbber
+ preview_image_style: thumbnail
+ third_party_settings: { }
+ type: image_image
+ region: content
+ langcode:
+ type: language_select
+ weight: 2
+ region: content
+ settings:
+ include_locked: true
+ third_party_settings: { }
+ path:
+ type: path
+ weight: 30
+ region: content
+ settings: { }
+ third_party_settings: { }
+ promote:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 15
+ region: content
+ third_party_settings: { }
+ status:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 120
+ region: content
+ third_party_settings: { }
+ sticky:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 16
+ region: content
+ third_party_settings: { }
+ title:
+ type: string_textfield
+ weight: -5
+ region: content
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ uid:
+ type: entity_reference_autocomplete
+ weight: 5
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ region: content
+ third_party_settings: { }
+hidden: { }
diff --git a/modules/fahad/festivals/config/install/core.entity_view_display.node.festivals.default.yml b/modules/fahad/festivals/config/install/core.entity_view_display.node.festivals.default.yml
new file mode 100644
index 0000000..f99a9f8
--- /dev/null
+++ b/modules/fahad/festivals/config/install/core.entity_view_display.node.festivals.default.yml
@@ -0,0 +1,66 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.festivals.body
+ - field.field.node.festivals.field_fastival_link
+ - field.field.node.festivals.field_festival_file
+ - field.field.node.festivals.field_festival_image
+ - node.type.festivals
+ module:
+ - file
+ - image
+ - link
+ - text
+ - user
+ enforced:
+ module:
+ - festivals
+id: node.festivals.default
+targetEntityType: node
+bundle: festivals
+mode: default
+content:
+ body:
+ label: hidden
+ type: text_default
+ weight: 101
+ settings: { }
+ third_party_settings: { }
+ region: content
+ field_fastival_link:
+ weight: 103
+ label: hidden
+ settings:
+ trim_length: 80
+ url_only: false
+ url_plain: false
+ rel: ''
+ target: ''
+ third_party_settings: { }
+ type: link
+ region: content
+ field_festival_file:
+ weight: 104
+ label: hidden
+ settings:
+ use_description_as_link_text: true
+ third_party_settings: { }
+ type: file_default
+ region: content
+ field_festival_image:
+ weight: 102
+ label: hidden
+ settings:
+ image_style: ''
+ image_link: ''
+ third_party_settings: { }
+ type: image
+ region: content
+ links:
+ weight: 100
+ region: content
+ settings: { }
+ third_party_settings: { }
+hidden:
+ langcode: true
diff --git a/modules/fahad/festivals/config/install/core.entity_view_display.node.festivals.teaser.yml b/modules/fahad/festivals/config/install/core.entity_view_display.node.festivals.teaser.yml
new file mode 100644
index 0000000..cfca1d9
--- /dev/null
+++ b/modules/fahad/festivals/config/install/core.entity_view_display.node.festivals.teaser.yml
@@ -0,0 +1,33 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.festivals.body
+ - node.type.festivals
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - festivals
+id: node.festivals.teaser
+targetEntityType: node
+bundle: festivals
+mode: teaser
+content:
+ body:
+ label: hidden
+ type: text_summary_or_trimmed
+ weight: 101
+ settings:
+ trim_length: 600
+ third_party_settings: { }
+ region: content
+ links:
+ weight: 100
+ settings: { }
+ third_party_settings: { }
+ region: content
+hidden:
+ langcode: true
diff --git a/modules/fahad/festivals/config/install/field.field.node.festivals.body.yml b/modules/fahad/festivals/config/install/field.field.node.festivals.body.yml
new file mode 100644
index 0000000..630c8df
--- /dev/null
+++ b/modules/fahad/festivals/config/install/field.field.node.festivals.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.festivals
+ module:
+ - text
+ enforced:
+ module:
+ - festivals
+id: node.festivals.body
+field_name: body
+entity_type: node
+bundle: festivals
+label: Body
+description: ''
+required: false
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings:
+ display_summary: true
+field_type: text_with_summary
diff --git a/modules/fahad/festivals/config/install/field.field.node.festivals.field_fastival_link.yml b/modules/fahad/festivals/config/install/field.field.node.festivals.field_fastival_link.yml
new file mode 100644
index 0000000..bf12331
--- /dev/null
+++ b/modules/fahad/festivals/config/install/field.field.node.festivals.field_fastival_link.yml
@@ -0,0 +1,25 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_fastival_link
+ - node.type.festivals
+ module:
+ - link
+ enforced:
+ module:
+ - festivals
+id: node.festivals.field_fastival_link
+field_name: field_fastival_link
+entity_type: node
+bundle: festivals
+label: fastival_link
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ link_type: 17
+ title: 2
+field_type: link
diff --git a/modules/fahad/festivals/config/install/field.field.node.festivals.field_festival_file.yml b/modules/fahad/festivals/config/install/field.field.node.festivals.field_festival_file.yml
new file mode 100644
index 0000000..36a39e4
--- /dev/null
+++ b/modules/fahad/festivals/config/install/field.field.node.festivals.field_festival_file.yml
@@ -0,0 +1,29 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_festival_file
+ - node.type.festivals
+ module:
+ - file
+ enforced:
+ module:
+ - festivals
+id: node.festivals.field_festival_file
+field_name: field_festival_file
+entity_type: node
+bundle: festivals
+label: festival_file
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ file_directory: '[date:custom:Y]-[date:custom:m]'
+ file_extensions: 'txt pdf img docx doc pptxt ppt'
+ max_filesize: ''
+ description_field: false
+ handler: 'default:file'
+ handler_settings: { }
+field_type: file
diff --git a/modules/fahad/festivals/config/install/field.field.node.festivals.field_festival_image.yml b/modules/fahad/festivals/config/install/field.field.node.festivals.field_festival_image.yml
new file mode 100644
index 0000000..49a456f
--- /dev/null
+++ b/modules/fahad/festivals/config/install/field.field.node.festivals.field_festival_image.yml
@@ -0,0 +1,40 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_festival_image
+ - node.type.festivals
+ module:
+ - image
+ enforced:
+ module:
+ - festivals
+id: node.festivals.field_festival_image
+field_name: field_festival_image
+entity_type: node
+bundle: festivals
+label: festival_image
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ file_directory: '[date:custom:Y]-[date:custom:m]'
+ file_extensions: 'png gif jpg jpeg'
+ max_filesize: ''
+ max_resolution: ''
+ min_resolution: ''
+ alt_field: true
+ alt_field_required: true
+ title_field: true
+ title_field_required: false
+ default_image:
+ uuid: ''
+ alt: ''
+ title: ''
+ width: null
+ height: null
+ handler: 'default:file'
+ handler_settings: { }
+field_type: image
diff --git a/modules/fahad/festivals/config/install/field.storage.node.field_fastival_link.yml b/modules/fahad/festivals/config/install/field.storage.node.field_fastival_link.yml
new file mode 100644
index 0000000..c978af5
--- /dev/null
+++ b/modules/fahad/festivals/config/install/field.storage.node.field_fastival_link.yml
@@ -0,0 +1,22 @@
+uuid: b246b8f3-2171-4bbe-a01a-30c19cfd5699
+langcode: en
+status: true
+dependencies:
+ module:
+ - link
+ - node
+ enforced:
+ module:
+ - festivals
+id: node.field_fastival_link
+field_name: field_fastival_link
+entity_type: node
+type: link
+settings: { }
+module: link
+locked: false
+cardinality: -1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/fahad/festivals/config/install/field.storage.node.field_festival_file.yml b/modules/fahad/festivals/config/install/field.storage.node.field_festival_file.yml
new file mode 100644
index 0000000..ed54480
--- /dev/null
+++ b/modules/fahad/festivals/config/install/field.storage.node.field_festival_file.yml
@@ -0,0 +1,26 @@
+uuid: 51f79e04-9685-4f7e-93b7-72d00c18eb26
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - node
+ enforced:
+ module:
+ - festivals
+id: node.field_festival_file
+field_name: field_festival_file
+entity_type: node
+type: file
+settings:
+ display_field: true
+ display_default: false
+ uri_scheme: public
+ target_type: file
+module: file
+locked: false
+cardinality: -1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/fahad/festivals/config/install/field.storage.node.field_festival_image.yml b/modules/fahad/festivals/config/install/field.storage.node.field_festival_image.yml
new file mode 100644
index 0000000..13347c6
--- /dev/null
+++ b/modules/fahad/festivals/config/install/field.storage.node.field_festival_image.yml
@@ -0,0 +1,33 @@
+uuid: 6630d2e4-2444-4c5c-b59d-a57438eb2a60
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - image
+ - node
+ enforced:
+ module:
+ - festivals
+id: node.field_festival_image
+field_name: field_festival_image
+entity_type: node
+type: image
+settings:
+ uri_scheme: public
+ default_image:
+ uuid: ''
+ alt: ''
+ title: ''
+ width: null
+ height: null
+ target_type: file
+ display_field: false
+ display_default: false
+module: image
+locked: false
+cardinality: 2
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/fahad/festivals/config/install/node.type.festivals.yml b/modules/fahad/festivals/config/install/node.type.festivals.yml
new file mode 100644
index 0000000..a0e5e2a
--- /dev/null
+++ b/modules/fahad/festivals/config/install/node.type.festivals.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - festivals
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: Festivals
+type: festivals
+description: 'Various Cultural and related Events'
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: true
diff --git a/modules/fahad/festivals/festivals.info.yml b/modules/fahad/festivals/festivals.info.yml
new file mode 100644
index 0000000..1dc41d2
--- /dev/null
+++ b/modules/fahad/festivals/festivals.info.yml
@@ -0,0 +1,14 @@
+name: 'festivals'
+type: module
+description: 'My Awesome Module'
+core: 8.x
+package: 'Custom'
+dependencies:
+ - drupal:text
+ - drupal:path
+ - drupal:user
+ - drupal:node
+ - drupal:menu_ui
+ - drupal:image
+ - drupal:file
+ - drupal:link \ No newline at end of file
diff --git a/modules/fahad/festivals/festivals.module b/modules/fahad/festivals/festivals.module
new file mode 100644
index 0000000..01a7a72
--- /dev/null
+++ b/modules/fahad/festivals/festivals.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains festivals.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function festivals_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the festivals module.
+ case 'help.page.festivals':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('My Awesome Module') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function festivals_theme() {
+ return [
+ 'festivals' => [
+ 'render element' => 'children',
+ ],
+ ];
+}
diff --git a/modules/fahad/festivals/templates/festivals.html.twig b/modules/fahad/festivals/templates/festivals.html.twig
new file mode 100644
index 0000000..91e43c8
--- /dev/null
+++ b/modules/fahad/festivals/templates/festivals.html.twig
@@ -0,0 +1 @@
+<!-- Add you custom twig html here --> \ No newline at end of file
diff --git a/modules/fahad/festivals/tests/src/Functional/LoadTest.php b/modules/fahad/festivals/tests/src/Functional/LoadTest.php
new file mode 100644
index 0000000..9e7d3e5
--- /dev/null
+++ b/modules/fahad/festivals/tests/src/Functional/LoadTest.php
@@ -0,0 +1,46 @@
+<?php
+
+namespace Drupal\Tests\festivals\Functional;
+
+use Drupal\Core\Url;
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Simple test to ensure that main page loads with module enabled.
+ *
+ * @group festivals
+ */
+class LoadTest extends BrowserTestBase {
+
+ /**
+ * Modules to enable.
+ *
+ * @var array
+ */
+ public static $modules = ['festivals'];
+
+ /**
+ * 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/fahad/industry_partners/composer.json b/modules/fahad/industry_partners/composer.json
new file mode 100644
index 0000000..dcf57cd
--- /dev/null
+++ b/modules/fahad/industry_partners/composer.json
@@ -0,0 +1,14 @@
+{
+ "name": "drupal/industry_partners",
+ "type": "drupal-module",
+ "description": "My Awesome Module",
+ "keywords": ["Drupal"],
+ "license": "GPL-2.0+",
+ "homepage": "https://www.drupal.org/project/industry_partners",
+ "minimum-stability": "dev",
+ "support": {
+ "issues": "https://www.drupal.org/project/issues/industry_partners",
+ "source": "http://cgit.drupalcode.org/industry_partners"
+ },
+ "require": { }
+}
diff --git a/modules/fahad/industry_partners/config/install/core.entity_form_display.node.industry_partners.default.yml b/modules/fahad/industry_partners/config/install/core.entity_form_display.node.industry_partners.default.yml
new file mode 100644
index 0000000..4eecfbe
--- /dev/null
+++ b/modules/fahad/industry_partners/config/install/core.entity_form_display.node.industry_partners.default.yml
@@ -0,0 +1,105 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.industry_partners.body
+ - field.field.node.industry_partners.field_company_logo
+ - field.field.node.industry_partners.field_company_website
+ - image.style.thumbnail
+ - node.type.industry_partners
+ module:
+ - image
+ - link
+ - path
+ - text
+ enforced:
+ module:
+ - industry_partners
+id: node.industry_partners.default
+targetEntityType: node
+bundle: industry_partners
+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_company_logo:
+ weight: 122
+ settings:
+ progress_indicator: throbber
+ preview_image_style: thumbnail
+ third_party_settings: { }
+ type: image_image
+ region: content
+ field_company_website:
+ weight: 123
+ settings:
+ placeholder_url: ''
+ placeholder_title: ''
+ third_party_settings: { }
+ type: link_default
+ region: content
+ langcode:
+ type: language_select
+ weight: 2
+ region: content
+ settings:
+ include_locked: true
+ third_party_settings: { }
+ path:
+ type: path
+ weight: 30
+ region: content
+ settings: { }
+ third_party_settings: { }
+ promote:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 15
+ region: content
+ third_party_settings: { }
+ status:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 120
+ region: content
+ third_party_settings: { }
+ sticky:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 16
+ region: content
+ third_party_settings: { }
+ title:
+ type: string_textfield
+ weight: -5
+ region: content
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ uid:
+ type: entity_reference_autocomplete
+ weight: 5
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ region: content
+ third_party_settings: { }
+hidden: { }
diff --git a/modules/fahad/industry_partners/config/install/core.entity_view_display.node.industry_partners.default.yml b/modules/fahad/industry_partners/config/install/core.entity_view_display.node.industry_partners.default.yml
new file mode 100644
index 0000000..e08a9fb
--- /dev/null
+++ b/modules/fahad/industry_partners/config/install/core.entity_view_display.node.industry_partners.default.yml
@@ -0,0 +1,56 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.industry_partners.body
+ - field.field.node.industry_partners.field_company_logo
+ - field.field.node.industry_partners.field_company_website
+ - node.type.industry_partners
+ module:
+ - image
+ - link
+ - text
+ - user
+ enforced:
+ module:
+ - industry_partners
+id: node.industry_partners.default
+targetEntityType: node
+bundle: industry_partners
+mode: default
+content:
+ body:
+ label: hidden
+ type: text_default
+ weight: 101
+ settings: { }
+ third_party_settings: { }
+ region: content
+ field_company_logo:
+ weight: 102
+ label: above
+ settings:
+ image_style: ''
+ image_link: ''
+ third_party_settings: { }
+ type: image
+ region: content
+ field_company_website:
+ weight: 103
+ label: above
+ settings:
+ trim_length: 80
+ url_only: false
+ url_plain: false
+ rel: ''
+ target: ''
+ third_party_settings: { }
+ type: link
+ region: content
+ links:
+ weight: 100
+ settings: { }
+ third_party_settings: { }
+ region: content
+hidden:
+ langcode: true
diff --git a/modules/fahad/industry_partners/config/install/core.entity_view_display.node.industry_partners.teaser.yml b/modules/fahad/industry_partners/config/install/core.entity_view_display.node.industry_partners.teaser.yml
new file mode 100644
index 0000000..e6f8669
--- /dev/null
+++ b/modules/fahad/industry_partners/config/install/core.entity_view_display.node.industry_partners.teaser.yml
@@ -0,0 +1,33 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.industry_partners.body
+ - node.type.industry_partners
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - industry_partners
+id: node.industry_partners.teaser
+targetEntityType: node
+bundle: industry_partners
+mode: teaser
+content:
+ body:
+ label: hidden
+ type: text_summary_or_trimmed
+ weight: 101
+ settings:
+ trim_length: 600
+ third_party_settings: { }
+ region: content
+ links:
+ weight: 100
+ settings: { }
+ third_party_settings: { }
+ region: content
+hidden:
+ langcode: true
diff --git a/modules/fahad/industry_partners/config/install/field.field.node.industry_partners.body.yml b/modules/fahad/industry_partners/config/install/field.field.node.industry_partners.body.yml
new file mode 100644
index 0000000..7e2d30b
--- /dev/null
+++ b/modules/fahad/industry_partners/config/install/field.field.node.industry_partners.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.industry_partners
+ module:
+ - text
+ enforced:
+ module:
+ - industry_partners
+id: node.industry_partners.body
+field_name: body
+entity_type: node
+bundle: industry_partners
+label: Body
+description: ''
+required: false
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings:
+ display_summary: true
+field_type: text_with_summary
diff --git a/modules/fahad/industry_partners/config/install/field.field.node.industry_partners.field_company_logo.yml b/modules/fahad/industry_partners/config/install/field.field.node.industry_partners.field_company_logo.yml
new file mode 100644
index 0000000..874aa06
--- /dev/null
+++ b/modules/fahad/industry_partners/config/install/field.field.node.industry_partners.field_company_logo.yml
@@ -0,0 +1,40 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_company_logo
+ - node.type.industry_partners
+ module:
+ - image
+ enforced:
+ module:
+ - industry_partners
+id: node.industry_partners.field_company_logo
+field_name: field_company_logo
+entity_type: node
+bundle: industry_partners
+label: 'Company Logo'
+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: 500x500
+ 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/fahad/industry_partners/config/install/field.field.node.industry_partners.field_company_website.yml b/modules/fahad/industry_partners/config/install/field.field.node.industry_partners.field_company_website.yml
new file mode 100644
index 0000000..1c6338e
--- /dev/null
+++ b/modules/fahad/industry_partners/config/install/field.field.node.industry_partners.field_company_website.yml
@@ -0,0 +1,25 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_company_website
+ - node.type.industry_partners
+ module:
+ - link
+ enforced:
+ module:
+ - industry_partners
+id: node.industry_partners.field_company_website
+field_name: field_company_website
+entity_type: node
+bundle: industry_partners
+label: 'Company Website'
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ link_type: 17
+ title: 1
+field_type: link
diff --git a/modules/fahad/industry_partners/config/install/field.storage.node.field_company_logo.yml b/modules/fahad/industry_partners/config/install/field.storage.node.field_company_logo.yml
new file mode 100644
index 0000000..3f2b0d0
--- /dev/null
+++ b/modules/fahad/industry_partners/config/install/field.storage.node.field_company_logo.yml
@@ -0,0 +1,33 @@
+uuid: 8a85d339-64ca-45eb-9f99-89d032c8bef9
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - image
+ - node
+ enforced:
+ module:
+ - industry_partners
+id: node.field_company_logo
+field_name: field_company_logo
+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/fahad/industry_partners/config/install/field.storage.node.field_company_website.yml b/modules/fahad/industry_partners/config/install/field.storage.node.field_company_website.yml
new file mode 100644
index 0000000..27b7277
--- /dev/null
+++ b/modules/fahad/industry_partners/config/install/field.storage.node.field_company_website.yml
@@ -0,0 +1,22 @@
+uuid: a77610e5-93fa-4b59-8e85-58016211a438
+langcode: en
+status: true
+dependencies:
+ module:
+ - link
+ - node
+ enforced:
+ module:
+ - industry_partners
+id: node.field_company_website
+field_name: field_company_website
+entity_type: node
+type: link
+settings: { }
+module: link
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/fahad/industry_partners/config/install/node.type.industry_partners.yml b/modules/fahad/industry_partners/config/install/node.type.industry_partners.yml
new file mode 100644
index 0000000..857f3e0
--- /dev/null
+++ b/modules/fahad/industry_partners/config/install/node.type.industry_partners.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - industry_partners
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: 'Industry Partners'
+type: industry_partners
+description: ''
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: true
diff --git a/modules/fahad/industry_partners/industry_partners.info.yml b/modules/fahad/industry_partners/industry_partners.info.yml
new file mode 100644
index 0000000..07b2f9d
--- /dev/null
+++ b/modules/fahad/industry_partners/industry_partners.info.yml
@@ -0,0 +1,15 @@
+name: 'industry_partners'
+type: module
+description: 'My Awesome Module'
+core: 8.x
+package: 'Custom'
+dependencies:
+ - drupal:text
+ - drupal:path
+ - drupal:user
+ - drupal:node
+ - drupal:menu_ui
+ - drupal:image
+ - drupal:file
+ - drupal:link
+ - drupal:datetime \ No newline at end of file
diff --git a/modules/fahad/industry_partners/industry_partners.module b/modules/fahad/industry_partners/industry_partners.module
new file mode 100644
index 0000000..fb219dd
--- /dev/null
+++ b/modules/fahad/industry_partners/industry_partners.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains industry_partners.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function industry_partners_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the industry_partners module.
+ case 'help.page.industry_partners':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('My Awesome Module') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function industry_partners_theme() {
+ return [
+ 'industry_partners' => [
+ 'render element' => 'children',
+ ],
+ ];
+}
diff --git a/modules/fahad/industry_partners/templates/industry-partners.html.twig b/modules/fahad/industry_partners/templates/industry-partners.html.twig
new file mode 100644
index 0000000..91e43c8
--- /dev/null
+++ b/modules/fahad/industry_partners/templates/industry-partners.html.twig
@@ -0,0 +1 @@
+<!-- Add you custom twig html here --> \ No newline at end of file
diff --git a/modules/fahad/industry_partners/tests/src/Functional/LoadTest.php b/modules/fahad/industry_partners/tests/src/Functional/LoadTest.php
new file mode 100644
index 0000000..569b545
--- /dev/null
+++ b/modules/fahad/industry_partners/tests/src/Functional/LoadTest.php
@@ -0,0 +1,46 @@
+<?php
+
+namespace Drupal\Tests\industry_partners\Functional;
+
+use Drupal\Core\Url;
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Simple test to ensure that main page loads with module enabled.
+ *
+ * @group industry_partners
+ */
+class LoadTest extends BrowserTestBase {
+
+ /**
+ * Modules to enable.
+ *
+ * @var array
+ */
+ public static $modules = ['industry_partners'];
+
+ /**
+ * 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/fahad/notification/composer.json b/modules/fahad/notification/composer.json
new file mode 100644
index 0000000..4fa3d4a
--- /dev/null
+++ b/modules/fahad/notification/composer.json
@@ -0,0 +1,14 @@
+{
+ "name": "drupal/notification",
+ "type": "drupal-module",
+ "description": "My Awesome Module",
+ "keywords": ["Drupal"],
+ "license": "GPL-2.0+",
+ "homepage": "https://www.drupal.org/project/notification",
+ "minimum-stability": "dev",
+ "support": {
+ "issues": "https://www.drupal.org/project/issues/notification",
+ "source": "http://cgit.drupalcode.org/notification"
+ },
+ "require": { }
+}
diff --git a/modules/fahad/notification/config/install/core.entity_form_display.node.notification.default.yml b/modules/fahad/notification/config/install/core.entity_form_display.node.notification.default.yml
new file mode 100644
index 0000000..2045610
--- /dev/null
+++ b/modules/fahad/notification/config/install/core.entity_form_display.node.notification.default.yml
@@ -0,0 +1,111 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.notification.body
+ - field.field.node.notification.field_notification_date
+ - field.field.node.notification.field_notification_file
+ - field.field.node.notification.field_notitfication_category
+ - node.type.notification
+ module:
+ - datetime
+ - file
+ - path
+ - text
+ enforced:
+ module:
+ - notification
+id: node.notification.default
+targetEntityType: node
+bundle: notification
+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_notification_date:
+ weight: 124
+ settings: { }
+ third_party_settings: { }
+ type: datetime_default
+ region: content
+ field_notification_file:
+ weight: 122
+ settings:
+ progress_indicator: throbber
+ third_party_settings: { }
+ type: file_generic
+ region: content
+ field_notitfication_category:
+ weight: 123
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: entity_reference_autocomplete
+ region: content
+ langcode:
+ type: language_select
+ weight: 2
+ region: content
+ settings:
+ include_locked: true
+ third_party_settings: { }
+ path:
+ type: path
+ weight: 30
+ region: content
+ settings: { }
+ third_party_settings: { }
+ promote:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 15
+ region: content
+ third_party_settings: { }
+ status:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 120
+ region: content
+ third_party_settings: { }
+ sticky:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 16
+ region: content
+ third_party_settings: { }
+ title:
+ type: string_textfield
+ weight: -5
+ region: content
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ uid:
+ type: entity_reference_autocomplete
+ weight: 5
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ region: content
+ third_party_settings: { }
+hidden: { }
diff --git a/modules/fahad/notification/config/install/core.entity_view_display.node.notification.default.yml b/modules/fahad/notification/config/install/core.entity_view_display.node.notification.default.yml
new file mode 100644
index 0000000..1816e1c
--- /dev/null
+++ b/modules/fahad/notification/config/install/core.entity_view_display.node.notification.default.yml
@@ -0,0 +1,61 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.notification.body
+ - field.field.node.notification.field_notification_date
+ - field.field.node.notification.field_notification_file
+ - field.field.node.notification.field_notitfication_category
+ - node.type.notification
+ module:
+ - datetime
+ - file
+ - text
+ - user
+ enforced:
+ module:
+ - notification
+id: node.notification.default
+targetEntityType: node
+bundle: notification
+mode: default
+content:
+ body:
+ label: hidden
+ type: text_default
+ weight: 101
+ settings: { }
+ third_party_settings: { }
+ region: content
+ field_notification_date:
+ weight: 104
+ label: hidden
+ settings:
+ format_type: medium
+ timezone_override: ''
+ third_party_settings: { }
+ type: datetime_default
+ region: content
+ field_notification_file:
+ weight: 102
+ label: above
+ settings:
+ use_description_as_link_text: true
+ third_party_settings: { }
+ type: file_default
+ region: content
+ field_notitfication_category:
+ weight: 103
+ label: hidden
+ settings:
+ link: true
+ third_party_settings: { }
+ type: entity_reference_label
+ region: content
+ links:
+ weight: 100
+ region: content
+ settings: { }
+ third_party_settings: { }
+hidden:
+ langcode: true
diff --git a/modules/fahad/notification/config/install/core.entity_view_display.node.notification.teaser.yml b/modules/fahad/notification/config/install/core.entity_view_display.node.notification.teaser.yml
new file mode 100644
index 0000000..6a72474
--- /dev/null
+++ b/modules/fahad/notification/config/install/core.entity_view_display.node.notification.teaser.yml
@@ -0,0 +1,33 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.notification.body
+ - node.type.notification
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - notification
+id: node.notification.teaser
+targetEntityType: node
+bundle: notification
+mode: teaser
+content:
+ body:
+ label: hidden
+ type: text_summary_or_trimmed
+ weight: 101
+ settings:
+ trim_length: 600
+ third_party_settings: { }
+ region: content
+ links:
+ weight: 100
+ settings: { }
+ third_party_settings: { }
+ region: content
+hidden:
+ langcode: true
diff --git a/modules/fahad/notification/config/install/field.field.node.notification.body.yml b/modules/fahad/notification/config/install/field.field.node.notification.body.yml
new file mode 100644
index 0000000..3509680
--- /dev/null
+++ b/modules/fahad/notification/config/install/field.field.node.notification.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.notification
+ module:
+ - text
+ enforced:
+ module:
+ - notification
+id: node.notification.body
+field_name: body
+entity_type: node
+bundle: notification
+label: Body
+description: ''
+required: false
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings:
+ display_summary: true
+field_type: text_with_summary
diff --git a/modules/fahad/notification/config/install/field.field.node.notification.field_notification_date.yml b/modules/fahad/notification/config/install/field.field.node.notification.field_notification_date.yml
new file mode 100644
index 0000000..0953a9d
--- /dev/null
+++ b/modules/fahad/notification/config/install/field.field.node.notification.field_notification_date.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_notification_date
+ - node.type.notification
+ module:
+ - datetime
+ enforced:
+ module:
+ - notification
+id: node.notification.field_notification_date
+field_name: field_notification_date
+entity_type: node
+bundle: notification
+label: notification_date
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: datetime
diff --git a/modules/fahad/notification/config/install/field.field.node.notification.field_notification_file.yml b/modules/fahad/notification/config/install/field.field.node.notification.field_notification_file.yml
new file mode 100644
index 0000000..9c77b40
--- /dev/null
+++ b/modules/fahad/notification/config/install/field.field.node.notification.field_notification_file.yml
@@ -0,0 +1,29 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_notification_file
+ - node.type.notification
+ module:
+ - file
+ enforced:
+ module:
+ - notification
+id: node.notification.field_notification_file
+field_name: field_notification_file
+entity_type: node
+bundle: notification
+label: Notification_file
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ file_directory: '[date:custom:Y]-[date:custom:m]'
+ file_extensions: 'txt pdf doc docx'
+ max_filesize: ''
+ description_field: false
+ handler: 'default:file'
+ handler_settings: { }
+field_type: file
diff --git a/modules/fahad/notification/config/install/field.field.node.notification.field_notitfication_category.yml b/modules/fahad/notification/config/install/field.field.node.notification.field_notitfication_category.yml
new file mode 100644
index 0000000..6602e9b
--- /dev/null
+++ b/modules/fahad/notification/config/install/field.field.node.notification.field_notitfication_category.yml
@@ -0,0 +1,31 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_notitfication_category
+ - node.type.notification
+ - taxonomy.vocabulary.notification_category
+ enforced:
+ module:
+ - notification
+id: node.notification.field_notitfication_category
+field_name: field_notitfication_category
+entity_type: node
+bundle: notification
+label: notitfication_category
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ handler: 'default:taxonomy_term'
+ handler_settings:
+ target_bundles:
+ notification_category: notification_category
+ sort:
+ field: name
+ direction: asc
+ auto_create: false
+ auto_create_bundle: ''
+field_type: entity_reference
diff --git a/modules/fahad/notification/config/install/field.storage.node.field_notification_date.yml b/modules/fahad/notification/config/install/field.storage.node.field_notification_date.yml
new file mode 100644
index 0000000..745c6ab
--- /dev/null
+++ b/modules/fahad/notification/config/install/field.storage.node.field_notification_date.yml
@@ -0,0 +1,23 @@
+uuid: 4c7c0c52-926b-437f-aa89-3426d718c443
+langcode: en
+status: true
+dependencies:
+ module:
+ - datetime
+ - node
+ enforced:
+ module:
+ - notification
+id: node.field_notification_date
+field_name: field_notification_date
+entity_type: node
+type: datetime
+settings:
+ datetime_type: datetime
+module: datetime
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/fahad/notification/config/install/field.storage.node.field_notification_file.yml b/modules/fahad/notification/config/install/field.storage.node.field_notification_file.yml
new file mode 100644
index 0000000..a4fa95d
--- /dev/null
+++ b/modules/fahad/notification/config/install/field.storage.node.field_notification_file.yml
@@ -0,0 +1,26 @@
+uuid: b9fd98b9-1d46-4b69-b8ba-4bfac93b06f9
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - node
+ enforced:
+ module:
+ - notification
+id: node.field_notification_file
+field_name: field_notification_file
+entity_type: node
+type: file
+settings:
+ display_field: false
+ display_default: false
+ uri_scheme: public
+ target_type: file
+module: file
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/fahad/notification/config/install/field.storage.node.field_notitfication_category.yml b/modules/fahad/notification/config/install/field.storage.node.field_notitfication_category.yml
new file mode 100644
index 0000000..2c8386c
--- /dev/null
+++ b/modules/fahad/notification/config/install/field.storage.node.field_notitfication_category.yml
@@ -0,0 +1,23 @@
+uuid: 96307a90-43a2-4378-8535-af12f3ca1543
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ - taxonomy
+ enforced:
+ module:
+ - notification
+id: node.field_notitfication_category
+field_name: field_notitfication_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/fahad/notification/config/install/node.type.notification.yml b/modules/fahad/notification/config/install/node.type.notification.yml
new file mode 100644
index 0000000..5c08eda
--- /dev/null
+++ b/modules/fahad/notification/config/install/node.type.notification.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - notification
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: Notification
+type: notification
+description: 'College Notifications'
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: true
diff --git a/modules/fahad/notification/config/install/taxonomy.vocabulary.notification_category.yml b/modules/fahad/notification/config/install/taxonomy.vocabulary.notification_category.yml
new file mode 100644
index 0000000..c297c09
--- /dev/null
+++ b/modules/fahad/notification/config/install/taxonomy.vocabulary.notification_category.yml
@@ -0,0 +1,12 @@
+uuid: 0c1e3fee-8ad7-4f26-bbb2-68c2b616ac23
+langcode: en
+status: true
+dependencies:
+ enforced:
+ module:
+ - notification
+name: 'Notification Category'
+vid: notification_category
+description: 'Category of notification'
+hierarchy: 0
+weight: 0
diff --git a/modules/fahad/notification/notification.info.yml b/modules/fahad/notification/notification.info.yml
new file mode 100644
index 0000000..715efc0
--- /dev/null
+++ b/modules/fahad/notification/notification.info.yml
@@ -0,0 +1,14 @@
+name: 'notification'
+type: module
+description: 'My Awesome Module'
+core: 8.x
+package: 'Custom'
+dependencies:
+ - drupal:text
+ - drupal:path
+ - drupal:user
+ - drupal:node
+ - drupal:menu_ui
+ - drupal:file
+ - drupal:link
+ - drupal:taxonomy \ No newline at end of file
diff --git a/modules/fahad/notification/notification.module b/modules/fahad/notification/notification.module
new file mode 100644
index 0000000..5b34f30
--- /dev/null
+++ b/modules/fahad/notification/notification.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains notification.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function notification_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the notification module.
+ case 'help.page.notification':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('My Awesome Module') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function notification_theme() {
+ return [
+ 'notification' => [
+ 'render element' => 'children',
+ ],
+ ];
+}
diff --git a/modules/fahad/notification/templates/notification.html.twig b/modules/fahad/notification/templates/notification.html.twig
new file mode 100644
index 0000000..91e43c8
--- /dev/null
+++ b/modules/fahad/notification/templates/notification.html.twig
@@ -0,0 +1 @@
+<!-- Add you custom twig html here --> \ No newline at end of file
diff --git a/modules/fahad/notification/tests/src/Functional/LoadTest.php b/modules/fahad/notification/tests/src/Functional/LoadTest.php
new file mode 100644
index 0000000..1f1880b
--- /dev/null
+++ b/modules/fahad/notification/tests/src/Functional/LoadTest.php
@@ -0,0 +1,46 @@
+<?php
+
+namespace Drupal\Tests\notification\Functional;
+
+use Drupal\Core\Url;
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Simple test to ensure that main page loads with module enabled.
+ *
+ * @group notification
+ */
+class LoadTest extends BrowserTestBase {
+
+ /**
+ * Modules to enable.
+ *
+ * @var array
+ */
+ public static $modules = ['notification'];
+
+ /**
+ * 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/fahad/staff/composer.json b/modules/fahad/staff/composer.json
new file mode 100644
index 0000000..7ecc5b7
--- /dev/null
+++ b/modules/fahad/staff/composer.json
@@ -0,0 +1,14 @@
+{
+ "name": "drupal/staff",
+ "type": "drupal-module",
+ "description": "My Awesome Module",
+ "keywords": ["Drupal"],
+ "license": "GPL-2.0+",
+ "homepage": "https://www.drupal.org/project/staff",
+ "minimum-stability": "dev",
+ "support": {
+ "issues": "https://www.drupal.org/project/issues/staff",
+ "source": "http://cgit.drupalcode.org/staff"
+ },
+ "require": { }
+}
diff --git a/modules/fahad/staff/config/install/core.entity_form_display.node.staff.default.yml b/modules/fahad/staff/config/install/core.entity_form_display.node.staff.default.yml
new file mode 100644
index 0000000..3c57990
--- /dev/null
+++ b/modules/fahad/staff/config/install/core.entity_form_display.node.staff.default.yml
@@ -0,0 +1,111 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.staff.body
+ - field.field.node.staff.field_designation
+ - field.field.node.staff.field_staff_email
+ - field.field.node.staff.field_staff_image
+ - image.style.thumbnail
+ - node.type.staff
+ module:
+ - image
+ - path
+ - text
+ enforced:
+ module:
+ - staff
+id: node.staff.default
+targetEntityType: node
+bundle: staff
+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_designation:
+ weight: 125
+ settings: { }
+ third_party_settings: { }
+ type: options_select
+ region: content
+ field_staff_email:
+ weight: 124
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ type: email_default
+ region: content
+ field_staff_image:
+ weight: 122
+ settings:
+ progress_indicator: throbber
+ preview_image_style: thumbnail
+ third_party_settings: { }
+ type: image_image
+ region: content
+ langcode:
+ type: language_select
+ weight: 2
+ region: content
+ settings:
+ include_locked: true
+ third_party_settings: { }
+ path:
+ type: path
+ weight: 30
+ region: content
+ settings: { }
+ third_party_settings: { }
+ promote:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 15
+ region: content
+ third_party_settings: { }
+ status:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 120
+ region: content
+ third_party_settings: { }
+ sticky:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 16
+ region: content
+ third_party_settings: { }
+ title:
+ type: string_textfield
+ weight: -5
+ region: content
+ settings:
+ size: 60
+ placeholder: ''
+ third_party_settings: { }
+ uid:
+ type: entity_reference_autocomplete
+ weight: 5
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ region: content
+ third_party_settings: { }
+hidden: { }
diff --git a/modules/fahad/staff/config/install/core.entity_view_display.node.staff.default.yml b/modules/fahad/staff/config/install/core.entity_view_display.node.staff.default.yml
new file mode 100644
index 0000000..33d49bc
--- /dev/null
+++ b/modules/fahad/staff/config/install/core.entity_view_display.node.staff.default.yml
@@ -0,0 +1,59 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.staff.body
+ - field.field.node.staff.field_designation
+ - field.field.node.staff.field_staff_email
+ - field.field.node.staff.field_staff_image
+ - node.type.staff
+ module:
+ - image
+ - options
+ - text
+ - user
+ enforced:
+ module:
+ - staff
+id: node.staff.default
+targetEntityType: node
+bundle: staff
+mode: default
+content:
+ body:
+ label: hidden
+ type: text_default
+ weight: 101
+ settings: { }
+ third_party_settings: { }
+ region: content
+ field_designation:
+ weight: 105
+ label: above
+ settings: { }
+ third_party_settings: { }
+ type: list_default
+ region: content
+ field_staff_email:
+ weight: 104
+ label: above
+ settings: { }
+ third_party_settings: { }
+ type: basic_string
+ region: content
+ field_staff_image:
+ weight: 102
+ label: hidden
+ settings:
+ image_style: ''
+ image_link: ''
+ third_party_settings: { }
+ type: image
+ region: content
+ links:
+ weight: 100
+ region: content
+ settings: { }
+ third_party_settings: { }
+hidden:
+ langcode: true
diff --git a/modules/fahad/staff/config/install/core.entity_view_display.node.staff.teaser.yml b/modules/fahad/staff/config/install/core.entity_view_display.node.staff.teaser.yml
new file mode 100644
index 0000000..0e8c256
--- /dev/null
+++ b/modules/fahad/staff/config/install/core.entity_view_display.node.staff.teaser.yml
@@ -0,0 +1,33 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.staff.body
+ - node.type.staff
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - staff
+id: node.staff.teaser
+targetEntityType: node
+bundle: staff
+mode: teaser
+content:
+ body:
+ label: hidden
+ type: text_summary_or_trimmed
+ weight: 101
+ settings:
+ trim_length: 600
+ third_party_settings: { }
+ region: content
+ links:
+ weight: 100
+ settings: { }
+ third_party_settings: { }
+ region: content
+hidden:
+ langcode: true
diff --git a/modules/fahad/staff/config/install/field.field.node.staff.body.yml b/modules/fahad/staff/config/install/field.field.node.staff.body.yml
new file mode 100644
index 0000000..5120564
--- /dev/null
+++ b/modules/fahad/staff/config/install/field.field.node.staff.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.staff
+ module:
+ - text
+ enforced:
+ module:
+ - staff
+id: node.staff.body
+field_name: body
+entity_type: node
+bundle: staff
+label: Body
+description: ''
+required: false
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings:
+ display_summary: true
+field_type: text_with_summary
diff --git a/modules/fahad/staff/config/install/field.field.node.staff.field_designation.yml b/modules/fahad/staff/config/install/field.field.node.staff.field_designation.yml
new file mode 100644
index 0000000..9843775
--- /dev/null
+++ b/modules/fahad/staff/config/install/field.field.node.staff.field_designation.yml
@@ -0,0 +1,23 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_designation
+ - node.type.staff
+ module:
+ - options
+ enforced:
+ module:
+ - staff
+id: node.staff.field_designation
+field_name: field_designation
+entity_type: node
+bundle: staff
+label: designation
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: list_string
diff --git a/modules/fahad/staff/config/install/field.field.node.staff.field_staff_email.yml b/modules/fahad/staff/config/install/field.field.node.staff.field_staff_email.yml
new file mode 100644
index 0000000..0ae10fb
--- /dev/null
+++ b/modules/fahad/staff/config/install/field.field.node.staff.field_staff_email.yml
@@ -0,0 +1,21 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_staff_email
+ - node.type.staff
+ enforced:
+ module:
+ - staff
+id: node.staff.field_staff_email
+field_name: field_staff_email
+entity_type: node
+bundle: staff
+label: staff_email
+description: ''
+required: false
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: email
diff --git a/modules/fahad/staff/config/install/field.field.node.staff.field_staff_image.yml b/modules/fahad/staff/config/install/field.field.node.staff.field_staff_image.yml
new file mode 100644
index 0000000..05ea0cc
--- /dev/null
+++ b/modules/fahad/staff/config/install/field.field.node.staff.field_staff_image.yml
@@ -0,0 +1,40 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_staff_image
+ - node.type.staff
+ module:
+ - image
+ enforced:
+ module:
+ - staff
+id: node.staff.field_staff_image
+field_name: field_staff_image
+entity_type: node
+bundle: staff
+label: staff_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: '500 KB'
+ max_resolution: 600x600
+ min_resolution: ''
+ alt_field: true
+ alt_field_required: true
+ title_field: false
+ title_field_required: false
+ default_image:
+ uuid: ''
+ alt: 'Staff Image'
+ title: ''
+ width: null
+ height: null
+ handler: 'default:file'
+ handler_settings: { }
+field_type: image
diff --git a/modules/fahad/staff/config/install/field.storage.node.field_designation.yml b/modules/fahad/staff/config/install/field.storage.node.field_designation.yml
new file mode 100644
index 0000000..a45bc21
--- /dev/null
+++ b/modules/fahad/staff/config/install/field.storage.node.field_designation.yml
@@ -0,0 +1,33 @@
+uuid: 2bb0e6d9-6746-4705-9233-68b7d5c544cc
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ - options
+ enforced:
+ module:
+ - staff
+id: node.field_designation
+field_name: field_designation
+entity_type: node
+type: list_string
+settings:
+ allowed_values:
+ -
+ value: 'Office Assistant'
+ label: 'Office Assistant'
+ -
+ value: Accountant
+ label: Accountant
+ -
+ value: 'Multi-Tasking Staff'
+ label: 'Multi-Tasking Staff'
+ allowed_values_function: ''
+module: options
+locked: false
+cardinality: 1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/fahad/staff/config/install/field.storage.node.field_staff_email.yml b/modules/fahad/staff/config/install/field.storage.node.field_staff_email.yml
new file mode 100644
index 0000000..4294e72
--- /dev/null
+++ b/modules/fahad/staff/config/install/field.storage.node.field_staff_email.yml
@@ -0,0 +1,21 @@
+uuid: 85c29d4c-a86b-4bc9-ac2e-8713593c0a69
+langcode: en
+status: true
+dependencies:
+ module:
+ - node
+ enforced:
+ module:
+ - staff
+id: node.field_staff_email
+field_name: field_staff_email
+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/fahad/staff/config/install/field.storage.node.field_staff_image.yml b/modules/fahad/staff/config/install/field.storage.node.field_staff_image.yml
new file mode 100644
index 0000000..12e2600
--- /dev/null
+++ b/modules/fahad/staff/config/install/field.storage.node.field_staff_image.yml
@@ -0,0 +1,33 @@
+uuid: e4c2a11d-de09-411d-872a-9d3e687921c8
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - image
+ - node
+ enforced:
+ module:
+ - staff
+id: node.field_staff_image
+field_name: field_staff_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/fahad/staff/config/install/node.type.staff.yml b/modules/fahad/staff/config/install/node.type.staff.yml
new file mode 100644
index 0000000..76845fd
--- /dev/null
+++ b/modules/fahad/staff/config/install/node.type.staff.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - staff
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: staff
+type: staff
+description: 'Staffs Of IIITT'
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: true
diff --git a/modules/fahad/staff/staff.info.yml b/modules/fahad/staff/staff.info.yml
new file mode 100644
index 0000000..f7c4cbf
--- /dev/null
+++ b/modules/fahad/staff/staff.info.yml
@@ -0,0 +1,5 @@
+name: 'staff'
+type: module
+description: 'My Awesome Module'
+core: 8.x
+package: 'Custom'
diff --git a/modules/fahad/staff/staff.module b/modules/fahad/staff/staff.module
new file mode 100644
index 0000000..82bf6bf
--- /dev/null
+++ b/modules/fahad/staff/staff.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains staff.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function staff_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the staff module.
+ case 'help.page.staff':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('My Awesome Module') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function staff_theme() {
+ return [
+ 'staff' => [
+ 'render element' => 'children',
+ ],
+ ];
+}
diff --git a/modules/fahad/staff/templates/staff.html.twig b/modules/fahad/staff/templates/staff.html.twig
new file mode 100644
index 0000000..91e43c8
--- /dev/null
+++ b/modules/fahad/staff/templates/staff.html.twig
@@ -0,0 +1 @@
+<!-- Add you custom twig html here --> \ No newline at end of file
diff --git a/modules/fahad/staff/tests/src/Functional/LoadTest.php b/modules/fahad/staff/tests/src/Functional/LoadTest.php
new file mode 100644
index 0000000..5ad4fa3
--- /dev/null
+++ b/modules/fahad/staff/tests/src/Functional/LoadTest.php
@@ -0,0 +1,46 @@
+<?php
+
+namespace Drupal\Tests\staff\Functional;
+
+use Drupal\Core\Url;
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Simple test to ensure that main page loads with module enabled.
+ *
+ * @group staff
+ */
+class LoadTest extends BrowserTestBase {
+
+ /**
+ * Modules to enable.
+ *
+ * @var array
+ */
+ public static $modules = ['staff'];
+
+ /**
+ * 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);
+ }
+
+}