diff --git a/hello_world.info.yml b/hello_world.info.yml index 450ca4f..93c50ca 100644 --- a/hello_world.info.yml +++ b/hello_world.info.yml @@ -3,4 +3,5 @@ description: Creates a page showing "Hello World". package: Custom type: module version: 1.0 -core: 8.x \ No newline at end of file +core: 8.x +core_version_requirement: ">=8" diff --git a/hello_world.routing.yml b/hello_world.routing.yml deleted file mode 100644 index 3c3436c..0000000 --- a/hello_world.routing.yml +++ /dev/null @@ -1,7 +0,0 @@ -hello.content: - path: '/hello' - defaults: - _controller: '\Drupal\hello_world\Controller\HelloController::content' - _title: 'Hello World' - requirements: - _permission: 'access content' \ No newline at end of file