You are here

interface TeamInvitationStorageInterface in Apigee Edge 8

Defines an interface for team_invitation storage.

Hierarchy

Expanded class hierarchy of TeamInvitationStorageInterface

All classes that implement TeamInvitationStorageInterface

File

modules/apigee_edge_teams/src/Entity/Storage/TeamInvitationStorageInterface.php, line 28

Namespace

Drupal\apigee_edge_teams\Entity\Storage
View source
interface TeamInvitationStorageInterface extends EntityStorageInterface {

  /**
   * Returns all team_invitation entities for the provided email and team id.
   *
   * @param string $email
   *   The email address.
   * @param string|null $team_id
   *   The team id.
   *
   * @return \Drupal\apigee_edge_teams\Entity\TeamInvitationInterface[]
   *   An array of team_invitation entities for this email address.
   */
  public function loadByRecipient(string $email, ?string $team_id = NULL) : array;

  /**
   * Returns all team_invitation entities set to expire.
   *
   * @return \Drupal\apigee_edge_teams\Entity\TeamInvitationInterface[]
   *   An array of team_invitations entities set to expire.
   */
  public function getInvitationsToExpire() : array;

}

Members

Namesort descending Modifiers Type Description Overrides
EntityStorageInterface::create public function Constructs a new entity object, without permanently saving it. 1
EntityStorageInterface::delete public function Deletes permanently saved entities. 1
EntityStorageInterface::deleteRevision public function Delete a specific entity revision. 4
EntityStorageInterface::FIELD_LOAD_CURRENT constant Load the most recent version of an entity's field data.
EntityStorageInterface::FIELD_LOAD_REVISION constant Load the version of an entity's field data specified in the entity.
EntityStorageInterface::getAggregateQuery public function Gets an aggregated query instance. 1
EntityStorageInterface::getEntityType public function Gets the entity type definition. 1
EntityStorageInterface::getEntityTypeId public function Gets the entity type ID. 1
EntityStorageInterface::getQuery public function Gets an entity query instance. 1
EntityStorageInterface::hasData public function Determines if the storage contains any data. 1
EntityStorageInterface::load public function Loads one entity. 1
EntityStorageInterface::loadByProperties public function Load entities by their property values. 1
EntityStorageInterface::loadMultiple public function Loads one or more entities. 1
EntityStorageInterface::loadRevision public function Load a specific entity revision. 4
EntityStorageInterface::loadUnchanged public function Loads an unchanged entity from the database. 1
EntityStorageInterface::resetCache public function Resets the internal, static entity cache. 1
EntityStorageInterface::restore public function Restores a previously saved entity. 1
EntityStorageInterface::save public function Saves the entity permanently. 1
TeamInvitationStorageInterface::getInvitationsToExpire public function Returns all team_invitation entities set to expire. 1
TeamInvitationStorageInterface::loadByRecipient public function Returns all team_invitation entities for the provided email and team id. 1