You are here

public function ProfileInterface::setDefault in Profile 8

Sets whether this is the user's default profile.

Parameters

bool $is_default: Whether this is the user's default profile.

Return value

$this

1 method overrides ProfileInterface::setDefault()
Profile::setDefault in src/Entity/Profile.php
Sets whether this is the user's default profile.

File

src/Entity/ProfileInterface.php, line 58

Class

ProfileInterface
Provides an interface for profiles.

Namespace

Drupal\profile\Entity

Code

public function setDefault($is_default);