public function OrderTotal::buildOptionsForm in Commerce Core 8.2
Provide a form to edit options for this plugin.
Overrides AreaPluginBase::buildOptionsForm
File
- modules/
order/ src/ Plugin/ views/ area/ OrderTotal.php, line 63
Class
- OrderTotal
- Defines an order total area handler.
Namespace
Drupal\commerce_order\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.");
}