diff --git b/CHANGELOG.txt a/CHANGELOG.txt index 4e0c916..2ea0c7d 100644 --- b/CHANGELOG.txt +++ a/CHANGELOG.txt @@ -1,6 +1,7 @@ Libraries 8.x-3.x, xxxx-xx-xx ----------------------------- +#2058371 by gordon: Re-port to Drupal 8 (.info.yml, controllers, cache service, ...) #1779714 by tstoeckler, klonos: Wrong filepath in README.txt and fix JS testing. #1167496 by tstoeckler: Remove leftover libraries.test file. #1167496 by tstoeckler, benshell: Port to Drupal 8. diff --git b/libraries.module a/libraries.module index 0f837b8..0e8f5a4 100644 --- b/libraries.module +++ a/libraries.module @@ -809,4 +809,4 @@ function libraries_parse_dependency($dependency) { } } return $value; -} \ No newline at end of file +} diff --git b/libraries.services.yml a/libraries.services.yml index bedb0b7..3326cda 100644 --- b/libraries.services.yml +++ a/libraries.services.yml @@ -5,4 +5,4 @@ services: - { name: cache.bin } factory_method: get factory_service: cache_factory - arguments: [library] \ No newline at end of file + arguments: [library] diff --git b/libraries_test/lib/Drupal/libraries_test/Controller/ExampleController.php a/tests/modules/libraries_test/lib/Drupal/libraries_test/Controller/ExampleController.php similarity index 99% rename from libraries_test/lib/Drupal/libraries_test/Controller/ExampleController.php rename to tests/modules/libraries_test/lib/Drupal/libraries_test/Controller/ExampleController.php index 2ddb0a1..ca01334 100644 --- b/libraries_test/lib/Drupal/libraries_test/Controller/ExampleController.php +++ a/tests/modules/libraries_test/lib/Drupal/libraries_test/Controller/ExampleController.php @@ -78,20 +78,20 @@ class ExampleController implements ControllerInterface { public function integration() { return $this->buildPage('example_integration_files'); } - + public function versions() { return $this->buildPage('example_versions'); } - + public function variant() { return $this->buildPage('example_variant', 'example_variant'); } - + public function versionsAndVariants() { return $this->buildPage('example_versions_and_variants', 'example_variant_2'); } - + public function cache() { return $this->buildPage('example_callback'); } -} \ No newline at end of file +} diff --git b/libraries_test/libraries_test.css a/tests/modules/libraries_test/libraries_test.css similarity index 100% rename from libraries_test/libraries_test.css rename to tests/modules/libraries_test/libraries_test.css diff --git b/libraries_test/libraries_test.inc a/tests/modules/libraries_test/libraries_test.inc similarity index 100% rename from libraries_test/libraries_test.inc rename to tests/modules/libraries_test/libraries_test.inc diff --git b/libraries_test/libraries_test.info.yml a/tests/modules/libraries_test/libraries_test.info.yml similarity index 100% rename from libraries_test/libraries_test.info.yml rename to tests/modules/libraries_test/libraries_test.info.yml diff --git b/libraries_test/libraries_test.js a/tests/modules/libraries_test/libraries_test.js similarity index 100% rename from libraries_test/libraries_test.js rename to tests/modules/libraries_test/libraries_test.js diff --git b/libraries_test/libraries_test.module a/tests/modules/libraries_test/libraries_test.module similarity index 100% rename from libraries_test/libraries_test.module rename to tests/modules/libraries_test/libraries_test.module diff --git b/libraries_test/libraries_test.routing.yml a/tests/modules/libraries_test/libraries_test.routing.yml similarity index 100% rename from libraries_test/libraries_test.routing.yml rename to tests/modules/libraries_test/libraries_test.routing.yml