You are here

InviteInterface.php in Invite 8

Namespace

Drupal\invite

File

src/InviteInterface.php
View source
<?php

namespace Drupal\invite;

use Drupal\Core\Entity\ContentEntityInterface;
use Drupal\Core\Entity\EntityChangedInterface;
use Drupal\user\EntityOwnerInterface;

/**
 * Provides an interface for defining Invite entities.
 *
 * @ingroup invite
 */
interface InviteInterface extends ContentEntityInterface, EntityChangedInterface, EntityOwnerInterface {

  /**
   * Gets the Invite creation timestamp.
   *
   * @return int
   *   Creation timestamp of the Invite.
   */
  public function getCreatedTime();

  /**
   * Sets the Invite creation timestamp.
   *
   * @param int $timestamp
   *   The Invite creation timestamp.
   *
   * @return \Drupal\invite\InviteInterface
   *   The called Invite entity.
   */
  public function setCreatedTime($timestamp);

}

Interfaces

Namesort descending Description
InviteInterface Provides an interface for defining Invite entities.