You are here

public function DynamicCopyField::settingsForm in Display Suite 8.4

Same name and namespace in other branches
  1. 8.2 src/Plugin/DsField/DynamicCopyField.php \Drupal\ds\Plugin\DsField\DynamicCopyField::settingsForm()
  2. 8.3 src/Plugin/DsField/DynamicCopyField.php \Drupal\ds\Plugin\DsField\DynamicCopyField::settingsForm()

The form that holds the settings for this plugin.

Parameters

array $form: The form definition array for the field configuration form.

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

Return value

array The renderable form array representing the entire configuration form.

Overrides DsFieldBase::settingsForm

File

src/Plugin/DsField/DynamicCopyField.php, line 57

Class

DynamicCopyField
Defines a generic dynamic field that holds a copy of an existing ds field.

Namespace

Drupal\ds\Plugin\DsField

Code

public function settingsForm($form, FormStateInterface $form_state) {
  return $this->fieldInstance
    ->settingsForm($form, $form_state);
}