You are here

public function OrderProductHasAttributeOption::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_attribute/src/Plugin/Condition/OrderProductHasAttributeOption.php, line 72

Class

OrderProductHasAttributeOption
Provides 'Order has a product with a particular attribute option' condition.

Namespace

Drupal\uc_attribute\Plugin\Condition

Code

public function summary() {
  return $this
    ->t('Search the products of an order for a particular attribute option.');
}