public property FieldType::$default_widget

The plugin_id of the default widget for this field type.

This widget must be available whenever the field type is available (i.e. provided by the field type module, or by a module the field type module depends on).

Type: string

File

core/lib/Drupal/Core/Field/Annotation/FieldType.php, line 69

Class

FieldType
Defines a FieldType annotation object.

Namespace

Drupal\Core\Field\Annotation

Code

public $default_widget;

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Field!Annotation!FieldType.php/property/FieldType::default_widget/8.1.x