You are here

public function SiteAuditCheckContentDuplicateTitles::getAction in Site Audit 7

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

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

Overrides SiteAuditCheckAbstract::getAction

File

Check/Content/DuplicateTitles.php, line 90
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.');
  }
}