class Database in Site Audit 8.3
Provides a Database Report.
Plugin annotation
@SiteAuditReport(
id = "database",
name = @Translation("Database"),
description = @Translation("Drupal Database Best Practices and Settings")
)
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\site_audit\Plugin\SiteAuditReportBase implements SiteAuditReportInterface uses StringTranslationTrait
- class \Drupal\site_audit\Plugin\SiteAuditReport\Database
- class \Drupal\site_audit\Plugin\SiteAuditReportBase implements SiteAuditReportInterface uses StringTranslationTrait
Expanded class hierarchy of Database
File
- src/
Plugin/ SiteAuditReport/ Database.php, line 16
Namespace
Drupal\site_audit\Plugin\SiteAuditReportView source
class Database extends SiteAuditReportBase {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PluginBase:: |
protected | property | Configuration information passed into the plugin. | 1 |
PluginBase:: |
protected | property | The plugin implementation definition. | 1 |
PluginBase:: |
protected | property | The plugin_id. | |
PluginBase:: |
constant | A string which is used to separate base plugin IDs from the derivative ID. | ||
PluginBase:: |
public | function |
Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the definition of the plugin implementation. Overrides PluginInspectionInterface:: |
3 |
PluginBase:: |
public | function |
Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface:: |
|
PluginBase:: |
public | function | Determines if the plugin is configurable. | |
SiteAuditReportBase:: |
protected | property | Individual check objects. | |
SiteAuditReportBase:: |
protected | property | Flag to indicate whether any of the checks are a complete FAIL. | |
SiteAuditReportBase:: |
protected | property | Percentage pass. | |
SiteAuditReportBase:: |
protected | property | Container that's passed between each Check. | |
SiteAuditReportBase:: |
protected | property | Maximum score. | |
SiteAuditReportBase:: |
protected | property | Total score. | |
SiteAuditReportBase:: |
public | function | Returns an array of check objects. | |
SiteAuditReportBase:: |
public | function | Returns a list of checks for this report. | |
SiteAuditReportBase:: |
public | function | Get the description for the report. | |
SiteAuditReportBase:: |
public | function | Get the label(name) for the report. | |
SiteAuditReportBase:: |
public | function | Get the percentage score for the report. | |
SiteAuditReportBase:: |
protected | function | Get the complete name of the report. | |
SiteAuditReportBase:: |
public | function | Sort by weight. | |
SiteAuditReportBase:: |
public | function |
Constructor. Overrides PluginBase:: |
|
StringTranslationTrait:: |
protected | property | The string translation service. | 1 |
StringTranslationTrait:: |
protected | function | Formats a string containing a count of items. | |
StringTranslationTrait:: |
protected | function | Returns the number of plurals supported by a given language. | |
StringTranslationTrait:: |
protected | function | Gets the string translation service. | |
StringTranslationTrait:: |
public | function | Sets the string translation service to use. | 2 |
StringTranslationTrait:: |
protected | function | Translates a string to the current language or to a given language. |