You are here

public function ProfileInterface::isActive in Profile 8

Gets whether the profile is active.

Unpublished profiles are only visible to their authors and administrators.

Return value

bool TRUE if the profile is active, FALSE otherwise.

Deprecated

in Profile 1.0-rc4. Use ::isPublished instead.

1 method overrides ProfileInterface::isActive()
Profile::isActive in src/Entity/Profile.php
Gets whether the profile is active.

File

src/Entity/ProfileInterface.php, line 26

Class

ProfileInterface
Provides an interface for profiles.

Namespace

Drupal\profile\Entity

Code

public function isActive();