You are here

function PaymentStatusBase::getDescendants in Payment 8.2

Get this payment status's descendants.

Return value

array The machine names of this status's descendants.

Overrides PaymentStatusInterface::getDescendants

File

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

Class

PaymentStatusBase
Provides a base payment status.

Namespace

Drupal\payment\Plugin\Payment\Status

Code

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