Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / profiles / testing_requirements / testing_requirements.install
diff --git a/web/core/profiles/testing_requirements/testing_requirements.install b/web/core/profiles/testing_requirements/testing_requirements.install
new file mode 100644 (file)
index 0000000..f7935c1
--- /dev/null
@@ -0,0 +1,23 @@
+<?php
+
+/**
+ * @file
+ * Install hooks for test profile.
+ */
+
+/**
+ * Implements hook_requirements().
+ */
+function testing_requirements_requirements($phase) {
+  $requirements = [];
+
+  if ($phase === 'install') {
+    $requirements['testing_requirements'] = [
+      'title' => t('Testing requirements'),
+      'severity' => REQUIREMENT_ERROR,
+      'description' => t('Testing requirements failed requirements.'),
+    ];
+  }
+
+  return $requirements;
+}