You are here

public property FieldFormatter::$class in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/Annotation/FieldFormatter.php \Drupal\Core\Field\Annotation\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

core/lib/Drupal/Core/Field/Annotation/FieldFormatter.php, line 57

Class

FieldFormatter
Defines a FieldFormatter annotation object.

Namespace

Drupal\Core\Field\Annotation

Code

public $class;