You are here

public static function WysiwygConfiguration::getAllIdentifiers in Configuration Management 7.2

Overrides Drupal\configuration\Config\Configuration::getAllIdentifiers().

Overrides Configuration::getAllIdentifiers

File

lib/Drupal/configuration/Config/WysiwygConfiguration.php, line 47
Definition of Drupal\configuration\Config\WysiwygConfiguration.

Class

WysiwygConfiguration

Namespace

Drupal\configuration\Config

Code

public static function getAllIdentifiers($component) {
  $profiles = array();
  $formats = filter_formats();
  foreach (array_keys(wysiwyg_profile_load_all()) as $format) {

    // Text format may vanish without deleting the wysiwyg profile.
    if (isset($formats[$format])) {
      $profiles[$format] = $format;
    }
  }
  return $profiles;
}