You are here

public function ProfileType::save in Profile 2 7

Same name and namespace in other branches
  1. 7.2 profile2.module \ProfileType::save()

Overrides Entity::save().

Overrides Entity::save

File

./profile2.module, line 1076
Support for configurable user profiles.

Class

ProfileType
Use a separate class for profile types so we can specify some defaults modules may alter.

Code

public function save() {
  parent::save();

  // Clear field info caches such that any changes to extra fields get
  // reflected.
  field_info_cache_clear();
}