You are here

protected function TestTextFormatConfiguration::isModified in Configuration Management 7.2

Return TRUE if the configuration is modified in the active store.

Overrides ConfigurationHandlerBaseTestCase::isModified

File

tests/handlers/TestTextFormatConfiguration.test, line 40

Class

TestTextFormatConfiguration

Code

protected function isModified($config) {
  $modified = FALSE;
  filter_formats_reset();
  $format = filter_format_load('custom');
  $modified = $format->name == 'modified';
  return $modified;
}