class TeamInvitationEvent in Apigee Edge 8
Defines the team_invitation event.
Hierarchy
- class \Drupal\apigee_edge_teams\Event\TeamInvitationEvent extends \Symfony\Component\EventDispatcher\Event implements TeamInvitationEventInterface
Expanded class hierarchy of TeamInvitationEvent
2 files declare their use of TeamInvitationEvent
- TeamInvitationStorage.php in modules/
apigee_edge_teams/ src/ Entity/ Storage/ TeamInvitationStorage.php - TeamInvitationSubscriber.php in modules/
apigee_edge_teams/ tests/ modules/ apigee_edge_teams_invitation_test/ src/ EventSubscriber/ TeamInvitationSubscriber.php
File
- modules/
apigee_edge_teams/ src/ Event/ TeamInvitationEvent.php, line 29
Namespace
Drupal\apigee_edge_teams\EventView source
class TeamInvitationEvent extends Event implements TeamInvitationEventInterface {
/**
* The team_invitation entity.
*
* @var \Drupal\apigee_edge_teams\Entity\TeamInvitationInterface
*/
protected $teamInvitation;
/**
* TeamInvitationEvent constructor.
*
* @param \Drupal\apigee_edge_teams\Entity\TeamInvitationInterface $team_invitation
* The team invitation.
*/
public function __construct(TeamInvitationInterface $team_invitation) {
$this->teamInvitation = $team_invitation;
}
/**
* {@inheritdoc}
*/
public function getTeamInvitation() : TeamInvitationInterface {
return $this->teamInvitation;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TeamInvitationEvent:: |
protected | property | The team_invitation entity. | |
TeamInvitationEvent:: |
public | function |
Returns the team_invitation entity. Overrides TeamInvitationEventInterface:: |
|
TeamInvitationEvent:: |
public | function | TeamInvitationEvent constructor. |