public function PaymentStatusManagerInterface::hasAncestor in Payment 8.2
Checks if a status has a given other status as 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::hasAncestor()
- PaymentStatusManager::hasAncestor in src/
Plugin/ Payment/ Status/ PaymentStatusManager.php - Checks if a status has a given other status as one of its ancestors.
File
- src/
Plugin/ Payment/ Status/ PaymentStatusManagerInterface.php, line 64
Class
- PaymentStatusManagerInterface
- Defines a payment status manager.
Namespace
Drupal\payment\Plugin\Payment\StatusCode
public function hasAncestor($plugin_id, $ancestor_plugin_id);