You are here

public property Sandwich::$calories in Examples for Developers 3.x

Same name and namespace in other branches
  1. 8 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;