protected function TestviewConfiguration::isModified in Configuration Management 7.2
Return TRUE if the configuration is modified in the active store.
Overrides ConfigurationHandlerBaseTestCase::isModified
File
- tests/
handlers/ TestViewConfiguration.test, line 66 - Tests for Configuration Management: Views.
Class
- TestviewConfiguration
- @file Tests for Configuration Management: Views.
Code
protected function isModified($config) {
$modified = FALSE;
$view = views_get_view('test', TRUE);
$modified = $view->display['default']->display_options['pager']['options']['items_per_page'] == 5;
return $modified;
}