Function Hook_health_check_stability->run
Definitions
sources/hooks/systems/health_checks/stability.php
- Standard hook run function to run this category of health checks.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$sections_to_run | ?array | required parameter | N/A | N/A | Which check sections to run (null: all) |
$check_context | integer | required parameter | N/A | N/A | The current state of the website (a CHECK_CONTEXT__* constant) |
$manual_checks | boolean | False | N/A | N/A | Mention manual checks |
$automatic_repair | boolean | False | N/A | N/A | Do automatic repairs where possible |
$use_test_data_for_pass | ?boolean | Null | N/A | N/A | Should test data be for a pass [if test data supported] (null: no test data) |
$urls_or_page_links | ?array | Null | N/A | N/A | List of URLs and/or page-links to operate on, if applicable (null: those configured) |
$comcode_segments | ?array | Null | N/A | N/A | Map of field names to Comcode segments to operate on, if applicable (null: N/A) |
$show_unusable_categories | boolean | False | N/A | N/A | Whether to include categories that might not be accessible for some reason |
Return
- A pair: category label, list of results
- Type: array
- Set: N/A
- Range: N/A