protected FieldUninstallValidator::getFieldStoragesByModule($module)
Returns all field storages for a specified module.
Parameters
string $module: The module to filter field storages by.
Return value
\Drupal\field\FieldStorageConfigInterface[] An array of field storages for a specified module.
File
- core/modules/field/src/FieldUninstallValidator.php, line 84
Class
- FieldUninstallValidator
- Prevents uninstallation of modules providing active field storage.
Namespace
Drupal\field
Code
protected function getFieldStoragesByModule($module) { return $this->fieldStorageConfigStorage->loadByProperties(['module' => $module, 'include_deleted' => TRUE]); }
Please login to continue.