You are here

function dsNodeTests::entitiesClearFieldSettings in Display Suite 7.2

Same name and namespace in other branches
  1. 7 tests/ds.entities.test \dsNodeTests::entitiesClearFieldSettings()

Utility function to clear field settings.

1 call to dsNodeTests::entitiesClearFieldSettings()
dsNodeTests::testDSFieldTemplate in tests/ds.entities.test
Tests on field templates.

File

tests/ds.entities.test, line 75
Entities tests

Class

dsNodeTests
@file Entities tests

Code

function entitiesClearFieldSettings() {
  db_query('TRUNCATE {ds_field_settings}');
  cache_clear_all('ds_fields:', 'cache', TRUE);
  cache_clear_all('ds_field_settings', 'cache');
}