public property FieldType::$default_formatter

The plugin_id of the default formatter for this field type.

This formatter 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 80

Class

FieldType
Defines a FieldType annotation object.

Namespace

Drupal\Core\Field\Annotation

Code

public $default_formatter;

© 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_formatter/8.1.x