diff options
-rw-r--r-- | modules/bhavika/admission_program/config/install/views.view.ug.yml | 244 | ||||
-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.yml | 330 | ||||
-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.yml | 194 | ||||
-rw-r--r-- | modules/bhavika/l_d_c_e_imp_pdf_links/config/install/views.view.imp_pdf_links.yml | 195 | ||||
-rw-r--r-- | modules/bhavika/photo_gallery/config/install/views.view.photo_gallery.yml | 225 |
36 files changed, 1263 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' |