You are here

public function ComputedStringWidget::getDefaultValue in Computed Field 8.2

Same name and namespace in other branches
  1. 3.x src/Plugin/Field/FieldWidget/ComputedStringWidget.php \Drupal\computed_field\Plugin\Field\FieldWidget\ComputedStringWidget::getDefaultValue()

Define how the widget is constructed.

File

src/Plugin/Field/FieldWidget/ComputedStringWidget.php, line 22

Class

ComputedStringWidget
Plugin implementation of the 'computed_string_widget' widget.

Namespace

Drupal\computed_field\Plugin\Field\FieldWidget

Code

public function getDefaultValue() {
  return '';
}