You are here

protected function TestContentTypeConfiguration::isModified in Configuration Management 7.2

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

Overrides ConfigurationHandlerBaseTestCase::isModified

File

tests/handlers/TestContentTypeConfiguration.test, line 47
Tests for Configuration Management: Content Types.

Class

TestContentTypeConfiguration
@file Tests for Configuration Management: Content Types.

Code

protected function isModified($config) {
  $modified = FALSE;
  $content_type = node_type_load('test');
  $modified = $content_type->name == 'modified';
  $modified = $content_type->description == 'description modified';
  return $modified;
}