You are here

public function ProfileInterface::setActive in Profile 8

Sets whether the profile is active.

Parameters

bool $active: Whether the profile is active.

Return value

$this

Deprecated

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

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

File

src/Entity/ProfileInterface.php, line 38

Class

ProfileInterface
Provides an interface for profiles.

Namespace

Drupal\profile\Entity

Code

public function setActive($active);