public function OgMembershipType::id in Organic groups 8
Return the ID of the entity.
Return value
string|null The type of the entity.
Overrides EntityBase::id
File
- src/
Entity/ OgMembershipType.php, line 53
Class
- OgMembershipType
- The membership type entity.
Namespace
Drupal\og\EntityCode
public function id() {
return $this->type;
}