You are here

public function ProfileType::id in Profile 2 8

Gets the identifier.

Return value

string|int|null The entity identifier, or NULL if the object does not yet have an identifier.

Overrides EntityBase::id

File

src/Entity/ProfileType.php, line 91
Contains \Drupal\profile\Entity\ProfileType.

Class

ProfileType
Defines the profile type entity class.

Namespace

Drupal\profile\Entity

Code

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