You are here

function PaymentStatusBase::getAncestors in Payment 8.2

Gets this payment status's ancestors.

Return value

array The plugin IDs of this status's ancestors.

Overrides PaymentStatusInterface::getAncestors

File

src/Plugin/Payment/Status/PaymentStatusBase.php, line 126

Class

PaymentStatusBase
Provides a base payment status.

Namespace

Drupal\payment\Plugin\Payment\Status

Code

function getAncestors() {
  return $this->paymentStatusManager
    ->getAncestors($this
    ->getPluginId());
}