summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNitesh Kumar Sinha2019-07-03 13:35:52 +0530
committerGitHub2019-07-03 13:35:52 +0530
commit5773bf53a42a2db3a688a7b7e2eedf911a40c29f (patch)
tree8fd529d45e37612de276b07be5caaa7335114c9a
parent0d50e51638dac37bb5133b5024f2e44811e2745e (diff)
parentfd04311179377ce2b4c5697be2ae2a2b51a1b2f3 (diff)
downloadacadmix_distribution-5773bf53a42a2db3a688a7b7e2eedf911a40c29f.tar.gz
acadmix_distribution-5773bf53a42a2db3a688a7b7e2eedf911a40c29f.tar.bz2
acadmix_distribution-5773bf53a42a2db3a688a7b7e2eedf911a40c29f.zip
Merge pull request #17 from fahad-israr/master
Fahad Migration and View Files Concatenation
-rw-r--r--modules/bhavika/admission_program/config/install/views.view.ug.yml244
-rw-r--r--modules/bhavika/clubs/clubs.info.yml (renamed from modules/bhavika/welcome/welcome.info.yml)0
-rw-r--r--modules/bhavika/clubs/clubs.install (renamed from modules/bhavika/welcome/welcome.install)2
-rw-r--r--modules/bhavika/clubs/clubs.module (renamed from modules/bhavika/welcome/welcome.module)10
-rw-r--r--modules/bhavika/clubs/clubs.routing.yml (renamed from modules/bhavika/welcome/welcome.routing.yml)0
-rw-r--r--modules/bhavika/clubs/composer.json (renamed from modules/bhavika/welcome/composer.json)0
-rw-r--r--modules/bhavika/clubs/config/install/core.entity_form_display.node.clubs.default.yml (renamed from modules/bhavika/welcome/config/install/core.entity_form_display.node.clubs.default.yml)2
-rw-r--r--modules/bhavika/clubs/config/install/core.entity_view_display.node.clubs.default.yml (renamed from modules/bhavika/welcome/config/install/core.entity_view_display.node.clubs.default.yml)3
-rw-r--r--modules/bhavika/clubs/config/install/core.entity_view_display.node.clubs.teaser.yml (renamed from modules/bhavika/welcome/config/install/core.entity_view_display.node.clubs.teaser.yml)3
-rw-r--r--modules/bhavika/clubs/config/install/field.field.node.clubs.body.yml (renamed from modules/bhavika/welcome/config/install/field.field.node.clubs.body.yml)3
-rw-r--r--modules/bhavika/clubs/config/install/field.field.node.clubs.field_activity_type.yml (renamed from modules/bhavika/welcome/config/install/field.field.node.clubs.field_activity_type.yml)3
-rw-r--r--modules/bhavika/clubs/config/install/field.field.node.clubs.field_contact_no.yml (renamed from modules/bhavika/welcome/config/install/field.field.node.clubs.field_contact_no.yml)3
-rw-r--r--modules/bhavika/clubs/config/install/field.field.node.clubs.field_email.yml (renamed from modules/bhavika/welcome/config/install/field.field.node.clubs.field_email.yml)3
-rw-r--r--modules/bhavika/clubs/config/install/field.field.node.clubs.field_external_link.yml (renamed from modules/bhavika/welcome/config/install/field.field.node.clubs.field_external_link.yml)3
-rw-r--r--modules/bhavika/clubs/config/install/field.field.node.clubs.field_facebook_link.yml (renamed from modules/bhavika/welcome/config/install/field.field.node.clubs.field_facebook_link.yml)3
-rw-r--r--modules/bhavika/clubs/config/install/field.field.node.clubs.field_img.yml (renamed from modules/bhavika/welcome/config/install/field.field.node.clubs.field_img.yml)3
-rw-r--r--modules/bhavika/clubs/config/install/field.field.node.clubs.field_instagram_link.yml (renamed from modules/bhavika/welcome/config/install/field.field.node.clubs.field_instagram_link.yml)3
-rw-r--r--modules/bhavika/clubs/config/install/field.field.node.clubs.field_twitter_link.yml (renamed from modules/bhavika/welcome/config/install/field.field.node.clubs.field_twitter_link.yml)3
-rw-r--r--modules/bhavika/clubs/config/install/field.field.node.clubs.field_youtube_link.yml (renamed from modules/bhavika/welcome/config/install/field.field.node.clubs.field_youtube_link.yml)3
-rw-r--r--modules/bhavika/clubs/config/install/field.storage.node.field_activity_type.yml (renamed from modules/bhavika/welcome/config/install/field.storage.node.field_activity_type.yml)3
-rw-r--r--modules/bhavika/clubs/config/install/field.storage.node.field_contact_no.yml (renamed from modules/bhavika/welcome/config/install/field.storage.node.field_contact_no.yml)3
-rw-r--r--modules/bhavika/clubs/config/install/field.storage.node.field_email.yml (renamed from modules/bhavika/welcome/config/install/field.storage.node.field_email.yml)3
-rw-r--r--modules/bhavika/clubs/config/install/field.storage.node.field_external_link.yml (renamed from modules/bhavika/welcome/config/install/field.storage.node.field_external_link.yml)3
-rw-r--r--modules/bhavika/clubs/config/install/field.storage.node.field_facebook_link.yml (renamed from modules/bhavika/welcome/config/install/field.storage.node.field_facebook_link.yml)3
-rw-r--r--modules/bhavika/clubs/config/install/field.storage.node.field_img.yml (renamed from modules/bhavika/welcome/config/install/field.storage.node.field_img.yml)3
-rw-r--r--modules/bhavika/clubs/config/install/field.storage.node.field_instagram_link.yml (renamed from modules/bhavika/welcome/config/install/field.storage.node.field_instagram_link.yml)3
-rw-r--r--modules/bhavika/clubs/config/install/field.storage.node.field_twitter_link.yml (renamed from modules/bhavika/welcome/config/install/field.storage.node.field_twitter_link.yml)3
-rw-r--r--modules/bhavika/clubs/config/install/field.storage.node.field_youtube_link.yml (renamed from modules/bhavika/welcome/config/install/field.storage.node.field_youtube_link.yml)3
-rw-r--r--modules/bhavika/clubs/config/install/node.type.clubs.yml (renamed from modules/bhavika/welcome/config/install/node.type.clubs.yml)3
-rw-r--r--modules/bhavika/clubs/config/install/views.view.clubs.yml330
-rw-r--r--modules/bhavika/clubs/src/Controller/ClubsController.php (renamed from modules/bhavika/welcome/src/Controller/WelcomeController.php)4
-rw-r--r--modules/bhavika/clubs/templates/welcome.html.twig (renamed from modules/bhavika/welcome/templates/welcome.html.twig)0
-rw-r--r--modules/bhavika/clubs/tests/src/Functional/LoadTest.php (renamed from modules/bhavika/welcome/tests/src/Functional/LoadTest.php)0
-rw-r--r--modules/bhavika/department/config/install/views.view.department.yml194
-rw-r--r--modules/bhavika/l_d_c_e_imp_pdf_links/config/install/views.view.imp_pdf_links.yml195
-rw-r--r--modules/bhavika/photo_gallery/config/install/views.view.photo_gallery.yml225
-rw-r--r--modules/fahad/academic_calendar_content/config/install/migrate_plus.migration.academic_calendar.yml51
-rw-r--r--modules/fahad/academic_calendar_content/config/install/views.view.academic_calendar.yml202
-rw-r--r--modules/fahad/bog_meetings/config/install/migrate_plus.migration.bog_meetings.yml53
-rw-r--r--modules/fahad/bog_meetings/config/install/views.view.bog_meetings.yml201
-rw-r--r--modules/fahad/clubs/config/install/migrate_plus.migration.clubs.yml47
-rw-r--r--modules/fahad/clubs/config/install/views.view.clubs.yml201
-rw-r--r--modules/fahad/department/config/install/migrate_plus.migration.Department.yml28
-rw-r--r--modules/fahad/department/config/install/views.view.department.yml201
-rw-r--r--modules/fahad/fac_page/config/install/migrate_plus.migration.FACULTY MIGRATIONS.yml52
-rw-r--r--modules/fahad/fac_page/config/install/views.view.people.yml201
-rw-r--r--modules/fahad/facility/config/install/migrate_plus.migration.facilities.yml46
-rw-r--r--modules/fahad/facility/config/install/views.view.facilities.yml212
-rw-r--r--modules/fahad/faq/config/install/migrate_plus.migration.faqs.yml27
-rw-r--r--modules/fahad/faq/config/install/views.view.faqs.yml201
-rw-r--r--modules/fahad/festivals/config/install/migrate_plus.migration.festivals.yml61
-rw-r--r--modules/fahad/festivals/config/install/views.view.festivals.yml197
-rw-r--r--modules/fahad/industry_partners/config/install/migrate_plus.migration.industry_partners.yml46
-rw-r--r--modules/fahad/industry_partners/config/install/views.view.industry_partners_view.yml212
-rw-r--r--modules/fahad/notification/config/install/migrate_plus.migration.notifications.yml59
-rw-r--r--modules/fahad/notification/config/install/views.view.notifications.yml197
-rw-r--r--modules/fahad/staff/config/install/migrate_plus.migration.staff.yml48
-rw-r--r--modules/fahad/staff/config/install/views.view.staff.yml201
58 files changed, 4007 insertions, 9 deletions
diff --git a/modules/bhavika/admission_program/config/install/views.view.ug.yml b/modules/bhavika/admission_program/config/install/views.view.ug.yml
new file mode 100644
index 0000000..6486375
--- /dev/null
+++ b/modules/bhavika/admission_program/config/install/views.view.ug.yml
@@ -0,0 +1,244 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - node.type.new
+ - taxonomy.vocabulary.category
+ content:
+ - 'taxonomy_term:category:97e2c9fe-513e-451b-915a-27bce48fcec9'
+ module:
+ - node
+ - taxonomy
+ - user
+ enforced:
+ module:
+ - admission_program
+id: ug
+label: UG
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: mini
+ options:
+ items_per_page: 10
+ offset: 0
+ id: 0
+ total_pages: null
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ tags:
+ previous: ‹‹
+ next: ››
+ style:
+ type: default
+ row:
+ type: 'entity:node'
+ options:
+ view_mode: teaser
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ entity_type: node
+ entity_field: title
+ label: ''
+ alter:
+ alter_text: false
+ make_link: false
+ absolute: false
+ trim: false
+ word_boundary: false
+ ellipsis: false
+ strip_tags: false
+ html: false
+ hide_empty: false
+ empty_zero: false
+ settings:
+ link_to_entity: true
+ plugin_id: field
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exclude: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ filters:
+ status:
+ value: '1'
+ table: node_field_data
+ field: status
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ id: status
+ expose:
+ operator: ''
+ group: 1
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ new: new
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ field_category1_target_id:
+ id: field_category1_target_id
+ table: node__field_category1
+ field: field_category1_target_id
+ relationship: none
+ group_type: group
+ admin_label: ''
+ operator: or
+ value:
+ 50: 50
+ group: 1
+ exposed: false
+ expose:
+ operator_id: ''
+ label: ''
+ description: ''
+ use_operator: false
+ operator: ''
+ identifier: ''
+ required: false
+ remember: false
+ multiple: false
+ remember_roles:
+ authenticated: authenticated
+ reduce: false
+ is_grouped: false
+ group_info:
+ label: ''
+ description: ''
+ identifier: ''
+ optional: true
+ widget: select
+ multiple: false
+ remember: false
+ default_group: All
+ default_group_multiple: { }
+ group_items: { }
+ reduce_duplicates: false
+ type: select
+ limit: true
+ vid: category
+ hierarchy: false
+ error_message: true
+ plugin_id: taxonomy_index_tid
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: UG
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - user
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: ug
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - user
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
diff --git a/modules/bhavika/welcome/welcome.info.yml b/modules/bhavika/clubs/clubs.info.yml
index a705811..a705811 100644
--- a/modules/bhavika/welcome/welcome.info.yml
+++ b/modules/bhavika/clubs/clubs.info.yml
diff --git a/modules/bhavika/welcome/welcome.install b/modules/bhavika/clubs/clubs.install
index 0a1035c..feb3308 100644
--- a/modules/bhavika/welcome/welcome.install
+++ b/modules/bhavika/clubs/clubs.install
@@ -10,7 +10,7 @@
*/
-function welcome_uninstall() { //<-- replace “welcome” with your module machine name
+function clubs_uninstall() { //<-- replace “welcome” with your module machine name
// Load services.
diff --git a/modules/bhavika/welcome/welcome.module b/modules/bhavika/clubs/clubs.module
index 0db90cd..367ac60 100644
--- a/modules/bhavika/welcome/welcome.module
+++ b/modules/bhavika/clubs/clubs.module
@@ -10,7 +10,7 @@ use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
-function welcome_form_alter(&$form, &$form_state, $form_id){
+function clubs_form_alter(&$form, &$form_state, $form_id){
//print_r($form_id);
print_r($form['#view']);
if($form_id == 'node_page_form')
@@ -37,10 +37,10 @@ function welcome_form_alter(&$form, &$form_state, $form_id){
$form['site_information']['site_mail']['#default_value'] = 'ldce-abad-dte@gujarat.gov.in';
}
}
-function welcome_help($route_name, RouteMatchInterface $route_match) {
+function clubs_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the welcome module.
- case 'help.page.welcome':
+ case 'help.page.clubs':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('this module shows welcome message to logged in user.') . '</p>';
@@ -53,9 +53,9 @@ function welcome_help($route_name, RouteMatchInterface $route_match) {
/**
* Implements hook_theme().
*/
-function welcome_theme() {
+function clubs_theme() {
return [
- 'welcome' => [
+ 'clubs' => [
'render element' => 'children',
],
];
diff --git a/modules/bhavika/welcome/welcome.routing.yml b/modules/bhavika/clubs/clubs.routing.yml
index 456e2b6..456e2b6 100644
--- a/modules/bhavika/welcome/welcome.routing.yml
+++ b/modules/bhavika/clubs/clubs.routing.yml
diff --git a/modules/bhavika/welcome/composer.json b/modules/bhavika/clubs/composer.json
index e544b43..e544b43 100644
--- a/modules/bhavika/welcome/composer.json
+++ b/modules/bhavika/clubs/composer.json
diff --git a/modules/bhavika/welcome/config/install/core.entity_form_display.node.clubs.default.yml b/modules/bhavika/clubs/config/install/core.entity_form_display.node.clubs.default.yml
index a96619f..5be3099 100644
--- a/modules/bhavika/welcome/config/install/core.entity_form_display.node.clubs.default.yml
+++ b/modules/bhavika/clubs/config/install/core.entity_form_display.node.clubs.default.yml
@@ -21,7 +21,7 @@ dependencies:
- text
enforced:
module:
- - welcome
+ - clubs
id: node.clubs.default
targetEntityType: node
bundle: clubs
diff --git a/modules/bhavika/welcome/config/install/core.entity_view_display.node.clubs.default.yml b/modules/bhavika/clubs/config/install/core.entity_view_display.node.clubs.default.yml
index 445adab..25694e4 100644
--- a/modules/bhavika/welcome/config/install/core.entity_view_display.node.clubs.default.yml
+++ b/modules/bhavika/clubs/config/install/core.entity_view_display.node.clubs.default.yml
@@ -18,6 +18,9 @@ dependencies:
- link
- text
- user
+ enforced:
+ module:
+ - clubs
id: node.clubs.default
targetEntityType: node
bundle: clubs
diff --git a/modules/bhavika/welcome/config/install/core.entity_view_display.node.clubs.teaser.yml b/modules/bhavika/clubs/config/install/core.entity_view_display.node.clubs.teaser.yml
index fd4b1f4..5590af0 100644
--- a/modules/bhavika/welcome/config/install/core.entity_view_display.node.clubs.teaser.yml
+++ b/modules/bhavika/clubs/config/install/core.entity_view_display.node.clubs.teaser.yml
@@ -10,6 +10,9 @@ dependencies:
- image
- text
- user
+ enforced:
+ module:
+ - clubs
id: node.clubs.teaser
targetEntityType: node
bundle: clubs
diff --git a/modules/bhavika/welcome/config/install/field.field.node.clubs.body.yml b/modules/bhavika/clubs/config/install/field.field.node.clubs.body.yml
index e572069..2cb335e 100644
--- a/modules/bhavika/welcome/config/install/field.field.node.clubs.body.yml
+++ b/modules/bhavika/clubs/config/install/field.field.node.clubs.body.yml
@@ -6,6 +6,9 @@ dependencies:
- node.type.clubs
module:
- text
+ enforced:
+ module:
+ - clubs
id: node.clubs.body
field_name: body
entity_type: node
diff --git a/modules/bhavika/welcome/config/install/field.field.node.clubs.field_activity_type.yml b/modules/bhavika/clubs/config/install/field.field.node.clubs.field_activity_type.yml
index da66c52..d020e2e 100644
--- a/modules/bhavika/welcome/config/install/field.field.node.clubs.field_activity_type.yml
+++ b/modules/bhavika/clubs/config/install/field.field.node.clubs.field_activity_type.yml
@@ -4,6 +4,9 @@ dependencies:
config:
- field.storage.node.field_activity_type
- node.type.clubs
+ enforced:
+ module:
+ - clubs
id: node.clubs.field_activity_type
field_name: field_activity_type
entity_type: node
diff --git a/modules/bhavika/welcome/config/install/field.field.node.clubs.field_contact_no.yml b/modules/bhavika/clubs/config/install/field.field.node.clubs.field_contact_no.yml
index 28becd7..75c1a61 100644
--- a/modules/bhavika/welcome/config/install/field.field.node.clubs.field_contact_no.yml
+++ b/modules/bhavika/clubs/config/install/field.field.node.clubs.field_contact_no.yml
@@ -4,6 +4,9 @@ dependencies:
config:
- field.storage.node.field_contact_no
- node.type.clubs
+ enforced:
+ module:
+ - clubs
id: node.clubs.field_contact_no
field_name: field_contact_no
entity_type: node
diff --git a/modules/bhavika/welcome/config/install/field.field.node.clubs.field_email.yml b/modules/bhavika/clubs/config/install/field.field.node.clubs.field_email.yml
index a179d07..8f2ac5b 100644
--- a/modules/bhavika/welcome/config/install/field.field.node.clubs.field_email.yml
+++ b/modules/bhavika/clubs/config/install/field.field.node.clubs.field_email.yml
@@ -4,6 +4,9 @@ dependencies:
config:
- field.storage.node.field_email
- node.type.clubs
+ enforced:
+ module:
+ - clubs
id: node.clubs.field_email
field_name: field_email
entity_type: node
diff --git a/modules/bhavika/welcome/config/install/field.field.node.clubs.field_external_link.yml b/modules/bhavika/clubs/config/install/field.field.node.clubs.field_external_link.yml
index 7962381..d3f123b 100644
--- a/modules/bhavika/welcome/config/install/field.field.node.clubs.field_external_link.yml
+++ b/modules/bhavika/clubs/config/install/field.field.node.clubs.field_external_link.yml
@@ -6,6 +6,9 @@ dependencies:
- node.type.clubs
module:
- link
+ enforced:
+ module:
+ - clubs
id: node.clubs.field_external_link
field_name: field_external_link
entity_type: node
diff --git a/modules/bhavika/welcome/config/install/field.field.node.clubs.field_facebook_link.yml b/modules/bhavika/clubs/config/install/field.field.node.clubs.field_facebook_link.yml
index b15c13e..7f1c33a 100644
--- a/modules/bhavika/welcome/config/install/field.field.node.clubs.field_facebook_link.yml
+++ b/modules/bhavika/clubs/config/install/field.field.node.clubs.field_facebook_link.yml
@@ -6,6 +6,9 @@ dependencies:
- node.type.clubs
module:
- link
+ enforced:
+ module:
+ - clubs
id: node.clubs.field_facebook_link
field_name: field_facebook_link
entity_type: node
diff --git a/modules/bhavika/welcome/config/install/field.field.node.clubs.field_img.yml b/modules/bhavika/clubs/config/install/field.field.node.clubs.field_img.yml
index 6588324..2454692 100644
--- a/modules/bhavika/welcome/config/install/field.field.node.clubs.field_img.yml
+++ b/modules/bhavika/clubs/config/install/field.field.node.clubs.field_img.yml
@@ -6,6 +6,9 @@ dependencies:
- node.type.clubs
module:
- image
+ enforced:
+ module:
+ - clubs
id: node.clubs.field_img
field_name: field_img
entity_type: node
diff --git a/modules/bhavika/welcome/config/install/field.field.node.clubs.field_instagram_link.yml b/modules/bhavika/clubs/config/install/field.field.node.clubs.field_instagram_link.yml
index 502ff03..fc0f87b 100644
--- a/modules/bhavika/welcome/config/install/field.field.node.clubs.field_instagram_link.yml
+++ b/modules/bhavika/clubs/config/install/field.field.node.clubs.field_instagram_link.yml
@@ -6,6 +6,9 @@ dependencies:
- node.type.clubs
module:
- link
+ enforced:
+ module:
+ - clubs
id: node.clubs.field_instagram_link
field_name: field_instagram_link
entity_type: node
diff --git a/modules/bhavika/welcome/config/install/field.field.node.clubs.field_twitter_link.yml b/modules/bhavika/clubs/config/install/field.field.node.clubs.field_twitter_link.yml
index 9ff6d67..ba25bc9 100644
--- a/modules/bhavika/welcome/config/install/field.field.node.clubs.field_twitter_link.yml
+++ b/modules/bhavika/clubs/config/install/field.field.node.clubs.field_twitter_link.yml
@@ -6,6 +6,9 @@ dependencies:
- node.type.clubs
module:
- link
+ enforced:
+ module:
+ - clubs
id: node.clubs.field_twitter_link
field_name: field_twitter_link
entity_type: node
diff --git a/modules/bhavika/welcome/config/install/field.field.node.clubs.field_youtube_link.yml b/modules/bhavika/clubs/config/install/field.field.node.clubs.field_youtube_link.yml
index 3948100..6f4d83f 100644
--- a/modules/bhavika/welcome/config/install/field.field.node.clubs.field_youtube_link.yml
+++ b/modules/bhavika/clubs/config/install/field.field.node.clubs.field_youtube_link.yml
@@ -6,6 +6,9 @@ dependencies:
- node.type.clubs
module:
- link
+ enforced:
+ module:
+ - clubs
id: node.clubs.field_youtube_link
field_name: field_youtube_link
entity_type: node
diff --git a/modules/bhavika/welcome/config/install/field.storage.node.field_activity_type.yml b/modules/bhavika/clubs/config/install/field.storage.node.field_activity_type.yml
index c6ed31c..cc17935 100644
--- a/modules/bhavika/welcome/config/install/field.storage.node.field_activity_type.yml
+++ b/modules/bhavika/clubs/config/install/field.storage.node.field_activity_type.yml
@@ -4,6 +4,9 @@ dependencies:
module:
- node
- taxonomy
+ enforced:
+ module:
+ - clubs
id: node.field_activity_type
field_name: field_activity_type
entity_type: node
diff --git a/modules/bhavika/welcome/config/install/field.storage.node.field_contact_no.yml b/modules/bhavika/clubs/config/install/field.storage.node.field_contact_no.yml
index 5529a2a..9457294 100644
--- a/modules/bhavika/welcome/config/install/field.storage.node.field_contact_no.yml
+++ b/modules/bhavika/clubs/config/install/field.storage.node.field_contact_no.yml
@@ -3,6 +3,9 @@ status: true
dependencies:
module:
- node
+ enforced:
+ module:
+ - clubs
id: node.field_contact_no
field_name: field_contact_no
entity_type: node
diff --git a/modules/bhavika/welcome/config/install/field.storage.node.field_email.yml b/modules/bhavika/clubs/config/install/field.storage.node.field_email.yml
index b5af8b1..fb0167a 100644
--- a/modules/bhavika/welcome/config/install/field.storage.node.field_email.yml
+++ b/modules/bhavika/clubs/config/install/field.storage.node.field_email.yml
@@ -3,6 +3,9 @@ status: true
dependencies:
module:
- node
+ enforced:
+ module:
+ - clubs
id: node.field_email
field_name: field_email
entity_type: node
diff --git a/modules/bhavika/welcome/config/install/field.storage.node.field_external_link.yml b/modules/bhavika/clubs/config/install/field.storage.node.field_external_link.yml
index 1e6d9b3..52ac0c9 100644
--- a/modules/bhavika/welcome/config/install/field.storage.node.field_external_link.yml
+++ b/modules/bhavika/clubs/config/install/field.storage.node.field_external_link.yml
@@ -4,6 +4,9 @@ dependencies:
module:
- link
- node
+ enforced:
+ module:
+ - clubs
id: node.field_external_link
field_name: field_external_link
entity_type: node
diff --git a/modules/bhavika/welcome/config/install/field.storage.node.field_facebook_link.yml b/modules/bhavika/clubs/config/install/field.storage.node.field_facebook_link.yml
index d5ebe2f..59a4da6 100644
--- a/modules/bhavika/welcome/config/install/field.storage.node.field_facebook_link.yml
+++ b/modules/bhavika/clubs/config/install/field.storage.node.field_facebook_link.yml
@@ -4,6 +4,9 @@ dependencies:
module:
- link
- node
+ enforced:
+ module:
+ - clubs
id: node.field_facebook_link
field_name: field_facebook_link
entity_type: node
diff --git a/modules/bhavika/welcome/config/install/field.storage.node.field_img.yml b/modules/bhavika/clubs/config/install/field.storage.node.field_img.yml
index db3dc12..d63730f 100644
--- a/modules/bhavika/welcome/config/install/field.storage.node.field_img.yml
+++ b/modules/bhavika/clubs/config/install/field.storage.node.field_img.yml
@@ -5,6 +5,9 @@ dependencies:
- file
- image
- node
+ enforced:
+ module:
+ - clubs
id: node.field_img
field_name: field_img
entity_type: node
diff --git a/modules/bhavika/welcome/config/install/field.storage.node.field_instagram_link.yml b/modules/bhavika/clubs/config/install/field.storage.node.field_instagram_link.yml
index 4f826c7..eef7c10 100644
--- a/modules/bhavika/welcome/config/install/field.storage.node.field_instagram_link.yml
+++ b/modules/bhavika/clubs/config/install/field.storage.node.field_instagram_link.yml
@@ -4,6 +4,9 @@ dependencies:
module:
- link
- node
+ enforced:
+ module:
+ - clubs
id: node.field_instagram_link
field_name: field_instagram_link
entity_type: node
diff --git a/modules/bhavika/welcome/config/install/field.storage.node.field_twitter_link.yml b/modules/bhavika/clubs/config/install/field.storage.node.field_twitter_link.yml
index d8ebe38..659af76 100644
--- a/modules/bhavika/welcome/config/install/field.storage.node.field_twitter_link.yml
+++ b/modules/bhavika/clubs/config/install/field.storage.node.field_twitter_link.yml
@@ -4,6 +4,9 @@ dependencies:
module:
- link
- node
+ enforced:
+ module:
+ - clubs
id: node.field_twitter_link
field_name: field_twitter_link
entity_type: node
diff --git a/modules/bhavika/welcome/config/install/field.storage.node.field_youtube_link.yml b/modules/bhavika/clubs/config/install/field.storage.node.field_youtube_link.yml
index 30af03b..d6eebc4 100644
--- a/modules/bhavika/welcome/config/install/field.storage.node.field_youtube_link.yml
+++ b/modules/bhavika/clubs/config/install/field.storage.node.field_youtube_link.yml
@@ -4,6 +4,9 @@ dependencies:
module:
- link
- node
+ enforced:
+ module:
+ - clubs
id: node.field_youtube_link
field_name: field_youtube_link
entity_type: node
diff --git a/modules/bhavika/welcome/config/install/node.type.clubs.yml b/modules/bhavika/clubs/config/install/node.type.clubs.yml
index 81aad98..e2907ba 100644
--- a/modules/bhavika/welcome/config/install/node.type.clubs.yml
+++ b/modules/bhavika/clubs/config/install/node.type.clubs.yml
@@ -3,6 +3,9 @@ status: true
dependencies:
module:
- menu_ui
+ enforced:
+ module:
+ - clubs
third_party_settings:
menu_ui:
available_menus:
diff --git a/modules/bhavika/clubs/config/install/views.view.clubs.yml b/modules/bhavika/clubs/config/install/views.view.clubs.yml
new file mode 100644
index 0000000..e35c549
--- /dev/null
+++ b/modules/bhavika/clubs/config/install/views.view.clubs.yml
@@ -0,0 +1,330 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - field.storage.node.field_img
+ - node.type.clubs
+ module:
+ - image
+ - node
+ - text
+ - user
+ enforced:
+ module:
+ - clubs
+id: clubs
+label: clubs
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: some
+ options:
+ items_per_page: 3
+ offset: 0
+ style:
+ type: default
+ row:
+ type: fields
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ settings:
+ link_to_entity: true
+ plugin_id: field
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: ''
+ exclude: false
+ alter:
+ alter_text: false
+ text: ''
+ make_link: false
+ path: ''
+ absolute: false
+ external: false
+ replace_spaces: false
+ path_case: none
+ trim_whitespace: false
+ alt: ''
+ rel: ''
+ link_class: ''
+ prefix: ''
+ suffix: ''
+ target: ''
+ nl2br: false
+ max_length: 0
+ word_boundary: true
+ ellipsis: true
+ more_link: false
+ more_link_text: ''
+ more_link_path: ''
+ strip_tags: false
+ trim: false
+ preserve_tags: ''
+ html: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ field_img:
+ id: field_img
+ table: node__field_img
+ field: field_img
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: ''
+ exclude: false
+ alter:
+ alter_text: false
+ text: ''
+ make_link: false
+ path: ''
+ absolute: false
+ external: false
+ replace_spaces: false
+ path_case: none
+ trim_whitespace: false
+ alt: ''
+ rel: ''
+ link_class: ''
+ prefix: ''
+ suffix: ''
+ target: ''
+ nl2br: false
+ max_length: 0
+ word_boundary: true
+ ellipsis: true
+ more_link: false
+ more_link_text: ''
+ more_link_path: ''
+ strip_tags: false
+ trim: false
+ preserve_tags: ''
+ html: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: false
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: target_id
+ type: image
+ settings:
+ image_style: ''
+ image_link: content
+ group_column: ''
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ plugin_id: field
+ body:
+ id: body
+ table: node__body
+ field: body
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: ''
+ exclude: false
+ alter:
+ alter_text: false
+ text: ''
+ make_link: false
+ path: ''
+ absolute: false
+ external: false
+ replace_spaces: false
+ path_case: none
+ trim_whitespace: false
+ alt: ''
+ rel: ''
+ link_class: ''
+ prefix: ''
+ suffix: ''
+ target: ''
+ nl2br: false
+ max_length: 0
+ word_boundary: true
+ ellipsis: true
+ more_link: false
+ more_link_text: ''
+ more_link_path: ''
+ strip_tags: false
+ trim: false
+ preserve_tags: ''
+ html: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: false
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: value
+ type: text_default
+ settings: { }
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ plugin_id: field
+ filters:
+ status:
+ value: '1'
+ table: node_field_data
+ field: status
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ id: status
+ expose:
+ operator: ''
+ group: 1
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ clubs: clubs
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: clubs
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ use_more: true
+ use_more_always: true
+ use_more_text: more
+ link_url: /clubs-page
+ link_display: custom_url
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.body'
+ - 'config:field.storage.node.field_img'
+ block_1:
+ display_plugin: block
+ id: block_1
+ display_title: Block
+ position: 1
+ display_options:
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.body'
+ - 'config:field.storage.node.field_img'
diff --git a/modules/bhavika/welcome/src/Controller/WelcomeController.php b/modules/bhavika/clubs/src/Controller/ClubsController.php
index 067b08e..c4c6f5a 100644
--- a/modules/bhavika/welcome/src/Controller/WelcomeController.php
+++ b/modules/bhavika/clubs/src/Controller/ClubsController.php
@@ -7,7 +7,7 @@ use Drupal\Core\Controller\ControllerBase;
/**
* Class WelcomeController.
*/
-class WelcomeController extends ControllerBase {
+class ClubsController extends ControllerBase {
/**
* Welcome.
@@ -15,7 +15,7 @@ class WelcomeController extends ControllerBase {
* @return string
* Return Hello string.
*/
- public function welcome() {
+ public function clubs() {
return [
'#type' => 'markup',
'#markup' => $this->t('Implement method: welcome')
diff --git a/modules/bhavika/welcome/templates/welcome.html.twig b/modules/bhavika/clubs/templates/welcome.html.twig
index 95722bd..95722bd 100644
--- a/modules/bhavika/welcome/templates/welcome.html.twig
+++ b/modules/bhavika/clubs/templates/welcome.html.twig
diff --git a/modules/bhavika/welcome/tests/src/Functional/LoadTest.php b/modules/bhavika/clubs/tests/src/Functional/LoadTest.php
index caa6ac0..caa6ac0 100644
--- a/modules/bhavika/welcome/tests/src/Functional/LoadTest.php
+++ b/modules/bhavika/clubs/tests/src/Functional/LoadTest.php
diff --git a/modules/bhavika/department/config/install/views.view.department.yml b/modules/bhavika/department/config/install/views.view.department.yml
new file mode 100644
index 0000000..d38509a
--- /dev/null
+++ b/modules/bhavika/department/config/install/views.view.department.yml
@@ -0,0 +1,194 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - node.type.department
+ module:
+ - node
+ - user
+ enforced:
+ module:
+ - department
+id: department
+label: Department
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: mini
+ options:
+ items_per_page: 8
+ offset: 0
+ id: 0
+ total_pages: null
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ tags:
+ previous: ‹‹
+ next: ››
+ style:
+ type: default
+ row:
+ type: 'entity:node'
+ options:
+ view_mode: teaser
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ entity_type: node
+ entity_field: title
+ label: ''
+ alter:
+ alter_text: false
+ make_link: false
+ absolute: false
+ trim: false
+ word_boundary: false
+ ellipsis: false
+ strip_tags: false
+ html: false
+ hide_empty: false
+ empty_zero: false
+ settings:
+ link_to_entity: true
+ plugin_id: field
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exclude: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ filters:
+ status:
+ value: '1'
+ table: node_field_data
+ field: status
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ id: status
+ expose:
+ operator: ''
+ group: 1
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ department: department
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: Department
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: department
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
diff --git a/modules/bhavika/l_d_c_e_imp_pdf_links/config/install/views.view.imp_pdf_links.yml b/modules/bhavika/l_d_c_e_imp_pdf_links/config/install/views.view.imp_pdf_links.yml
new file mode 100644
index 0000000..da8d57e
--- /dev/null
+++ b/modules/bhavika/l_d_c_e_imp_pdf_links/config/install/views.view.imp_pdf_links.yml
@@ -0,0 +1,195 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - node.type.l_d_c_e_imp_pdf_links
+ module:
+ - node
+ - user
+ enforced:
+ module:
+ - l_d_c_e_imp_pdf_links
+id: imp_pdf_links
+label: 'imp pdf links'
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: mini
+ options:
+ items_per_page: 7
+ offset: 0
+ id: 0
+ total_pages: null
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ tags:
+ previous: ‹‹
+ next: ››
+ style:
+ type: default
+ row:
+ type: 'entity:node'
+ options:
+ relationship: none
+ view_mode: teaser
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ entity_type: node
+ entity_field: title
+ label: ''
+ alter:
+ alter_text: false
+ make_link: false
+ absolute: false
+ trim: false
+ word_boundary: false
+ ellipsis: false
+ strip_tags: false
+ html: false
+ hide_empty: false
+ empty_zero: false
+ settings:
+ link_to_entity: true
+ plugin_id: field
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exclude: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ filters:
+ status:
+ value: '1'
+ table: node_field_data
+ field: status
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ id: status
+ expose:
+ operator: ''
+ group: 1
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ l_d_c_e_imp_pdf_links: l_d_c_e_imp_pdf_links
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: 'imp pdf links'
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: imp-pdf-links
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
diff --git a/modules/bhavika/photo_gallery/config/install/views.view.photo_gallery.yml b/modules/bhavika/photo_gallery/config/install/views.view.photo_gallery.yml
new file mode 100644
index 0000000..a7651ff
--- /dev/null
+++ b/modules/bhavika/photo_gallery/config/install/views.view.photo_gallery.yml
@@ -0,0 +1,225 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.storage.node.field_photo_gallery_img
+ - node.type.photo_gallery
+ module:
+ - image
+ - node
+ - user
+ enforced:
+ module:
+ - photo_gallery
+id: photo_gallery
+label: 'Photo Gallery'
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: mini
+ options:
+ items_per_page: 10
+ offset: 0
+ id: 0
+ total_pages: null
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ tags:
+ previous: ‹‹
+ next: ››
+ style:
+ type: default
+ options:
+ grouping:
+ -
+ field: field_photo_gallery_img
+ rendered: true
+ rendered_strip: false
+ row_class: ''
+ default_row_class: true
+ uses_fields: true
+ row:
+ type: 'entity:node'
+ options:
+ relationship: none
+ view_mode: teaser
+ fields:
+ field_photo_gallery_img:
+ id: field_photo_gallery_img
+ table: node__field_photo_gallery_img
+ field: field_photo_gallery_img
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: ''
+ exclude: false
+ alter:
+ alter_text: false
+ text: ''
+ make_link: false
+ path: ''
+ absolute: false
+ external: false
+ replace_spaces: false
+ path_case: none
+ trim_whitespace: false
+ alt: ''
+ rel: ''
+ link_class: ''
+ prefix: ''
+ suffix: ''
+ target: ''
+ nl2br: false
+ max_length: 0
+ word_boundary: true
+ ellipsis: true
+ more_link: false
+ more_link_text: ''
+ more_link_path: ''
+ strip_tags: false
+ trim: false
+ preserve_tags: ''
+ html: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: false
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: target_id
+ type: image
+ settings:
+ image_style: ''
+ image_link: content
+ group_column: ''
+ group_columns: { }
+ group_rows: true
+ delta_limit: 1
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ plugin_id: field
+ filters:
+ status:
+ value: '1'
+ table: node_field_data
+ field: status
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ id: status
+ expose:
+ operator: ''
+ group: 1
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ photo_gallery: photo_gallery
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: 'Photo Gallery'
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.field_photo_gallery_img'
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: photo-gallery
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.field_photo_gallery_img'
diff --git a/modules/fahad/academic_calendar_content/config/install/migrate_plus.migration.academic_calendar.yml b/modules/fahad/academic_calendar_content/config/install/migrate_plus.migration.academic_calendar.yml
new file mode 100644
index 0000000..861da64
--- /dev/null
+++ b/modules/fahad/academic_calendar_content/config/install/migrate_plus.migration.academic_calendar.yml
@@ -0,0 +1,51 @@
+langcode: en
+status: true
+dependencies: { }
+id: academic_calendar
+class: null
+field_plugin_method: null
+cck_plugin_method: null
+migration_tags: null
+migration_group: null
+label: 'Custom Content migration from CSV for Academic Calendar'
+source:
+ plugin: csv
+ path: /var/www/html/project/docroot/calendar.csv
+ header_row_count: 1
+ keys:
+ - id
+ constants:
+ file_source: /var/www/html/project/docroot/fac_images
+ file_dest: 'public://fac_images/'
+process:
+ type:
+ plugin: default_value
+ default_value: academic_calendar_content
+ source_path_two:
+ -
+ plugin: skip_on_empty
+ method: process
+ source: file
+ -
+ plugin: concat
+ delimiter: /
+ source:
+ - constants/file_source
+ - file
+ title: title
+ body: body
+ field_calender_file:
+ plugin: file_import
+ source: '@source_path_two'
+ destination: constants/file_dest
+ field_calender_type:
+ -
+ plugin: entity_lookup
+ entity_type: taxonomy_term
+ bundle: academic_calender
+ source: type
+destination:
+ plugin: 'entity:node'
+migration_dependencies:
+ required: { }
+ optional: { }
diff --git a/modules/fahad/academic_calendar_content/config/install/views.view.academic_calendar.yml b/modules/fahad/academic_calendar_content/config/install/views.view.academic_calendar.yml
new file mode 100644
index 0000000..e5dd8d0
--- /dev/null
+++ b/modules/fahad/academic_calendar_content/config/install/views.view.academic_calendar.yml
@@ -0,0 +1,202 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.full
+ - node.type.academic_calendar_content
+ - system.menu.main
+ module:
+ - node
+ - user
+id: academic_calendar
+label: 'Academic Calendar'
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: mini
+ options:
+ items_per_page: 10
+ offset: 0
+ id: 0
+ total_pages: null
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ tags:
+ previous: ‹‹
+ next: ››
+ style:
+ type: default
+ row:
+ type: 'entity:node'
+ options:
+ relationship: none
+ view_mode: full
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ entity_type: node
+ entity_field: title
+ label: ''
+ alter:
+ alter_text: false
+ make_link: false
+ absolute: false
+ trim: false
+ word_boundary: false
+ ellipsis: false
+ strip_tags: false
+ html: false
+ hide_empty: false
+ empty_zero: false
+ settings:
+ link_to_entity: true
+ plugin_id: field
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exclude: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ filters:
+ status:
+ value: '1'
+ table: node_field_data
+ field: status
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ id: status
+ expose:
+ operator: ''
+ group: 1
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ academic_calendar_content: academic_calendar_content
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: 'Academic Calendar'
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: academic-calendar
+ menu:
+ type: normal
+ title: Calendar
+ description: ''
+ expanded: true
+ parent: 'menu_link_content:f22943a5-ddf8-4836-9e21-c522d862b8f5'
+ weight: 0
+ context: '0'
+ menu_name: main
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
diff --git a/modules/fahad/bog_meetings/config/install/migrate_plus.migration.bog_meetings.yml b/modules/fahad/bog_meetings/config/install/migrate_plus.migration.bog_meetings.yml
new file mode 100644
index 0000000..34490ce
--- /dev/null
+++ b/modules/fahad/bog_meetings/config/install/migrate_plus.migration.bog_meetings.yml
@@ -0,0 +1,53 @@
+langcode: en
+status: true
+dependencies: { }
+id: bog_meetings
+class: null
+field_plugin_method: null
+cck_plugin_method: null
+migration_tags: null
+migration_group: null
+label: 'Bog Meetings'
+source:
+ plugin: csv
+ path: /var/www/html/project/docroot/bog_meetings.csv
+ header_row_count: 1
+ keys:
+ - id
+ constants:
+ file_source: /var/www/html/project/docroot/fac_images
+ file_dest: 'public://fac_images/'
+process:
+ type:
+ plugin: default_value
+ default_value: bog_meetings
+ source_path:
+ -
+ plugin: skip_on_empty
+ method: process
+ source: bog_file
+ -
+ plugin: concat
+ delimiter: /
+ source:
+ - constants/file_source
+ - bog_file
+ title: title
+ body: body
+ field_bog_date_time:
+ -
+ plugin: format_date
+ from_format: 'd/m/Y H:i:s'
+ to_format: 'Y-m-d\TH:i:s'
+ from_timezone: Asia/Kolkata
+ to_timezone: UTC
+ source: bog_date_time
+ field_bog_file:
+ plugin: file_import
+ source: '@source_path'
+ destination: constants/file_dest
+destination:
+ plugin: 'entity:node'
+migration_dependencies:
+ required: { }
+ optional: { }
diff --git a/modules/fahad/bog_meetings/config/install/views.view.bog_meetings.yml b/modules/fahad/bog_meetings/config/install/views.view.bog_meetings.yml
new file mode 100644
index 0000000..46fc123
--- /dev/null
+++ b/modules/fahad/bog_meetings/config/install/views.view.bog_meetings.yml
@@ -0,0 +1,201 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - node.type.bog_meetings
+ - system.menu.main
+ module:
+ - node
+ - user
+id: bog_meetings
+label: 'Bog Meetings'
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: mini
+ options:
+ items_per_page: 10
+ offset: 0
+ id: 0
+ total_pages: null
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ tags:
+ previous: ‹‹
+ next: ››
+ style:
+ type: default
+ row:
+ type: 'entity:node'
+ options:
+ view_mode: teaser
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ entity_type: node
+ entity_field: title
+ label: ''
+ alter:
+ alter_text: false
+ make_link: false
+ absolute: false
+ trim: false
+ word_boundary: false
+ ellipsis: false
+ strip_tags: false
+ html: false
+ hide_empty: false
+ empty_zero: false
+ settings:
+ link_to_entity: true
+ plugin_id: field
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exclude: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ filters:
+ status:
+ value: '1'
+ table: node_field_data
+ field: status
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ id: status
+ expose:
+ operator: ''
+ group: 1
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ bog_meetings: bog_meetings
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: 'Bog Meetings'
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: bog-meetings
+ menu:
+ type: normal
+ title: 'Bog Meet'
+ description: ''
+ expanded: false
+ parent: 'menu_link_content:feea89d0-7c4d-492d-bc5e-42ae502ecc4b'
+ weight: 0
+ context: '0'
+ menu_name: main
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
diff --git a/modules/fahad/clubs/config/install/migrate_plus.migration.clubs.yml b/modules/fahad/clubs/config/install/migrate_plus.migration.clubs.yml
new file mode 100644
index 0000000..90bec4a
--- /dev/null
+++ b/modules/fahad/clubs/config/install/migrate_plus.migration.clubs.yml
@@ -0,0 +1,47 @@
+langcode: en
+status: true
+dependencies: { }
+id: clubs
+class: null
+field_plugin_method: null
+cck_plugin_method: null
+migration_tags: null
+migration_group: null
+label: 'Custom Content migration from CSV for Clubs'
+source:
+ plugin: csv
+ path: /var/www/html/project/docroot/test_migration_trail.csv
+ header_row_count: 1
+ keys:
+ - id
+process:
+ type:
+ plugin: default_value
+ default_value: clubs
+ title: title
+ body: body
+ field_class: class
+ field_student_volunteer: student_volunteer
+ field_club_category:
+ -
+ plugin: entity_lookup
+ entity_type: taxonomy_term
+ bundle: club_category
+ source: category
+ field_faculty_incharge:
+ -
+ plugin: entity_lookup
+ entity_type: node
+ bundle: fac_page
+ source: faculty_incharge
+ field_club_department:
+ -
+ plugin: entity_lookup
+ entity_type: node
+ bundle: department
+ source: department
+destination:
+ plugin: 'entity:node'
+migration_dependencies:
+ required: { }
+ optional: { }
diff --git a/modules/fahad/clubs/config/install/views.view.clubs.yml b/modules/fahad/clubs/config/install/views.view.clubs.yml
new file mode 100644
index 0000000..ecef89d
--- /dev/null
+++ b/modules/fahad/clubs/config/install/views.view.clubs.yml
@@ -0,0 +1,201 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.full
+ - node.type.clubs
+ - system.menu.main
+ module:
+ - node
+ - user
+id: clubs
+label: Clubs
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: mini
+ options:
+ items_per_page: 10
+ offset: 0
+ id: 0
+ total_pages: null
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ tags:
+ previous: ‹‹
+ next: ››
+ style:
+ type: default
+ row:
+ type: 'entity:node'
+ options:
+ view_mode: full
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ entity_type: node
+ entity_field: title
+ label: ''
+ alter:
+ alter_text: false
+ make_link: false
+ absolute: false
+ trim: false
+ word_boundary: false
+ ellipsis: false
+ strip_tags: false
+ html: false
+ hide_empty: false
+ empty_zero: false
+ settings:
+ link_to_entity: true
+ plugin_id: field
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exclude: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ filters:
+ status:
+ value: '1'
+ table: node_field_data
+ field: status
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ id: status
+ expose:
+ operator: ''
+ group: 1
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ clubs: clubs
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: Clubs
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: clubs
+ menu:
+ type: normal
+ title: Clubs
+ description: 'IIITT Clubs'
+ expanded: false
+ parent: ''
+ weight: -47
+ context: '0'
+ menu_name: main
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
diff --git a/modules/fahad/department/config/install/migrate_plus.migration.Department.yml b/modules/fahad/department/config/install/migrate_plus.migration.Department.yml
new file mode 100644
index 0000000..f5c0f4e
--- /dev/null
+++ b/modules/fahad/department/config/install/migrate_plus.migration.Department.yml
@@ -0,0 +1,28 @@
+
+langcode: en
+status: true
+dependencies: { }
+id: Department
+class: null
+field_plugin_method: null
+cck_plugin_method: null
+migration_tags: null
+migration_group: null
+label: Deaprtment
+source:
+ plugin: csv
+ path: /var/www/html/project/docroot/Department.csv
+ header_row_count: 1
+ keys:
+ - id
+process:
+ type:
+ plugin: default_value
+ default_value: department
+ title: title
+ body: body
+destination:
+ plugin: 'entity:node'
+migration_dependencies:
+ required: { }
+ optional: { }
diff --git a/modules/fahad/department/config/install/views.view.department.yml b/modules/fahad/department/config/install/views.view.department.yml
new file mode 100644
index 0000000..5dc7192
--- /dev/null
+++ b/modules/fahad/department/config/install/views.view.department.yml
@@ -0,0 +1,201 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - node.type.department
+ - system.menu.main
+ module:
+ - node
+ - user
+id: department
+label: Department
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: mini
+ options:
+ items_per_page: 10
+ offset: 0
+ id: 0
+ total_pages: null
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ tags:
+ previous: ‹‹
+ next: ››
+ style:
+ type: default
+ row:
+ type: 'entity:node'
+ options:
+ view_mode: teaser
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ entity_type: node
+ entity_field: title
+ label: ''
+ alter:
+ alter_text: false
+ make_link: false
+ absolute: false
+ trim: false
+ word_boundary: false
+ ellipsis: false
+ strip_tags: false
+ html: false
+ hide_empty: false
+ empty_zero: false
+ settings:
+ link_to_entity: true
+ plugin_id: field
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exclude: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ filters:
+ status:
+ value: '1'
+ table: node_field_data
+ field: status
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ id: status
+ expose:
+ operator: ''
+ group: 1
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ department: department
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: Department
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: department
+ menu:
+ type: normal
+ title: Departments
+ description: ''
+ expanded: false
+ parent: 'menu_link_content:f22943a5-ddf8-4836-9e21-c522d862b8f5'
+ weight: 0
+ context: '0'
+ menu_name: main
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
diff --git a/modules/fahad/fac_page/config/install/migrate_plus.migration.FACULTY MIGRATIONS.yml b/modules/fahad/fac_page/config/install/migrate_plus.migration.FACULTY MIGRATIONS.yml
new file mode 100644
index 0000000..82de622
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/migrate_plus.migration.FACULTY MIGRATIONS.yml
@@ -0,0 +1,52 @@
+langcode: en
+status: true
+dependencies: { }
+id: 'FACULTY MIGRATIONS'
+class: null
+field_plugin_method: null
+cck_plugin_method: null
+migration_tags: null
+migration_group: null
+label: 'Custom Content migration from CSV faculty'
+source:
+ plugin: csv
+ path: /var/www/html/project/docroot/faculty.csv
+ header_row_count: 1
+ keys:
+ - id
+ constants:
+ file_source: /var/www/html/project/docroot/fac_images
+ file_dest: 'public://fac_images/'
+process:
+ type:
+ plugin: default_value
+ default_value: fac_page
+ source_path:
+ -
+ plugin: skip_on_empty
+ method: process
+ source: phuto
+ -
+ plugin: concat
+ delimiter: /
+ source:
+ - constants/file_source
+ - phuto
+ title: title
+ field_email_new: email
+ field_full_name: name
+ field_faculty_photo:
+ plugin: file_import
+ source: '@source_path'
+ destination: constants/file_dest
+ field_department:
+ -
+ plugin: entity_lookup
+ entity_type: node
+ bundle: department
+ source: entity_ref
+destination:
+ plugin: 'entity:node'
+migration_dependencies:
+ required: { }
+ optional: { }
diff --git a/modules/fahad/fac_page/config/install/views.view.people.yml b/modules/fahad/fac_page/config/install/views.view.people.yml
new file mode 100644
index 0000000..7fadad1
--- /dev/null
+++ b/modules/fahad/fac_page/config/install/views.view.people.yml
@@ -0,0 +1,201 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.full
+ - node.type.fac_page
+ - system.menu.main
+ module:
+ - node
+ - user
+id: people
+label: People
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: mini
+ options:
+ items_per_page: 10
+ offset: 0
+ id: 0
+ total_pages: null
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ tags:
+ previous: ‹‹
+ next: ››
+ style:
+ type: default
+ row:
+ type: 'entity:node'
+ options:
+ view_mode: full
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ entity_type: node
+ entity_field: title
+ label: ''
+ alter:
+ alter_text: false
+ make_link: false
+ absolute: false
+ trim: false
+ word_boundary: false
+ ellipsis: false
+ strip_tags: false
+ html: false
+ hide_empty: false
+ empty_zero: false
+ settings:
+ link_to_entity: true
+ plugin_id: field
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exclude: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ filters:
+ status:
+ value: '1'
+ table: node_field_data
+ field: status
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ id: status
+ expose:
+ operator: ''
+ group: 1
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ fac_page: fac_page
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: People
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: people
+ menu:
+ type: normal
+ title: People
+ description: 'Faculty and Staff'
+ expanded: true
+ parent: ''
+ weight: -37
+ context: '0'
+ menu_name: main
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
diff --git a/modules/fahad/facility/config/install/migrate_plus.migration.facilities.yml b/modules/fahad/facility/config/install/migrate_plus.migration.facilities.yml
new file mode 100644
index 0000000..37ea4de
--- /dev/null
+++ b/modules/fahad/facility/config/install/migrate_plus.migration.facilities.yml
@@ -0,0 +1,46 @@
+langcode: en
+status: true
+dependencies: { }
+id: facilities
+class: null
+field_plugin_method: null
+cck_plugin_method: null
+migration_tags: null
+migration_group: null
+label: 'Custom Content migration from CSV Facility'
+source:
+ plugin: csv
+ path: /var/www/html/project/docroot/facility.csv
+ header_row_count: 1
+ keys:
+ - id
+ constants:
+ file_source: /var/www/html/project/docroot/fac_images
+ file_dest: 'public://fac_images/'
+process:
+ type:
+ plugin: default_value
+ default_value: facility
+ source_path:
+ -
+ plugin: skip_on_empty
+ method: process
+ source: phuto
+ -
+ plugin: concat
+ delimiter: /
+ source:
+ - constants/file_source
+ - phuto
+ title: title
+ body: body
+ field_facility_: email
+ field_facility_image:
+ plugin: file_import
+ source: '@source_path'
+ destination: constants/file_dest
+destination:
+ plugin: 'entity:node'
+migration_dependencies:
+ required: { }
+ optional: { }
diff --git a/modules/fahad/facility/config/install/views.view.facilities.yml b/modules/fahad/facility/config/install/views.view.facilities.yml
new file mode 100644
index 0000000..3049f64
--- /dev/null
+++ b/modules/fahad/facility/config/install/views.view.facilities.yml
@@ -0,0 +1,212 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.facility
+ - system.menu.main
+ module:
+ - node
+ - user
+ - views_bootstrap
+id: facilities
+label: Facilities
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: mini
+ options:
+ items_per_page: 10
+ offset: 0
+ id: 0
+ total_pages: null
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ tags:
+ previous: ‹‹
+ next: ››
+ style:
+ type: views_bootstrap_grid
+ options:
+ row_class: ''
+ default_row_class: true
+ uses_fields: false
+ alignment: horizontal
+ columns: '2'
+ col_xs: col-xs-6
+ col_sm: col-sm-6
+ col_md: col-md-6
+ col_lg: col-lg-6
+ row:
+ type: 'entity:node'
+ options:
+ relationship: none
+ view_mode: default
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ entity_type: node
+ entity_field: title
+ label: ''
+ alter:
+ alter_text: false
+ make_link: false
+ absolute: false
+ trim: false
+ word_boundary: false
+ ellipsis: false
+ strip_tags: false
+ html: false
+ hide_empty: false
+ empty_zero: false
+ settings:
+ link_to_entity: true
+ plugin_id: field
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exclude: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ filters:
+ status:
+ value: '1'
+ table: node_field_data
+ field: status
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ id: status
+ expose:
+ operator: ''
+ group: 1
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ facility: facility
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: Facilities
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: facilities
+ menu:
+ type: normal
+ title: Facilities
+ description: ''
+ expanded: true
+ parent: ''
+ weight: -38
+ context: '0'
+ menu_name: main
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
diff --git a/modules/fahad/faq/config/install/migrate_plus.migration.faqs.yml b/modules/fahad/faq/config/install/migrate_plus.migration.faqs.yml
new file mode 100644
index 0000000..5439881
--- /dev/null
+++ b/modules/fahad/faq/config/install/migrate_plus.migration.faqs.yml
@@ -0,0 +1,27 @@
+langcode: en
+status: true
+dependencies: { }
+id: faqs
+class: null
+field_plugin_method: null
+cck_plugin_method: null
+migration_tags: null
+migration_group: null
+label: 'Custom Content migration from CSV for FAQS'
+source:
+ plugin: csv
+ path: /var/www/html/project/docroot/FAQ.csv
+ header_row_count: 1
+ keys:
+ - id
+process:
+ type:
+ plugin: default_value
+ default_value: faq
+ title: title
+ body: body
+destination:
+ plugin: 'entity:node'
+migration_dependencies:
+ required: { }
+ optional: { }
diff --git a/modules/fahad/faq/config/install/views.view.faqs.yml b/modules/fahad/faq/config/install/views.view.faqs.yml
new file mode 100644
index 0000000..a138da1
--- /dev/null
+++ b/modules/fahad/faq/config/install/views.view.faqs.yml
@@ -0,0 +1,201 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.full
+ - node.type.faq
+ - system.menu.main
+ module:
+ - node
+ - user
+id: faqs
+label: FAQs
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: mini
+ options:
+ items_per_page: 10
+ offset: 0
+ id: 0
+ total_pages: null
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ tags:
+ previous: ‹‹
+ next: ››
+ style:
+ type: default
+ row:
+ type: 'entity:node'
+ options:
+ view_mode: full
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ entity_type: node
+ entity_field: title
+ label: ''
+ alter:
+ alter_text: false
+ make_link: false
+ absolute: false
+ trim: false
+ word_boundary: false
+ ellipsis: false
+ strip_tags: false
+ html: false
+ hide_empty: false
+ empty_zero: false
+ settings:
+ link_to_entity: true
+ plugin_id: field
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exclude: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ filters:
+ status:
+ value: '1'
+ table: node_field_data
+ field: status
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ id: status
+ expose:
+ operator: ''
+ group: 1
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ faq: faq
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: FAQs
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: faqs
+ menu:
+ type: normal
+ title: Faqs
+ description: ''
+ expanded: false
+ parent: 'menu_link_content:f22943a5-ddf8-4836-9e21-c522d862b8f5'
+ weight: 0
+ context: '0'
+ menu_name: main
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
diff --git a/modules/fahad/festivals/config/install/migrate_plus.migration.festivals.yml b/modules/fahad/festivals/config/install/migrate_plus.migration.festivals.yml
new file mode 100644
index 0000000..0493781
--- /dev/null
+++ b/modules/fahad/festivals/config/install/migrate_plus.migration.festivals.yml
@@ -0,0 +1,61 @@
+langcode: en
+status: true
+dependencies: { }
+id: festivals
+class: null
+field_plugin_method: null
+cck_plugin_method: null
+migration_tags: null
+migration_group: null
+label: 'Custom Content migration from CSV FESTIVALS'
+source:
+ plugin: csv
+ path: /var/www/html/project/docroot/festivals.csv
+ header_row_count: 1
+ keys:
+ - id
+ constants:
+ file_source: /var/www/html/project/docroot/fac_images
+ file_dest: 'public://fac_images/'
+process:
+ type:
+ plugin: default_value
+ default_value: festivals
+ source_path:
+ -
+ plugin: skip_on_empty
+ method: process
+ source: phuto
+ -
+ plugin: concat
+ delimiter: /
+ source:
+ - constants/file_source
+ - phuto
+ source_path_two:
+ -
+ plugin: skip_on_empty
+ method: process
+ source: file
+ -
+ plugin: concat
+ delimiter: /
+ source:
+ - constants/file_source
+ - file
+ title: title
+ body: body
+ field_fastival_link: link
+ field_festival_image:
+ plugin: file_import
+ source: '@source_path'
+ destination: constants/file_dest
+ field_festival_file:
+ plugin: file_import
+ source: '@source_path_two'
+ destination: constants/file_dest
+destination:
+ plugin: 'entity:node'
+migration_dependencies:
+ required: { }
+ optional: { }
diff --git a/modules/fahad/festivals/config/install/views.view.festivals.yml b/modules/fahad/festivals/config/install/views.view.festivals.yml
new file mode 100644
index 0000000..0d2e235
--- /dev/null
+++ b/modules/fahad/festivals/config/install/views.view.festivals.yml
@@ -0,0 +1,197 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.full
+ - node.type.festivals
+ - system.menu.main
+ module:
+ - node
+ - user
+id: festivals
+label: Festivals
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: mini
+ options:
+ items_per_page: 10
+ offset: 0
+ id: 0
+ total_pages: null
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ tags:
+ previous: ‹‹
+ next: ››
+ style:
+ type: default
+ row:
+ type: 'entity:node'
+ options:
+ view_mode: full
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ entity_type: node
+ entity_field: title
+ label: ''
+ alter:
+ alter_text: false
+ make_link: false
+ absolute: false
+ trim: false
+ word_boundary: false
+ ellipsis: false
+ strip_tags: false
+ html: false
+ hide_empty: false
+ empty_zero: false
+ settings:
+ link_to_entity: true
+ plugin_id: field
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exclude: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ filters:
+ status:
+ value: '1'
+ table: node_field_data
+ field: status
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ id: status
+ expose:
+ operator: ''
+ group: 1
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ festivals: festivals
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: Festivals
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: festivals
+ menu:
+ type: normal
+ title: Festivals
+ menu_name: main
+ weight: -44
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
diff --git a/modules/fahad/industry_partners/config/install/migrate_plus.migration.industry_partners.yml b/modules/fahad/industry_partners/config/install/migrate_plus.migration.industry_partners.yml
new file mode 100644
index 0000000..a578d3c
--- /dev/null
+++ b/modules/fahad/industry_partners/config/install/migrate_plus.migration.industry_partners.yml
@@ -0,0 +1,46 @@
+langcode: en
+status: true
+dependencies: { }
+id: industry_partners
+class: null
+field_plugin_method: null
+cck_plugin_method: null
+migration_tags: null
+migration_group: null
+label: 'Custom Content migration from CSV Industry Partners'
+source:
+ plugin: csv
+ path: /var/www/html/project/docroot/industry.csv
+ header_row_count: 1
+ keys:
+ - id
+ constants:
+ file_source: /var/www/html/project/docroot/fac_images
+ file_dest: 'public://fac_images/'
+process:
+ type:
+ plugin: default_value
+ default_value: industry_partners
+ source_path:
+ -
+ plugin: skip_on_empty
+ method: process
+ source: phuto
+ -
+ plugin: concat
+ delimiter: /
+ source:
+ - constants/file_source
+ - phuto
+ title: title
+ body: body
+ field_company_website: link
+ field_company_logo:
+ plugin: file_import
+ source: '@source_path'
+ destination: constants/file_dest
+destination:
+ plugin: 'entity:node'
+migration_dependencies:
+ required: { }
+ optional: { }
diff --git a/modules/fahad/industry_partners/config/install/views.view.industry_partners_view.yml b/modules/fahad/industry_partners/config/install/views.view.industry_partners_view.yml
new file mode 100644
index 0000000..4d544e4
--- /dev/null
+++ b/modules/fahad/industry_partners/config/install/views.view.industry_partners_view.yml
@@ -0,0 +1,212 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.full
+ - node.type.industry_partners
+ - system.menu.main
+ module:
+ - node
+ - user
+ - views_bootstrap
+id: industry_partners_view
+label: 'Industry Partners'
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: mini
+ options:
+ items_per_page: 10
+ offset: 0
+ id: 0
+ total_pages: null
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ tags:
+ previous: ‹‹
+ next: ››
+ style:
+ type: views_bootstrap_grid
+ options:
+ row_class: ''
+ default_row_class: true
+ uses_fields: false
+ alignment: horizontal
+ columns: '2'
+ col_xs: col-xs-6
+ col_sm: col-sm-6
+ col_md: col-md-6
+ col_lg: col-lg-6
+ row:
+ type: 'entity:node'
+ options:
+ view_mode: full
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ entity_type: node
+ entity_field: title
+ label: ''
+ alter:
+ alter_text: false
+ make_link: false
+ absolute: false
+ trim: false
+ word_boundary: false
+ ellipsis: false
+ strip_tags: false
+ html: false
+ hide_empty: false
+ empty_zero: false
+ settings:
+ link_to_entity: true
+ plugin_id: field
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exclude: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ filters:
+ status:
+ value: '1'
+ table: node_field_data
+ field: status
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ id: status
+ expose:
+ operator: ''
+ group: 1
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ industry_partners: industry_partners
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: 'Industry Partners'
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: industry-partners
+ menu:
+ type: normal
+ title: 'Industry Partners'
+ description: ''
+ expanded: false
+ parent: 'menu_link_content:feea89d0-7c4d-492d-bc5e-42ae502ecc4b'
+ weight: 0
+ context: '0'
+ menu_name: main
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
diff --git a/modules/fahad/notification/config/install/migrate_plus.migration.notifications.yml b/modules/fahad/notification/config/install/migrate_plus.migration.notifications.yml
new file mode 100644
index 0000000..9b2ff05
--- /dev/null
+++ b/modules/fahad/notification/config/install/migrate_plus.migration.notifications.yml
@@ -0,0 +1,59 @@
+langcode: en
+status: true
+dependencies: { }
+id: notifications
+class: null
+field_plugin_method: null
+cck_plugin_method: null
+migration_tags: null
+migration_group: null
+label: 'Custom Content migration from CSV for Notifications'
+source:
+ plugin: csv
+ path: /var/www/html/project/docroot/notification.csv
+ header_row_count: 1
+ keys:
+ - id
+ constants:
+ file_source: /var/www/html/project/docroot/fac_images
+ file_dest: 'public://fac_images/'
+process:
+ type:
+ plugin: default_value
+ default_value: notification
+ source_path_two:
+ -
+ plugin: skip_on_empty
+ method: process
+ source: file
+ -
+ plugin: concat
+ delimiter: /
+ source:
+ - constants/file_source
+ - file
+ title: title
+ body: body
+ field_notification_file:
+ plugin: file_import
+ source: '@source_path_two'
+ destination: constants/file_dest
+ field_notitfication_category:
+ -
+ plugin: entity_lookup
+ entity_type: taxonomy_term
+ bundle: notification_category
+ source: category
+ field_notification_date:
+ -
+ plugin: format_date
+ from_format: 'd/m/Y H:i:s'
+ to_format: 'Y-m-d\TH:i:s'
+ from_timezone: Asia/Kolkata
+ to_timezone: UTC
+ source: date
+destination:
+ plugin: 'entity:node'
+migration_dependencies:
+ required: { }
+ optional: { }
diff --git a/modules/fahad/notification/config/install/views.view.notifications.yml b/modules/fahad/notification/config/install/views.view.notifications.yml
new file mode 100644
index 0000000..1b9e631
--- /dev/null
+++ b/modules/fahad/notification/config/install/views.view.notifications.yml
@@ -0,0 +1,197 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - node.type.notification
+ - system.menu.main
+ module:
+ - node
+ - user
+id: notifications
+label: Notifications
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: mini
+ options:
+ items_per_page: 10
+ offset: 0
+ id: 0
+ total_pages: null
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ tags:
+ previous: ‹‹
+ next: ››
+ style:
+ type: default
+ row:
+ type: 'entity:node'
+ options:
+ view_mode: teaser
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ entity_type: node
+ entity_field: title
+ label: ''
+ alter:
+ alter_text: false
+ make_link: false
+ absolute: false
+ trim: false
+ word_boundary: false
+ ellipsis: false
+ strip_tags: false
+ html: false
+ hide_empty: false
+ empty_zero: false
+ settings:
+ link_to_entity: true
+ plugin_id: field
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exclude: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ filters:
+ status:
+ value: '1'
+ table: node_field_data
+ field: status
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ id: status
+ expose:
+ operator: ''
+ group: 1
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ notification: notification
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: Notifications
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: notifications
+ menu:
+ type: normal
+ title: Notifications
+ menu_name: main
+ weight: -42
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
diff --git a/modules/fahad/staff/config/install/migrate_plus.migration.staff.yml b/modules/fahad/staff/config/install/migrate_plus.migration.staff.yml
new file mode 100644
index 0000000..64c31e5
--- /dev/null
+++ b/modules/fahad/staff/config/install/migrate_plus.migration.staff.yml
@@ -0,0 +1,48 @@
+uuid: 636c412b-2d83-448e-be13-107ea9abbaaf
+langcode: en
+status: true
+dependencies: { }
+id: staff
+class: null
+field_plugin_method: null
+cck_plugin_method: null
+migration_tags: null
+migration_group: null
+label: 'Custom Content migration from CSV Staff'
+source:
+ plugin: csv
+ path: /var/www/html/project/docroot/staff.csv
+ header_row_count: 1
+ keys:
+ - id
+ constants:
+ file_source: /var/www/html/project/docroot/fac_images
+ file_dest: 'public://fac_images/'
+process:
+ type:
+ plugin: default_value
+ default_value: staff
+ source_path:
+ -
+ plugin: skip_on_empty
+ method: process
+ source: phuto
+ -
+ plugin: concat
+ delimiter: /
+ source:
+ - constants/file_source
+ - phuto
+ title: title
+ body: body
+ field_staff_email: email
+ field_designation: designation
+ field_staff_image:
+ plugin: file_import
+ source: '@source_path'
+ destination: constants/file_dest
+destination:
+ plugin: 'entity:node'
+migration_dependencies:
+ required: { }
+ optional: { }
diff --git a/modules/fahad/staff/config/install/views.view.staff.yml b/modules/fahad/staff/config/install/views.view.staff.yml
new file mode 100644
index 0000000..577f945
--- /dev/null
+++ b/modules/fahad/staff/config/install/views.view.staff.yml
@@ -0,0 +1,201 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.staff
+ - system.menu.main
+ module:
+ - node
+ - user
+id: staff
+label: Staff
+module: views
+description: ''
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: mini
+ options:
+ items_per_page: 10
+ offset: 0
+ id: 0
+ total_pages: null
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ tags:
+ previous: ‹‹
+ next: ››
+ style:
+ type: default
+ row:
+ type: 'entity:node'
+ options:
+ relationship: none
+ view_mode: default
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ entity_type: node
+ entity_field: title
+ label: ''
+ alter:
+ alter_text: false
+ make_link: false
+ absolute: false
+ trim: false
+ word_boundary: false
+ ellipsis: false
+ strip_tags: false
+ html: false
+ hide_empty: false
+ empty_zero: false
+ settings:
+ link_to_entity: true
+ plugin_id: field
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exclude: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: true
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ filters:
+ status:
+ value: '1'
+ table: node_field_data
+ field: status
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ id: status
+ expose:
+ operator: ''
+ group: 1
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ staff: staff
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ order: DESC
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ relationship: none
+ group_type: group
+ admin_label: ''
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ title: Staff
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: staff
+ menu:
+ type: normal
+ title: Staff
+ description: ''
+ expanded: false
+ parent: 'views_view:views.people.page_1'
+ weight: -50
+ context: '0'
+ menu_name: main
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags: { }