protected function TestPermissionConfiguration::isModified in Configuration Management 7.2
Return TRUE if the configuration is modified in the active store.
Overrides ConfigurationHandlerBaseTestCase::isModified
1 call to TestPermissionConfiguration::isModified()
- TestPermissionConfiguration::savedInActiveStore in tests/
handlers/ TestPermissionConfiguration.test - Return TRUE if all the configurations defined in configToImport were saved into the active store.
File
- tests/
handlers/ TestPermissionConfiguration.test, line 51 - Tests for Configuration Management: Permissions.
Class
- TestPermissionConfiguration
- @file Tests for Configuration Management: Permissions.
Code
protected function isModified($config) {
return !db_query('SELECT 1 FROM {role_permission} WHERE permission = :permission AND rid = :rid', array(
':permission' => 'administer content types',
':rid' => $this->developer_rid,
))
->fetchField();
}