src/Shop/ConfigForm.php
protected function getTriggerFields()
    {
        $orderStatusesList = $this->getOrderStatusesList();
        $fields = array(
            'triggerOrderStatus' => array(
                'name' => 'triggerOrderStatus[]',
                'type' => 'select',
                'label' => $this->t('field_triggerOrderStatus'),
                'description' => $this->t('desc_triggerOrderStatus'),
                'options' => $orderStatusesList,
                'attributes' => array(
                    'multiple' => true,
                    'size' => min(count($orderStatusesList), 8),
                ),
            ),
            'triggerInvoiceEvent' => $this->getOptionsOrHiddenField('triggerInvoiceEvent', 'radio', false),
            'triggerCreditNoteEvent' => $this->getOptionsOrHiddenField('triggerCreditNoteEvent', 'radio', false),
        );
        return $fields;
    }
protected function getTriggerFields()
    {
        $orderStatusesList = $this->getOrderStatusesList();
        $fields = array(
            'triggerOrderStatus' => array(
                'name' => 'triggerOrderStatus[]',
                'type' => 'select',
                'label' => $this->t('field_triggerOrderStatus'),
                'description' => $this->t('desc_triggerOrderStatus'),
                'options' => $orderStatusesList,
                'attributes' => array(
                    'multiple' => true,
                    'size' => min(count($orderStatusesList), 8),
                ),
            ),
            'triggerInvoiceEvent' => $this->getOptionsOrHiddenField('triggerInvoiceEvent', 'radio', false),
            'triggerCreditNoteEvent' => $this->getOptionsOrHiddenField('triggerCreditNoteEvent', 'radio', false),
        );
        return $fields;
    }
protected function getTriggerFields ( ) { $ orderStatusesList = $ this -> getOrderStatusesList ( ) ; $ fields = array ( 'triggerOrderStatus' => array ( 'name' => 'triggerOrderStatus[]' , 'type' => 'select' , 'label' => $ this -> t ( 'field_triggerOrderStatus' ) , 'description' => $ this -> t ( 'desc_triggerOrderStatus' ) , 'options' => $ orderStatusesList , 'attributes' => array ( 'multiple' => true , 'size' => min ( count ( $ orderStatusesList ) , 8 ) , ) , ) , 'triggerInvoiceEvent' => $ this -> getOptionsOrHiddenField ( 'triggerInvoiceEvent' , 'radio' , false ) , 'triggerCreditNoteEvent' => $ this -> getOptionsOrHiddenField ( 'triggerCreditNoteEvent' , 'radio' , false ) , ) ; return $ fields ; }
Returns the set of trigger related fields.

The fields returned:
- triggerOrderStatus
- triggerInvoiceEvent

@return array[]
The set of trigger related fields.
Returns the set of trigger related fields .