public function OrderOtherCount::buildOptionsForm in Commerce add to cart confirmation 1.x
Provide a form to edit options for this plugin.
Overrides AreaPluginBase::buildOptionsForm
File
- src/
Plugin/ views/ area/ OrderOtherCount.php, line 71
Class
- OrderOtherCount
- Defines an order total area handler.
Namespace
Drupal\commerce_add_to_cart_confirmation\Plugin\views\areaCode
public function buildOptionsForm(&$form, FormStateInterface $form_state) {
parent::buildOptionsForm($form, $form_state);
$form['empty']['#description'] = $this
->t("Even if selected, this area handler will never render if a valid order cannot be found in the View's arguments.");
}