You are here

public function ProfileType::allowsMultiple in Profile 8

Gets whether a user can have multiple profiles of this type.

Return value

bool TRUE if a user can have multiple profiles of this type, FALSE otherwise.

Overrides ProfileTypeInterface::allowsMultiple

File

src/Entity/ProfileType.php, line 140

Class

ProfileType
Defines the profile type entity class.

Namespace

Drupal\profile\Entity

Code

public function allowsMultiple() {
  return $this->multiple;
}