protected function TestMenuConfiguration::isModified in Configuration Management 7.2
Return TRUE if the configuration is modified in the active store.
Overrides ConfigurationHandlerBaseTestCase::isModified
File
- tests/
handlers/ TestMenuConfiguration.test, line 62 - Tests for Configuration Management: Menus.
Class
- TestMenuConfiguration
- @file Tests for Configuration Management: Menus.
Code
protected function isModified($config) {
$modified = FALSE;
$menu = menu_load('menu-test');
$modified = $menu['title'] == 'Modified';
$modified = $menu['description'] == 'Modified';
return $modified;
}