function facetapi_is_overridden in Facet API 7
Same name and namespace in other branches
- 6.3 facetapi.admin.inc \facetapi_is_overridden()
- 7.2 facetapi.admin.inc \facetapi_is_overridden()
Tests whether a configuration setting is overridden or not.
Parameters
stdClass $settings: The configuration settings being tested.
Return value
boolean TRUE if the settings are overridden, FALSE otherwise.
2 calls to facetapi_is_overridden()
- facetapi_realm_settings_form in ./
facetapi.admin.inc - Form constructor for the realm settings form.
- facetapi_revert_form in ./
facetapi.admin.inc - Form constructor for the revert form.
File
- ./
facetapi.admin.inc, line 17 - Admin page callbacks for the Facet API module.
Code
function facetapi_is_overridden(stdClass $settings) {
return $settings->export_type & EXPORT_IN_CODE && $settings->export_type & EXPORT_IN_DATABASE;
}