You are here

public function PaymentBalanceCondition::summary in Ubercart 8.4

Get the translated summary from the label annotation.

Return value

string The summary of the plugin.

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException Thrown if a summary was not set.

Overrides ExecutablePluginTrait::summary

File

payment/uc_payment/src/Plugin/Condition/PaymentBalanceCondition.php, line 39

Class

PaymentBalanceCondition
Provides 'Order payment balance' condition.

Namespace

Drupal\uc_payment\Plugin\Condition

Code

public function summary() {
  return $this
    ->t("Check an order's payment balance");
}