Skip to content

Instantly share code, notes, and snippets.

@josephdickson
Created July 1, 2022 18:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josephdickson/17b52a28eac3d6317a893c6ba3f216db to your computer and use it in GitHub Desktop.
Save josephdickson/17b52a28eac3d6317a893c6ba3f216db to your computer and use it in GitHub Desktop.
Update current_content.info.yml to support Drupal 8+
diff --git a/current_content.info b/current_content.info
deleted file mode 100755
index ebafa1f..0000000
--- a/current_content.info
+++ /dev/null
@@ -1,6 +0,0 @@
-name = Current content
-description = A module that lists links to content created within the last week.
-
-core = 7.x
-
-files[] = current_content.test
diff --git a/current_content.info.yml b/current_content.info.yml
new file mode 100755
index 0000000..c116a2a
--- /dev/null
+++ b/current_content.info.yml
@@ -0,0 +1,6 @@
+name: Current content
+description: A module that lists links to content created within the last week.
+type: module
+core_version_requirement: ^9
+package: custom
+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment