summaryrefslogtreecommitdiff
path: root/modules/kalpesh/syllbus
diff options
context:
space:
mode:
Diffstat (limited to 'modules/kalpesh/syllbus')
-rw-r--r--modules/kalpesh/syllbus/composer.json13
-rw-r--r--modules/kalpesh/syllbus/config/install/core.base_field_override.node.syllbus.promote.yml24
-rw-r--r--modules/kalpesh/syllbus/config/install/core.base_field_override.node.syllbus.title.yml20
-rw-r--r--modules/kalpesh/syllbus/config/install/core.entity_form_display.node.syllbus.default.yml93
-rw-r--r--modules/kalpesh/syllbus/config/install/core.entity_view_display.node.syllbus.default.yml88
-rw-r--r--modules/kalpesh/syllbus/config/install/core.entity_view_display.node.syllbus.teaser.yml33
-rw-r--r--modules/kalpesh/syllbus/config/install/field.field.node.syllbus.body.yml24
-rw-r--r--modules/kalpesh/syllbus/config/install/field.field.node.syllbus.field_pdf.yml29
-rw-r--r--modules/kalpesh/syllbus/config/install/field.storage.node.field_pdf.yml25
-rw-r--r--modules/kalpesh/syllbus/config/install/node.type.syllbus.yml20
-rw-r--r--modules/kalpesh/syllbus/config/install/views.view.syllabus.yml303
-rw-r--r--modules/kalpesh/syllbus/syllbus.info.yml15
-rw-r--r--modules/kalpesh/syllbus/syllbus.install26
-rw-r--r--modules/kalpesh/syllbus/syllbus.module35
-rw-r--r--modules/kalpesh/syllbus/templates/syllbus.html.twig1
-rw-r--r--modules/kalpesh/syllbus/tests/src/Functional/LoadTest.php46
16 files changed, 795 insertions, 0 deletions
diff --git a/modules/kalpesh/syllbus/composer.json b/modules/kalpesh/syllbus/composer.json
new file mode 100644
index 0000000..f7fc777
--- /dev/null
+++ b/modules/kalpesh/syllbus/composer.json
@@ -0,0 +1,13 @@
+{
+ "name": "syllbus",
+ "type": "drupal-module",
+ "description": "This module is store the university syllbus",
+ "keywords": [
+ ],
+ "homepage": "https://www.drupal.org/project/syllbus",
+ "minimum-stability": "dev",
+ "support": {
+ "issues": "https://www.drupal.org/project/issues/syllbus",
+ "source": "http://cgit.drupalcode.org/syllbus",
+ },
+}
diff --git a/modules/kalpesh/syllbus/config/install/core.base_field_override.node.syllbus.promote.yml b/modules/kalpesh/syllbus/config/install/core.base_field_override.node.syllbus.promote.yml
new file mode 100644
index 0000000..5ef1af3
--- /dev/null
+++ b/modules/kalpesh/syllbus/config/install/core.base_field_override.node.syllbus.promote.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.syllbus
+ enforced:
+ module:
+ - syllbus
+id: node.syllbus.promote
+field_name: promote
+entity_type: node
+bundle: syllbus
+label: 'Promoted to front page'
+description: ''
+required: false
+translatable: true
+default_value:
+ -
+ value: 0
+default_value_callback: ''
+settings:
+ on_label: 'On'
+ off_label: 'Off'
+field_type: boolean
diff --git a/modules/kalpesh/syllbus/config/install/core.base_field_override.node.syllbus.title.yml b/modules/kalpesh/syllbus/config/install/core.base_field_override.node.syllbus.title.yml
new file mode 100644
index 0000000..d5c2c45
--- /dev/null
+++ b/modules/kalpesh/syllbus/config/install/core.base_field_override.node.syllbus.title.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - node.type.syllbus
+ enforced:
+ module:
+ - syllbus
+id: node.syllbus.title
+field_name: title
+entity_type: node
+bundle: syllbus
+label: Syllbus
+description: ''
+required: true
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings: { }
+field_type: string
diff --git a/modules/kalpesh/syllbus/config/install/core.entity_form_display.node.syllbus.default.yml b/modules/kalpesh/syllbus/config/install/core.entity_form_display.node.syllbus.default.yml
new file mode 100644
index 0000000..5a07108
--- /dev/null
+++ b/modules/kalpesh/syllbus/config/install/core.entity_form_display.node.syllbus.default.yml
@@ -0,0 +1,93 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.syllbus.body
+ - field.field.node.syllbus.field_pdf
+ - node.type.syllbus
+ module:
+ - file
+ - path
+ - text
+ enforced:
+ module:
+ - syllbus
+id: node.syllbus.default
+targetEntityType: node
+bundle: syllbus
+mode: default
+content:
+ body:
+ type: text_textarea_with_summary
+ weight: 11
+ settings:
+ rows: 9
+ summary_rows: 3
+ placeholder: ''
+ third_party_settings: { }
+ region: content
+ created:
+ type: datetime_timestamp
+ weight: 6
+ region: content
+ settings: { }
+ third_party_settings: { }
+ field_pdf:
+ weight: 26
+ settings:
+ progress_indicator: throbber
+ third_party_settings: { }
+ type: file_generic
+ region: content
+ langcode:
+ type: language_select
+ weight: 4
+ region: content
+ settings:
+ include_locked: true
+ third_party_settings: { }
+ path:
+ type: path
+ weight: 9
+ region: content
+ settings: { }
+ third_party_settings: { }
+ promote:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 7
+ region: content
+ third_party_settings: { }
+ status:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 10
+ region: content
+ third_party_settings: { }
+ sticky:
+ type: boolean_checkbox
+ settings:
+ display_label: true
+ weight: 8
+ region: content
+ third_party_settings: { }
+ title:
+ type: string_textfield
+ weight: 0
+ region: content
+ settings:
+ size: 60
+ placeholder: 'Enter year ex FE,SE,TE,BE etc '
+ third_party_settings: { }
+ uid:
+ type: entity_reference_autocomplete
+ weight: 5
+ settings:
+ match_operator: CONTAINS
+ size: 60
+ placeholder: ''
+ region: content
+ third_party_settings: { }
+hidden: { }
diff --git a/modules/kalpesh/syllbus/config/install/core.entity_view_display.node.syllbus.default.yml b/modules/kalpesh/syllbus/config/install/core.entity_view_display.node.syllbus.default.yml
new file mode 100644
index 0000000..5b41b7c
--- /dev/null
+++ b/modules/kalpesh/syllbus/config/install/core.entity_view_display.node.syllbus.default.yml
@@ -0,0 +1,88 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.field.node.syllbus.body
+ - field.field.node.syllbus.field_pdf
+ - node.type.syllbus
+ module:
+ - ds
+ - file
+ - text
+ - user
+ enforced:
+ module:
+ - syllbus
+third_party_settings:
+ ds:
+ layout:
+ id: ds_1col
+ library: null
+ disable_css: false
+ entity_classes: all_classes
+ settings:
+ wrappers:
+ ds_content: div
+ outer_wrapper: div
+ attributes: ''
+ link_attribute: ''
+ link_custom: ''
+ classes:
+ layout_class: { }
+ ds_content: { }
+ regions:
+ ds_content:
+ - body
+ - field_pdf
+id: node.syllbus.default
+targetEntityType: node
+bundle: syllbus
+mode: default
+content:
+ body:
+ label: hidden
+ type: text_default
+ weight: 101
+ settings: { }
+ third_party_settings: { }
+ region: ds_content
+ field_pdf:
+ weight: 102
+ label: above
+ settings:
+ use_description_as_link_text: true
+ third_party_settings:
+ ds:
+ ds_limit: ''
+ ft:
+ id: expert
+ settings:
+ lb: 'PDF File'
+ prefix: ''
+ lbw: true
+ lbw-el: div
+ lbw-cl: 'col-sm-2 fw-bold mt-10'
+ lbw-at: ''
+ ow: true
+ ow-el: div
+ ow-cl: mb-10
+ ow-at: ''
+ fis: true
+ fis-el: 'div '
+ fis-cl: col-sm-10
+ fis-at: ''
+ fi: true
+ fi-el: div
+ fi-cl: col-sm-10
+ fi-at: ''
+ suffix: ''
+ lb-col: false
+ ow-def-at: false
+ ow-def-cl: false
+ fis-def-at: false
+ fi-def-at: false
+ type: file_default
+ region: ds_content
+hidden:
+ langcode: true
+ links: true
diff --git a/modules/kalpesh/syllbus/config/install/core.entity_view_display.node.syllbus.teaser.yml b/modules/kalpesh/syllbus/config/install/core.entity_view_display.node.syllbus.teaser.yml
new file mode 100644
index 0000000..399f96a
--- /dev/null
+++ b/modules/kalpesh/syllbus/config/install/core.entity_view_display.node.syllbus.teaser.yml
@@ -0,0 +1,33 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - core.entity_view_mode.node.teaser
+ - field.field.node.syllbus.body
+ - node.type.syllbus
+ module:
+ - text
+ - user
+ enforced:
+ module:
+ - syllbus
+id: node.syllbus.teaser
+targetEntityType: node
+bundle: syllbus
+mode: teaser
+content:
+ body:
+ label: hidden
+ type: text_summary_or_trimmed
+ weight: 101
+ settings:
+ trim_length: 600
+ third_party_settings: { }
+ region: content
+ links:
+ weight: 100
+ settings: { }
+ third_party_settings: { }
+ region: content
+hidden:
+ langcode: true
diff --git a/modules/kalpesh/syllbus/config/install/field.field.node.syllbus.body.yml b/modules/kalpesh/syllbus/config/install/field.field.node.syllbus.body.yml
new file mode 100644
index 0000000..c5b8e52
--- /dev/null
+++ b/modules/kalpesh/syllbus/config/install/field.field.node.syllbus.body.yml
@@ -0,0 +1,24 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.body
+ - node.type.syllbus
+ module:
+ - text
+ enforced:
+ module:
+ - syllbus
+id: node.syllbus.body
+field_name: body
+entity_type: node
+bundle: syllbus
+label: Body
+description: ''
+required: false
+translatable: true
+default_value: { }
+default_value_callback: ''
+settings:
+ display_summary: true
+field_type: text_with_summary
diff --git a/modules/kalpesh/syllbus/config/install/field.field.node.syllbus.field_pdf.yml b/modules/kalpesh/syllbus/config/install/field.field.node.syllbus.field_pdf.yml
new file mode 100644
index 0000000..cf7f10b
--- /dev/null
+++ b/modules/kalpesh/syllbus/config/install/field.field.node.syllbus.field_pdf.yml
@@ -0,0 +1,29 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_pdf
+ - node.type.syllbus
+ module:
+ - file
+ enforced:
+ module:
+ - syllbus
+id: node.syllbus.field_pdf
+field_name: field_pdf
+entity_type: node
+bundle: syllbus
+label: PDF
+description: 'PDF of syllbus'
+required: true
+translatable: false
+default_value: { }
+default_value_callback: ''
+settings:
+ file_directory: '[date:custom:Y]-[date:custom:m]'
+ file_extensions: pdf
+ max_filesize: '10 MB'
+ description_field: true
+ handler: 'default:file'
+ handler_settings: { }
+field_type: file
diff --git a/modules/kalpesh/syllbus/config/install/field.storage.node.field_pdf.yml b/modules/kalpesh/syllbus/config/install/field.storage.node.field_pdf.yml
new file mode 100644
index 0000000..0783902
--- /dev/null
+++ b/modules/kalpesh/syllbus/config/install/field.storage.node.field_pdf.yml
@@ -0,0 +1,25 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - file
+ - node
+ enforced:
+ module:
+ - syllbus
+id: node.field_pdf
+field_name: field_pdf
+entity_type: node
+type: file
+settings:
+ display_field: false
+ display_default: true
+ uri_scheme: public
+ target_type: file
+module: file
+locked: false
+cardinality: -1
+translatable: true
+indexes: { }
+persist_with_no_fields: false
+custom_storage: false
diff --git a/modules/kalpesh/syllbus/config/install/node.type.syllbus.yml b/modules/kalpesh/syllbus/config/install/node.type.syllbus.yml
new file mode 100644
index 0000000..b548d33
--- /dev/null
+++ b/modules/kalpesh/syllbus/config/install/node.type.syllbus.yml
@@ -0,0 +1,20 @@
+langcode: en
+status: true
+dependencies:
+ module:
+ - menu_ui
+ enforced:
+ module:
+ - syllbus
+third_party_settings:
+ menu_ui:
+ available_menus:
+ - main
+ parent: 'main:'
+name: Syllbus
+type: syllbus
+description: 'Syllbus of FE ,SE, TE, BE'
+help: ''
+new_revision: true
+preview_mode: 1
+display_submitted: true
diff --git a/modules/kalpesh/syllbus/config/install/views.view.syllabus.yml b/modules/kalpesh/syllbus/config/install/views.view.syllabus.yml
new file mode 100644
index 0000000..3b80486
--- /dev/null
+++ b/modules/kalpesh/syllbus/config/install/views.view.syllabus.yml
@@ -0,0 +1,303 @@
+langcode: en
+status: true
+dependencies:
+ config:
+ - field.storage.node.field_pdf
+ - node.type.syllbus
+ - system.menu.main
+ module:
+ - file
+ - node
+ - user
+ - views_bootstrap
+ enforced:
+ module:
+ - syllbus
+id: syllabus
+label: syllabus
+module: views
+description: 'year wise syllabus'
+tag: ''
+base_table: node_field_data
+base_field: nid
+core: 8.x
+display:
+ default:
+ display_plugin: default
+ id: default
+ display_title: Master
+ position: 0
+ display_options:
+ access:
+ type: perm
+ options:
+ perm: 'access content'
+ cache:
+ type: tag
+ options: { }
+ query:
+ type: views_query
+ options:
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_comment: ''
+ query_tags: { }
+ exposed_form:
+ type: basic
+ options:
+ submit_button: Apply
+ reset_button: false
+ reset_button_label: Reset
+ exposed_sorts_label: 'Sort by'
+ expose_sort_order: true
+ sort_asc_label: Asc
+ sort_desc_label: Desc
+ pager:
+ type: full
+ options:
+ items_per_page: 10
+ offset: 0
+ id: 0
+ total_pages: null
+ tags:
+ previous: ‹‹
+ next: ››
+ first: '« First'
+ last: 'Last »'
+ expose:
+ items_per_page: false
+ items_per_page_label: 'Items per page'
+ items_per_page_options: '5, 10, 25, 50'
+ items_per_page_options_all: false
+ items_per_page_options_all_label: '- All -'
+ offset: false
+ offset_label: Offset
+ quantity: 9
+ style:
+ type: views_bootstrap_grid
+ options:
+ grouping: { }
+ row_class: 'mb-30 '
+ default_row_class: true
+ alignment: horizontal
+ columns: '2'
+ col_xs: col-xs-12
+ col_sm: col-sm-12
+ col_md: col-md-12
+ col_lg: col-lg-6
+ row:
+ type: fields
+ options:
+ default_field_elements: true
+ inline:
+ title: title
+ field_pdf: field_pdf
+ separator: ''
+ hide_empty: false
+ fields:
+ title:
+ id: title
+ table: node_field_data
+ field: title
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: ''
+ exclude: false
+ alter:
+ alter_text: false
+ text: ''
+ make_link: false
+ path: ''
+ absolute: false
+ external: false
+ replace_spaces: false
+ path_case: none
+ trim_whitespace: false
+ alt: ''
+ rel: ''
+ link_class: ''
+ prefix: ''
+ suffix: ''
+ target: ''
+ nl2br: false
+ max_length: 0
+ word_boundary: false
+ ellipsis: false
+ more_link: false
+ more_link_text: ''
+ more_link_path: ''
+ strip_tags: false
+ trim: false
+ preserve_tags: ''
+ html: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: false
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: value
+ type: string
+ settings:
+ link_to_entity: false
+ group_column: value
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ entity_type: node
+ entity_field: title
+ plugin_id: field
+ field_pdf:
+ id: field_pdf
+ table: node__field_pdf
+ field: field_pdf
+ relationship: none
+ group_type: group
+ admin_label: ''
+ label: ''
+ exclude: false
+ alter:
+ alter_text: false
+ text: ''
+ make_link: false
+ path: ''
+ absolute: false
+ external: false
+ replace_spaces: false
+ path_case: none
+ trim_whitespace: false
+ alt: ''
+ rel: ''
+ link_class: ''
+ prefix: ''
+ suffix: ''
+ target: ''
+ nl2br: false
+ max_length: 0
+ word_boundary: true
+ ellipsis: true
+ more_link: false
+ more_link_text: ''
+ more_link_path: ''
+ strip_tags: false
+ trim: false
+ preserve_tags: ''
+ html: false
+ element_type: ''
+ element_class: ''
+ element_label_type: ''
+ element_label_class: ''
+ element_label_colon: false
+ element_wrapper_type: ''
+ element_wrapper_class: ''
+ element_default_classes: true
+ empty: ''
+ hide_empty: false
+ empty_zero: false
+ hide_alter_empty: true
+ click_sort_column: target_id
+ type: file_default
+ settings:
+ use_description_as_link_text: true
+ group_column: ''
+ group_columns: { }
+ group_rows: true
+ delta_limit: 0
+ delta_offset: 0
+ delta_reversed: false
+ delta_first_last: false
+ multi_type: separator
+ separator: ', '
+ field_api_classes: false
+ plugin_id: field
+ filters:
+ status:
+ value: '1'
+ table: node_field_data
+ field: status
+ plugin_id: boolean
+ entity_type: node
+ entity_field: status
+ id: status
+ expose:
+ operator: ''
+ group: 1
+ type:
+ id: type
+ table: node_field_data
+ field: type
+ value:
+ syllbus: syllbus
+ entity_type: node
+ entity_field: type
+ plugin_id: bundle
+ sorts:
+ created:
+ id: created
+ table: node_field_data
+ field: created
+ relationship: none
+ group_type: group
+ admin_label: ''
+ order: ASC
+ exposed: false
+ expose:
+ label: ''
+ granularity: second
+ entity_type: node
+ entity_field: created
+ plugin_id: date
+ title: syllabus
+ header: { }
+ footer: { }
+ empty: { }
+ relationships: { }
+ arguments: { }
+ display_extenders: { }
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.field_pdf'
+ page_1:
+ display_plugin: page
+ id: page_1
+ display_title: Page
+ position: 1
+ display_options:
+ display_extenders: { }
+ path: syllabus
+ menu:
+ type: normal
+ title: syllabus
+ menu_name: main
+ weight: -45
+ cache_metadata:
+ max-age: -1
+ contexts:
+ - 'languages:language_content'
+ - 'languages:language_interface'
+ - url.query_args
+ - 'user.node_grants:view'
+ - user.permissions
+ tags:
+ - 'config:field.storage.node.field_pdf'
diff --git a/modules/kalpesh/syllbus/syllbus.info.yml b/modules/kalpesh/syllbus/syllbus.info.yml
new file mode 100644
index 0000000..292ace7
--- /dev/null
+++ b/modules/kalpesh/syllbus/syllbus.info.yml
@@ -0,0 +1,15 @@
+name: Syllbus
+type: module
+description: 'This module is store the university syllbus'
+core: 8.x
+package: Custom
+dependencies:
+ - drupal:menu_ui
+ - drupal:file
+ - drupal:path
+ - drupal:text
+ - ds:ds
+ - drupal:user
+ - drupal:node
+ - views_bootstrap:views_bootstrap
+
diff --git a/modules/kalpesh/syllbus/syllbus.install b/modules/kalpesh/syllbus/syllbus.install
new file mode 100644
index 0000000..7a97fab
--- /dev/null
+++ b/modules/kalpesh/syllbus/syllbus.install
@@ -0,0 +1,26 @@
+
+<?php
+/**
+* Implements hook_uninstall().
+*/
+function syllbus_uninstall() { //<-- replace “welcome” with your module machine name
+ // Load services.
+ $queryFactory = \Drupal::service('entity.query');
+ $nodeStorage = \Drupal::entityManager()->getStorage('node');
+
+
+
+ // Query all entity.
+ $query = $queryFactory->get('node')
+// <-- replace event in below line with your content type machine name
+ ->condition('type', 'syllbus');
+ $nids = $query->execute();
+
+
+
+ // Delete entities.
+ if (!empty($nids)) {
+ $entities = $nodeStorage->loadMultiple($nids);
+ $nodeStorage->delete($entities);
+ }
+}
diff --git a/modules/kalpesh/syllbus/syllbus.module b/modules/kalpesh/syllbus/syllbus.module
new file mode 100644
index 0000000..d06006c
--- /dev/null
+++ b/modules/kalpesh/syllbus/syllbus.module
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * @file
+ * Contains syllbus.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function syllbus_help($route_name, RouteMatchInterface $route_match) {
+ switch ($route_name) {
+ // Main module help for the syllbus module.
+ case 'help.page.syllbus':
+ $output = '';
+ $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<p>' . t('This module is store the university syllbus') . '</p>';
+ return $output;
+
+ default:
+ }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function syllbus_theme() {
+ return [
+ 'syllbus' => [
+ 'render element' => 'children',
+ ],
+ ];
+}
diff --git a/modules/kalpesh/syllbus/templates/syllbus.html.twig b/modules/kalpesh/syllbus/templates/syllbus.html.twig
new file mode 100644
index 0000000..95722bd
--- /dev/null
+++ b/modules/kalpesh/syllbus/templates/syllbus.html.twig
@@ -0,0 +1 @@
+<!-- Add you custom twig html here -->
diff --git a/modules/kalpesh/syllbus/tests/src/Functional/LoadTest.php b/modules/kalpesh/syllbus/tests/src/Functional/LoadTest.php
new file mode 100644
index 0000000..d47884f
--- /dev/null
+++ b/modules/kalpesh/syllbus/tests/src/Functional/LoadTest.php
@@ -0,0 +1,46 @@
+<?php
+
+namespace Drupal\Tests\syllbus\Functional;
+
+use Drupal\Core\Url;
+use Drupal\Tests\BrowserTestBase;
+
+/**
+ * Simple test to ensure that main page loads with module enabled.
+ *
+ * @group syllbus
+ */
+class LoadTest extends BrowserTestBase {
+
+ /**
+ * Modules to enable.
+ *
+ * @var array
+ */
+ public static $modules = ['syllbus'];
+
+ /**
+ * A user with permission to administer site configuration.
+ *
+ * @var \Drupal\user\UserInterface
+ */
+ protected $user;
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function setUp() {
+ parent::setUp();
+ $this->user = $this->drupalCreateUser(['administer site configuration']);
+ $this->drupalLogin($this->user);
+ }
+
+ /**
+ * Tests that the home page loads with a 200 response.
+ */
+ public function testLoad() {
+ $this->drupalGet(Url::fromRoute('<front>'));
+ $this->assertSession()->statusCodeEquals(200);
+ }
+
+}