When developing custom checks for the production check module, I had the need to be able to transfer extra data to the monitoring dashboard. Therefore I created a new data property.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Nitebreed created an issue. See original summary.

Nitebreed’s picture

Status: Active » Needs review
FileSize
1.49 KB
Nitebreed’s picture

Assigned: Unassigned » Nitebreed
michielnugter’s picture

Status: Needs review » Reviewed & tested by the community
+++ b/src/Plugin/ProdCheck/ProdCheckBase.php
@@ -267,4 +267,11 @@ abstract class ProdCheckBase extends PluginBase implements ContainerFactoryPlugi
+    return array();

This should adhere to the latest Drupal coding standards I think and use [] instead of array() but as the rest of the module doesn't completely does that it's fine for now.

Fix looks good, setting to RTBC.

  • Nitebreed committed 1a8f45b on 8.x-1.x
    Issue #2851398 by Nitebreed, michielnugter: Support extra data to be...
Nitebreed’s picture

Status: Reviewed & tested by the community » Fixed
Nitebreed’s picture

Status: Fixed » Closed (fixed)
Nitebreed’s picture