You are here

public property FieldFormatter::$class in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Field/Annotation/FieldFormatter.php \Drupal\Core\Field\Annotation\FieldFormatter::class
  2. 10 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;