You are here

public function InviteSender::getType in Invite 8

Gets the Invite type type.

Return value

string Type of the Invite type.

Overrides InviteTypeInterface::getType

File

src/Entity/InviteSender.php, line 64

Class

InviteSender
Defines the Invite sender entity.

Namespace

Drupal\invite\Entity

Code

public function getType() {
  return $this
    ->get('type')->value;
}