You are here

public function TokenFieldForm::getProperties in Display Suite 8.2

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

Returns the properties for the custom field.

Overrides FieldFormBase::getProperties

File

src/Form/TokenFieldForm.php, line 65

Class

TokenFieldForm
Configures token fields.

Namespace

Drupal\ds\Form

Code

public function getProperties(FormStateInterface $form_state) {
  return array(
    'content' => $form_state
      ->getValue('content'),
  );
}