public function MessageType::save in Message 7
Permanently saves the entity.
Overrides Entity::save
See also
File
- includes/
message.message_type.inc, line 200 - A class used for message types.
Class
- MessageType
- @file A class used for message types.
Code
public function save() {
parent::save();
// Clear the entity property info cache, as changed argument-keys result
// in different entity property info.
entity_property_info_cache_clear();
// Clear the field info cache, so extra fields info is purged.
_field_info_collate_fields(TRUE);
}