protected FilterUninstallValidator::getEnabledFilterFormats()
Returns all enabled filter formats.
Return value
\Drupal\filter\FilterFormatInterface[]
File
- core/modules/filter/src/FilterUninstallValidator.php, line 93
Class
- FilterUninstallValidator
- Prevents uninstallation of modules providing used filter plugins.
Namespace
Drupal\filter
Code
protected function getEnabledFilterFormats() { return $this->filterStorage->loadByProperties(['status' => TRUE]); }
Please login to continue.