You are here

public function PaymentStatusManagerInterface::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:

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

Return value

boolean

1 method overrides PaymentStatusManagerInterface::isOrHasAncestor()
PaymentStatusManager::isOrHasAncestor in src/Plugin/Payment/Status/PaymentStatusManager.php
Checks if the status is equal to a given other status or has it one of its ancestors.

File

src/Plugin/Payment/Status/PaymentStatusManagerInterface.php, line 76

Class

PaymentStatusManagerInterface
Defines a payment status manager.

Namespace

Drupal\payment\Plugin\Payment\Status

Code

public function isOrHasAncestor($plugin_id, $ancestor_plugin_id);