public function ProfileTypeInterface::setRegistration in Profile 8
Sets whether a profile of this type should be created during registration.
Parameters
bool $registration: Whether a profile of this type should be created during registration.
Return value
$this
1 method overrides ProfileTypeInterface::setRegistration()
- ProfileType::setRegistration in src/
Entity/ ProfileType.php - Sets whether a profile of this type should be created during registration.
File
- src/
Entity/ ProfileTypeInterface.php, line 69
Class
- ProfileTypeInterface
- Provides an interface defining a profile type entity.
Namespace
Drupal\profile\EntityCode
public function setRegistration($registration);