diff --git a/js_example/js_example.info.yml b/js_example/js_example.info.yml index 08339b3..1561660 100755 --- a/js_example/js_example.info.yml +++ b/js_example/js_example.info.yml @@ -1,5 +1,5 @@ -name: 'JS Example' +name: 'JavaScript Example' description: 'An example module showing how to use some of the new JavaScript features in Drupal 8' type: module -package: Example modules +package: 'Example modules' core: 8.x diff --git a/js_example/js_example.module b/js_example/js_example.module index 220c7a6..c371a55 100755 --- a/js_example/js_example.module +++ b/js_example/js_example.module @@ -2,14 +2,14 @@ /** * @file - * Examples showing how to use some of the new JavaScript features in Drupal 7. + * Examples showing how to use some of the new JavaScript features in Drupal 8. */ /** * @defgroup js_example Example: JavaScript * @ingroup examples * @{ - * Examples using Drupal 7's built-in JavaScript. + * Examples using Drupal 8's built-in JavaScript. */ /** diff --git a/js_example/js_example.routing.yml b/js_example/js_example.routing.yml index 83dfc30..e047112 100755 --- a/js_example/js_example.routing.yml +++ b/js_example/js_example.routing.yml @@ -1,5 +1,5 @@ js_example.weights: - path: '/js_example/weights' + path: '/examples/js_example/weights' defaults: _title: 'JS Example: see weighting in action' _content: '\Drupal\js_example\Controller\JsExampleController::getJsWeightImplementation' @@ -7,7 +7,7 @@ js_example.weights: _permission: 'TRUE' js_example.accordion: - path: '/js_example/accordion' + path: '/examples/js_example/accordion' defaults: _title: 'JS Example: jQuery UI accordion' _content: '\Drupal\js_example\Controller\JsExampleController::getJsAccordionImplementation'