You are here

public function SiteAuditCheckContentDuplicateTitles::getAction in Site Audit 8.2

Same name and namespace in other branches
  1. 7 Check/Content/DuplicateTitles.php \SiteAuditCheckContentDuplicateTitles::getAction()

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

Overrides SiteAuditCheckAbstract::getAction

File

Check/Content/DuplicateTitles.php, line 92
Contains \SiteAudit\Check\Content\DuplicateTitles.

Class

SiteAuditCheckContentDuplicateTitles
Class SiteAuditCheckContentDuplicateTitles.

Code

public function getAction() {
  if ($this
    ->getScore() == SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_WARN) {
    return dt('Consider reviewing your content and finding a way to disambiguate the duplicate titles.');
  }
}