function SandwichInterface::calories
Same name in other branches
- 8.x-1.x plugin_type_example/src/SandwichInterface.php \Drupal\plugin_type_example\SandwichInterface::calories()
- 4.0.x modules/plugin_type_example/src/SandwichInterface.php \Drupal\plugin_type_example\SandwichInterface::calories()
Provide the number of calories per serving for the sandwich.
Return value
float The number of calories per serving.
1 method overrides SandwichInterface::calories()
- SandwichBase::calories in modules/
plugin_type_example/ src/ SandwichBase.php - Provide the number of calories per serving for the sandwich.
File
-
modules/
plugin_type_example/ src/ SandwichInterface.php, line 38
Class
- SandwichInterface
- An interface for all Sandwich type plugins.
Namespace
Drupal\plugin_type_exampleCode
public function calories();