class QuickForm in farmOS 2.x
Same name in this branch
- 2.x modules/core/quick/src/Form/QuickForm.php \Drupal\farm_quick\Form\QuickForm
- 2.x modules/core/quick/src/Annotation/QuickForm.php \Drupal\farm_quick\Annotation\QuickForm
Defines a quick form annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface- class \Drupal\farm_quick\Annotation\QuickForm
 
Expanded class hierarchy of QuickForm
1 class is annotated with QuickForm
File
- modules/core/ quick/ src/ Annotation/ QuickForm.php, line 12 
Namespace
Drupal\farm_quick\AnnotationView source
class QuickForm extends Plugin {
  /**
   * The quick form ID.
   *
   * @var string
   */
  public $id;
  /**
   * The quick form label.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $label;
  /**
   * The quick form description.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $description;
  /**
   * The quick form help text.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $helpText;
  /**
   * An array of access permissions for the quick form.
   *
   * @var string[]
   */
  public $permissions;
}Members
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| Plugin:: | protected | property | The plugin definition read from the class annotation. | 1 | 
| Plugin:: | public | function | Gets the value of an annotation. Overrides AnnotationInterface:: | 5 | 
| Plugin:: | public | function | Gets the class of the annotated class. Overrides AnnotationInterface:: | |
| Plugin:: | public | function | Gets the unique ID for this annotated class. Overrides AnnotationInterface:: | |
| Plugin:: | public | function | Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: | 1 | 
| Plugin:: | protected | function | Parses an annotation into its definition. | |
| Plugin:: | public | function | Sets the class of the annotated class. Overrides AnnotationInterface:: | |
| Plugin:: | public | function | Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: | |
| Plugin:: | public | function | Constructs a Plugin object. | 2 | 
| QuickForm:: | public | property | The quick form description. | |
| QuickForm:: | public | property | The quick form help text. | |
| QuickForm:: | public | property | The quick form ID. | |
| QuickForm:: | public | property | The quick form label. | |
| QuickForm:: | public | property | An array of access permissions for the quick form. | 
