FilterUninstallValidator::getEnabledFilterFormats

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]);
}
doc_Drupal
2016-10-29 09:14:53
Comments
Leave a Comment

Please login to continue.