You are here

function PaymentStatusInterface::hasAncestor in Payment 8.2

Checks if the status has a given other status as one of its ancestors. .

Parameters

string $plugin_id: The payment status plugin ID to check against.

Return value

boolean

1 method overrides PaymentStatusInterface::hasAncestor()
PaymentStatusBase::hasAncestor in src/Plugin/Payment/Status/PaymentStatusBase.php
Checks if the status has a given other status as one of its ancestors. .

File

src/Plugin/Payment/Status/PaymentStatusInterface.php, line 73

Class

PaymentStatusInterface
A payment status plugin.

Namespace

Drupal\payment\Plugin\Payment\Status

Code

function hasAncestor($plugin_id);