public property Sandwich::$description in Examples for Developers 3.x
Same name and namespace in other branches
- 8 plugin_type_example/src/Annotation/Sandwich.php \Drupal\plugin_type_example\Annotation\Sandwich::description
A brief, human readable, description of the sandwich type.
This property is designated as being translatable because it will appear in the user interface. This provides a hint to other developers that they should use the Translation() construct in their annotation when declaring this property.
Type: \Drupal\Core\Annotation\Translation
File
- modules/
plugin_type_example/ src/ Annotation/ Sandwich.php, line 35
Class
- Sandwich
- Defines a Sandwich annotation object.
Namespace
Drupal\plugin_type_example\AnnotationCode
public $description;