You are here

public function Profile::getType in Profile 2 8

Returns the profile type.

Overrides ProfileInterface::getType

File

src/Entity/Profile.php, line 147
Contains \Drupal\profile\Entity\Profile.

Class

Profile
Defines the profile entity class.

Namespace

Drupal\profile\Entity

Code

public function getType() {
  return $this
    ->bundle();
}