You are here

public function ProfileInterface::setType in Profile 2 8

Sets the profile type.

Parameters

string $type: The profile type.

Return value

\Drupal\profile\ProfileInterface The called profile entity.

1 method overrides ProfileInterface::setType()
Profile::setType in src/Entity/Profile.php
Sets the profile type.

File

src/ProfileInterface.php, line 34
Contains \Drupal\profile\ProfileInterface.

Class

ProfileInterface
Provides an interface defining a profile entity.

Namespace

Drupal\profile

Code

public function setType($type);