Validates module uninstall readiness based on defined storage definitions.
@todo Remove this once we support field purging for base fields. See https://www.drupal.org/node/2282119.
Hierarchy
- class \Drupal\Core\Field\FieldModuleUninstallValidator implements ModuleUninstallValidatorInterface uses StringTranslationTrait
File
- core/lib/Drupal/Core/Field/FieldModuleUninstallValidator.php, line 17
Namespace
Drupal\Core\Field
Members
Name | Modifiers | Type | Description |
---|---|---|---|
FieldModuleUninstallValidator::validate | public | function | Determines the reasons a module can not be uninstalled. Overrides ModuleUninstallValidatorInterface::validate |
FieldModuleUninstallValidator::__construct | public | function | Constructs the object. |
StringTranslationTrait::$stringTranslation | protected | property | The string translation service. |
StringTranslationTrait::formatPlural | protected | function | Formats a string containing a count of items. |
StringTranslationTrait::getNumberOfPlurals | protected | function | Returns the number of plurals supported by a given language. |
StringTranslationTrait::getStringTranslation | protected | function | Gets the string translation service. |
StringTranslationTrait::setStringTranslation | public | function | Sets the string translation service to use. |
StringTranslationTrait::t | protected | function | Translates a string to the current language or to a given language. |
Please login to continue.