You are here

public static function EntityqueueDragtableWidget::defaultSettings in Entityqueue 8

Defines the default settings for this plugin.

Return value

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

Overrides EntityReferenceAutocompleteWidget::defaultSettings

File

src/Plugin/Field/FieldWidget/EntityqueueDragtableWidget.php, line 41

Class

EntityqueueDragtableWidget
Plugin implementation of the 'entityqueue_dragtable' widget.

Namespace

Drupal\entityqueue\Plugin\Field\FieldWidget

Code

public static function defaultSettings() {
  return [
    'link_to_entity' => FALSE,
    'link_to_edit_form' => TRUE,
  ] + parent::defaultSettings();
}