public function OrderHasProductClassCondition::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
- uc_order/
src/ Plugin/ Condition/ OrderHasProductClassCondition.php, line 52
Class
- OrderHasProductClassCondition
- Provides 'Order has a product with a selected product classes' condition.
Namespace
Drupal\uc_order\Plugin\ConditionCode
public function summary() {
return $this
->t("Check an order's product classes");
}