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
1 2 3 | protected function getEnabledFilterFormats() { return $this ->filterStorage->loadByProperties([ 'status' => TRUE]); } |
Please login to continue.