You are here

public function SalesforceMappingList::buildForm in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 modules/salesforce_mapping_ui/src/SalesforceMappingList.php \Drupal\salesforce_mapping_ui\SalesforceMappingList::buildForm()

Form constructor.

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Return value

array The form structure.

Overrides DraggableListBuilder::buildForm

File

modules/salesforce_mapping_ui/src/SalesforceMappingList.php, line 54

Class

SalesforceMappingList
Defines the filter format list controller.

Namespace

Drupal\salesforce_mapping_ui

Code

public function buildForm(array $form, FormStateInterface $form_state) {
  $form = parent::buildForm($form, $form_state);
  $form['actions']['submit']['#value'] = $this
    ->t('Save changes');
  return $form;
}