public function CRMCoreContactTypeController::save in CRM Core 7
Overrides a method of the EntityAPIControllerExportable class.
Overrides EntityAPIControllerExportable::save
File
- modules/
crm_core_contact/ includes/ crm_core_contact_type.controller.inc, line 43 - Controller class for contacts.
Class
- CRMCoreContactTypeController
- @file Controller class for contacts.
Code
public function save($entity, DatabaseTransaction $transaction = NULL) {
parent::save($entity, $transaction);
// Reset cache entry, important for usecases like install procedure.
drupal_static_reset('crm_core_contact_types');
}