public property FieldFormatter::$class

The name of the field formatter class.

This is not provided manually, it will be added by the discovery mechanism.

Type: string

File

drupal/core/modules/field/lib/Drupal/field/Annotation/FieldFormatter.php, line 68
Contains \Drupal\field\Annotation\FieldFormatter.

Class

FieldFormatter
Defines a FieldFormatter annotation object.

Namespace

Drupal\field\Annotation

Code

public $class;