function acquia_connector_help in Acquia Connector 8.2
Same name and namespace in other branches
- 8 acquia_connector.module \acquia_connector_help()
- 3.x acquia_connector.module \acquia_connector_help()
Implements hook_help().
File
- ./
acquia_connector.module, line 31 - Acquia Connector module.
Code
function acquia_connector_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.acquia_connector':
$output = '<h2>' . t('Acquia Connector') . '</h2>';
$output .= '<p>' . t('The Acquia Connector module allows you to connect your site to Acquia.') . '<p>';
$output .= '<p>' . Link::fromTextAndUrl(t('Read more about the installation and use of the Acquia Connector module on the Acquia Library'), Url::fromUri('https://docs.acquia.com/acquia-cloud/insight/install/', []))
->toString() . '</p>';
$output .= '<dl>';
$output .= '<dt>' . t('Acquia SPI Custom Tests') . '</dt>';
$output .= '<dd>' . t('Acquia Insight supports custom tests for your site. See <strong>acquia_connector.api.php</strong> for information on the custom test hook and validate your tests for inclusion in outgoing SPI data with the Drush command, <strong>spi-test-validate</strong>.') . '</dd>';
$output .= '</dl>';
$output .= '<h3>' . t('Configuration settings') . '</h3>';
$output .= '<dl>';
$output .= '<dt>' . t('Data collection and examination') . '</dt>';
$output .= '<dd>' . t('Upon cron (or if configured to run manually) information about your site will be sent and analyzed as part of the Acquia Insight service. You can optionally exclude information about admin privileges, content and user count, and watchdog logs.') . '</dd>';
$output .= '<dt>' . t('Source code analysis') . '</dt>';
$output .= '<dd>' . t('If your site supports external SSL connections, Acquia Insight will examine the source code of your site to detect alterations and provide code diffs and update recommendations.') . '</dd>';
$output .= '<dt>' . t('Receive updates from Acquia Subscription') . '</dt>';
$output .= '<dd>' . t('Receive dynamic updates on the Network Settings page from Acquia.com about your subscription and new features.') . '</dd>';
$output .= '<dt>' . t('Allow Insight to update list of approved variables.') . '</dt>';
$output .= '<dd>' . t('As part of the Acquia Insight service, some variables can be corrected to their recommended settings from within the Insight system. The list of variables that can be corrected can also be updated at your discretion.') . '</dd>';
$output .= '</dl>';
return $output;
}
}