You are here

public function CopyFieldForm::getProperties in Display Suite 8.4

Same name and namespace in other branches
  1. 8.2 src/Form/CopyFieldForm.php \Drupal\ds\Form\CopyFieldForm::getProperties()
  2. 8.3 src/Form/CopyFieldForm.php \Drupal\ds\Form\CopyFieldForm::getProperties()

Returns the properties for the custom field.

Overrides FieldFormBase::getProperties

File

src/Form/CopyFieldForm.php, line 57

Class

CopyFieldForm
Configure block fields.

Namespace

Drupal\ds\Form

Code

public function getProperties(FormStateInterface $form_state) {
  return [
    'ds_plugin' => $form_state
      ->getValue('ds_plugin'),
  ];
}