You are here

public function ProfileType::setMultiple in Profile 8

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

Parameters

bool $multiple: Whether a user can have multiple profiles of this type.

Return value

$this

Overrides ProfileTypeInterface::setMultiple

File

src/Entity/ProfileType.php, line 147

Class

ProfileType
Defines the profile type entity class.

Namespace

Drupal\profile\Entity

Code

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