You are here

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

shipping/uc_quote/src/Plugin/Condition/ShippingMethodCondition.php, line 41

Class

ShippingMethodCondition
Provides an 'Order shipping method' condition.

Namespace

Drupal\uc_quote\Plugin\Condition

Code

public function summary() {
  return $this
    ->t("Order has a shipping quote from a particular method");
}