You are here

public function SiteAuditCheckExtensionsRedundant::getExtensions in Site Audit 7

Get a list of redundant extension names and reasons.

Return value

array Keyed by module machine name, value is explanation.

1 call to SiteAuditCheckExtensionsRedundant::getExtensions()
SiteAuditCheckExtensionsRedundant::calculateScore in Check/Extensions/Redundant.php
Implements \SiteAudit\Check\Abstract\calculateScore().

File

Check/Extensions/Redundant.php, line 129
Contains \SiteAudit\Check\Extensions\Redundant.

Class

SiteAuditCheckExtensionsRedundant
Class SiteAuditCheckExtensionsRedundant.

Code

public function getExtensions() {
  $redundant_modules = array(
    'metatags_quick' => dt('Standardize on https://www.drupal.org/project/metatag'),
    'page_title' => dt('Standardize on https://www.drupal.org/project/metatag'),
    'opengraph_meta' => dt('Standardize on https://www.drupal.org/project/metatag'),
    'metatag_itunes' => dt('Standardize on https://www.drupal.org/project/metatag'),
    'context_metadata' => dt('Standardize on https://www.drupal.org/project/metatag'),
    'context_meta' => dt('Standardize on https://www.drupal.org/project/metatag'),
    'smart_app_banners' => dt('Standardize on https://www.drupal.org/project/metatag'),
  );
  return $redundant_modules;
}