You are here

protected function CouponRedemption::defineOptions in Commerce Core 8.2

Information about options for all kinds of purposes will be held here.


'option_name' => array(
 - 'default' => default value,
 - 'contains' => (optional) array of items this contains, with its own
     defaults, etc. If contains is set, the default will be ignored and
     assumed to be array().
 ),

Return value

array Returns the options of this handler/plugin.

Overrides AreaPluginBase::defineOptions

File

modules/promotion/src/Plugin/views/area/CouponRedemption.php, line 81

Class

CouponRedemption
Defines a coupon redemption area handler.

Namespace

Drupal\commerce_promotion\Plugin\views\area

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['allow_multiple'] = [
    'default' => FALSE,
  ];
  return $options;
}