function PaymentStatusInterface::isOrHasAncestor in Payment 8.2
Checks if the status is equal to a given other status or has it one of its ancestors.
Parameters
string $plugin_id: The payment status plugin ID to check against.
Return value
boolean
1 method overrides PaymentStatusInterface::isOrHasAncestor()
- PaymentStatusBase::isOrHasAncestor in src/
Plugin/ Payment/ Status/ PaymentStatusBase.php - Checks if the status is equal to a given other status or has it one of its ancestors.
File
- src/
Plugin/ Payment/ Status/ PaymentStatusInterface.php, line 84
Class
- PaymentStatusInterface
- A payment status plugin.
Namespace
Drupal\payment\Plugin\Payment\StatusCode
function isOrHasAncestor($plugin_id);