class Formatter in RESTful 7.2
Same name in this branch
- 7.2 src/Annotation/Formatter.php \Drupal\restful\Annotation\Formatter
- 7.2 src/Plugin/formatter/Formatter.php \Drupal\restful\Plugin\formatter\Formatter
Defines a Formatter annotation object.
Hierarchy
- class \Drupal\restful\Annotation\Formatter extends \Drupal\Component\Annotation\Plugin
Expanded class hierarchy of Formatter
5 classes are annotated with Formatter
- FormatterHalJson in src/
Plugin/ formatter/ FormatterHalJson.php - Class FormatterHalJson @package Drupal\restful\Plugin\formatter
- FormatterHalXml in modules/
restful_example/ src/ Plugin/ formatter/ FormatterHalXml.php - Class FormatterHalXml @package Drupal\restful\Plugin\formatter
- FormatterJson in src/
Plugin/ formatter/ FormatterJson.php - Class FormatterHalJson.
- FormatterJsonApi in src/
Plugin/ formatter/ FormatterJsonApi.php - Class FormatterJsonApi @package Drupal\restful\Plugin\formatter
- FormatterSingleJson in src/
Plugin/ formatter/ FormatterSingleJson.php - Class FormatterSingleJson @package Drupal\restful\Plugin\formatter
File
- src/
Annotation/ Formatter.php, line 19 - Contains \Drupal\restful\Annotation\Formatter.
Namespace
Drupal\restful\AnnotationView source
class Formatter extends Plugin {
/**
* The human readable name.
*
* @var string
*/
public $label;
/**
* The description.
*
* @var string
*/
public $description;
/**
* Information about the curie
*
* @var array
*/
public $curie;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Formatter:: |
public | property | Information about the curie | |
Formatter:: |
public | property | The description. | |
Formatter:: |
public | property | The human readable name. |