1.20.x field.module | field_cache_clear() |
Clear the field info and field data caches.
Related topics
File
- modules/
field/ field.module, line 1025 - Attach custom data fields to Backdrop entities.
Code
function field_cache_clear() {
cache('field')->flush();
field_info_cache_clear();
}