You are here

public static function LinkTargetFieldWidget::defaultSettings in Link target 8

Defines the default settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides LinkWidget::defaultSettings

File

src/Plugin/Field/FieldWidget/LinkTargetFieldWidget.php, line 25

Class

LinkTargetFieldWidget
Plugin implementation of the 'link_target_field_widget' widget.

Namespace

Drupal\link_target\Plugin\Field\FieldWidget

Code

public static function defaultSettings() {
  return [
    'available_targets' => [],
  ] + parent::defaultSettings();
}