You are here

function entityform_type_cache_reset in Entityform 7

Same name and namespace in other branches
  1. 7.2 entityform.module \entityform_type_cache_reset()

Clears the entityform type cache.

3 calls to entityform_type_cache_reset()
EntityformCRUDTestCase::updateEntityformType in ./entityform.test
EntityformTypeController::delete in ./entityform.module
Overridden to delete aliases and clear cache.
EntityformTypeController::save in ./entityform.module
Overridden to clear cache.

File

./entityform.module, line 627
Module for the Entityform Entity - a starting point to create your own Entity and associated administration interface

Code

function entityform_type_cache_reset() {
  cache_clear_all('entityform_types', 'cache');
  drupal_static_reset('entityform_get_types');
}