Sandwich::$calories

Same name in other branches
  1. 3.x modules/plugin_type_example/src/Annotation/Sandwich.php \Drupal\plugin_type_example\Annotation\Sandwich::calories
  2. 8.x-1.x plugin_type_example/src/Annotation/Sandwich.php \Drupal\plugin_type_example\Annotation\Sandwich::calories

The number of calories per serving of this sandwich type.

This property is a float value, so we indicate that to other developers who are writing annotations for a Sandwich plugin.

Type: int

File

modules/plugin_type_example/src/Annotation/Sandwich.php, line 45

Class

Sandwich
Defines a Sandwich annotation object.

Namespace

Drupal\plugin_type_example\Annotation

Code

public $calories;