You are here

function drush_site_audit_audit_insights in Site Audit 7

Render a Google PageSpeed Insight report.

Parameters

string $url: URL to check.

string $key: Google API key.

File

./site_audit.drush.inc, line 712
Drupal site auditing commands.

Code

function drush_site_audit_audit_insights($url, $key) {
  $report = new SiteAuditReportInsights($url, $key);
  $report
    ->render();
}