You are here

public function ProfileType::__construct in Profile 2 7.2

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

Overrides Entity::__construct

File

./profile2.module, line 1326
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 __construct($values = array()) {
  parent::__construct($values, 'profile2_type');
}