You are here

public property Sandwich::$description in Examples for Developers 8

Same name and namespace in other branches
  1. 3.x modules/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

plugin_type_example/src/Annotation/Sandwich.php, line 35

Class

Sandwich
Defines a Sandwich annotation object.

Namespace

Drupal\plugin_type_example\Annotation

Code

public $description;