public function SiteAuditCheckContentTaxonomy::calculateScore in Site Audit 8.2
Implements \SiteAudit\Check\Abstract\calculateScore().
Overrides SiteAuditCheckAbstract::calculateScore
File
- Check/
Content/ Taxonomy.php, line 58 - Contains \SiteAudit\Check\Content\ContentTypesUnused.
Class
- SiteAuditCheckContentTaxonomy
- Class SiteAuditCheckContentTaxonomy.
Code
public function calculateScore() {
if (\Drupal::moduleHandler()
->moduleExists('taxonomy')) {
return SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_PASS;
}
$this->abort = TRUE;
return SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_INFO;
}