protected function getEmailAsPdfFields()
    {
        return array(
            'emailAsPdf_cb' => array(
                'type' => 'checkbox',
                'label' => $this->t('field_emailAsPdf'),
                'description' => $this->t('desc_emailAsPdf'),
                'options' => array(
                    'emailAsPdf' => $this->t('option_emailAsPdf'),
                ),
            ),
            'emailTo' => array(
                'type' => 'email',
                'label' => $this->t('field_emailTo'),
                'description' => $this->t('desc_emailTo') . ' ' . $this->t('msg_token'),
                'attributes' => array(
                    'size' => 60,
                ),
            ),
            'emailBcc' => array(
                'type' => 'email',
                'label' => $this->t('field_emailBcc'),
                'description' => $this->t('desc_emailBcc') . ' ' . $this->t('msg_token'),
                'attributes' => array(
                    'multiple' => true,
                    'size' => 60,
                ),
            ),
            'emailFrom' => array(
                'type' => 'email',
                'label' => $this->t('field_emailFrom'),
                'description' => $this->t('desc_emailFrom') . ' ' . $this->t('msg_token'),
                'attributes' => array(
                    'size' => 60,
                ),
            ),
            'subject' => array(
                'type' => 'text',
                'label' => $this->t('field_subject'),
                'description' => $this->t('desc_subject') . ' ' . $this->t('msg_token'),
                'attributes' => array(
                    'size' => 60,
                ),
            ),
        );
    }