You are here

public function ProfileInterface::isDefault in Profile 8

Gets whether this is the user's default profile.

A user can have a default profile of each type.

Return value

bool TRUE if this is the user's default profile, FALSE otherwise.

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

File

src/Entity/ProfileInterface.php, line 48

Class

ProfileInterface
Provides an interface for profiles.

Namespace

Drupal\profile\Entity

Code

public function isDefault();