You are here

interface ContributeManagerInterface in Contribute 8

Interface ContributeManagerInterface.

Hierarchy

Expanded class hierarchy of ContributeManagerInterface

All classes that implement ContributeManagerInterface

1 file declares its use of ContributeManagerInterface
ContributeSettingsForm.php in src/Form/ContributeSettingsForm.php

File

src/ContributeManagerInterface.php, line 8

Namespace

Drupal\contribute
View source
interface ContributeManagerInterface {

  /**
   * Get account status.
   *
   * @return array
   *   An associative array containing account status.
   */
  public function getAccount();

  /**
   * Get membership status.
   *
   * @return array
   *   An associative array containing membership status.
   */
  public function getMembership();

  /**
   * Get contribution status.
   *
   * @return array
   *   An associative array containing contribution status.
   */
  public function getContribution();

  /**
   * Get contribute status.
   *
   * @return bool
   *   The contribute status.
   */
  public function getStatus();

  /**
   * Get account type.
   *
   * @return string|null
   *   Get the account type.
   */
  public function getAccountType();

  /**
   * Get account id.
   *
   * @return string|null
   *   Get the account id.
   */
  public function getAccountId();

  /**
   * Set account type.
   *
   * @param string|null $account_type
   *   The account type.
   */
  public function setAccountType($account_type);

  /**
   * Set account id.
   *
   * @param string|null $account_id
   *   The account id.
   */
  public function setAccountId($account_id);

}

Members

Namesort descending Modifiers Type Description Overrides
ContributeManagerInterface::getAccount public function Get account status. 1
ContributeManagerInterface::getAccountId public function Get account id. 1
ContributeManagerInterface::getAccountType public function Get account type. 1
ContributeManagerInterface::getContribution public function Get contribution status. 1
ContributeManagerInterface::getMembership public function Get membership status. 1
ContributeManagerInterface::getStatus public function Get contribute status. 1
ContributeManagerInterface::setAccountId public function Set account id. 1
ContributeManagerInterface::setAccountType public function Set account type. 1