FieldFormatter::$class

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.