Tripal
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Drupal\tripal_chado\ChadoBuddy\Attribute\ChadoBuddy Class Reference
Inheritance diagram for Drupal\tripal_chado\ChadoBuddy\Attribute\ChadoBuddy:
Inheritance graph
[legend]
Collaboration diagram for Drupal\tripal_chado\ChadoBuddy\Attribute\ChadoBuddy:
Collaboration graph
[legend]

Public Member Functions

 __construct (public readonly string $id, public readonly ?TranslatableMarkup $label=NULL, public readonly ?TranslatableMarkup $description=NULL,)
 

Detailed Description

Defines a Chado Buddy attribute object.

Plugin Namespace: Drupal\tripal_chado\ChadoBuddy.

Constructor & Destructor Documentation

◆ __construct()

Drupal\tripal_chado\ChadoBuddy\Attribute\ChadoBuddy::__construct ( public readonly string  $id,
public readonly ?TranslatableMarkup  $label = NULL,
public readonly ?TranslatableMarkup  $description = NULL 
)

Constructs a Chado Buddy attribute.

Parameters
string$idThe plugin ID.
\Drupal\Core\StringTranslation\TranslatableMarkup | null$labelThe human-readable name of the plugin.
\Drupal\Core\StringTranslation\TranslatableMarkup | null$descriptionThe description of the plugin.

The documentation for this class was generated from the following file: