public function ProfileInterface::setActive in Profile 2 8
Sets the published status of a profile.
Parameters
bool $actvie: TRUE to set this profile to active, FALSE to set it to inactive.
Return value
\Drupal\profile\ProfileInterface The called profile entity.
1 method overrides ProfileInterface::setActive()
- Profile::setActive in src/
Entity/ Profile.php - Sets the published status of a profile.
File
- src/
ProfileInterface.php, line 114 - Contains \Drupal\profile\ProfileInterface.
Class
- ProfileInterface
- Provides an interface defining a profile entity.
Namespace
Drupal\profileCode
public function setActive($active);