You are here

public function SiteAuditCheckFrontEndGooglePageSpeed::getAction in Site Audit 8.2

Implements \SiteAudit\Check\Abstract\getAction().

Overrides SiteAuditCheckAbstract::getAction

File

Check/FrontEnd/GooglePageSpeed.php, line 278
Contains \SiteAudit\Check\Insights\Analyze.

Class

SiteAuditCheckFrontEndGooglePageSpeed
Class SiteAuditCheckFrontEndGooglePageSpeed.

Code

public function getAction() {
  if ($this->score !== SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_FAIL) {
    return dt('Full report at https://developers.google.com/speed/pagespeed/insights');
  }
}