You are here

public function WysiwygConfiguration::findDependencies in Configuration Management 7.2

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

Overrides Configuration::findDependencies

File

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

Class

WysiwygConfiguration

Namespace

Drupal\configuration\Config

Code

public function findDependencies() {
  $format = $this
    ->getIdentifier();
  $formats = filter_formats();
  if (isset($formats[$format])) {
    $filter_format = ConfigurationManagement::createConfigurationInstance('text_format.' . $format);
    $this
      ->addToDependencies($filter_format);
  }
  parent::findDependencies();
}