Commit d041e14e authored by Jess Straatmann's avatar Jess Straatmann Committed by Aaron Bauman
Browse files

Issue #3268930 by jastraat: Remove duplicate "where" form element and improve comment accuracy

parent a12504f8
Loading
Loading
Loading
Loading
+1 −8
Changes for modules/salesforce_mapping_ui/src/Form/SalesforceMappingFormCrudBase.php: 1 added line, 8 removed lines.
Original line number Diff line number Diff line
@@ -214,14 +214,7 @@ abstract class SalesforceMappingFormCrudBase extends SalesforceMappingFormBase {
      $form['pull']['pull_where_clause'] = [
        '#title' => $this->t('Pull query SOQL "Where" clause'),
        '#type' => 'textarea',
        '#description' => $this->t('Add a "where" SOQL condition clause to limit records pulled from Salesforce. e.g. Email != \'\' AND RecordType.DevelopName = \'ExampleRecordType\''),
        '#default_value' => $mapping->pull_where_clause,
      ];

      $form['pull']['pull_where_clause'] = [
        '#title' => $this->t('Pull query SOQL "Where" clause'),
        '#type' => 'textarea',
        '#description' => $this->t('Add a "where" SOQL condition clause to limit records pulled from Salesforce. e.g. Email != \'\' AND RecordType.DevelopName = \'ExampleRecordType\''),
        '#description' => $this->t('Add a "where" SOQL condition clause to limit records pulled from Salesforce. e.g. Email != \'\' AND RecordType.DeveloperName = \'ExampleRecordType\''),
        '#default_value' => $mapping->pull_where_clause,
      ];