|
| | __construct (public readonly string $id, public readonly ?TranslatableMarkup $label=NULL, public readonly ?TranslatableMarkup $description=NULL,) |
| |
Defines a custom plugin annotation for TripalStorage plugins.
◆ __construct()
| Drupal\tripal\TripalStorage\Attribute\TripalStorage::__construct |
( |
public readonly string |
$id, |
|
|
public readonly ?TranslatableMarkup |
$label = NULL, |
|
|
public readonly ?TranslatableMarkup |
$description = NULL |
|
) |
| |
Constructs a TripalFieldFormatter attribute.
- Parameters
-
| string | $id | The plugin ID. |
| \Drupal\Core\StringTranslation\TranslatableMarkup | null | $label | The human-readable name of the tripal storage type. |
| \Drupal\Core\StringTranslation\TranslatableMarkup | null | $description | A short description of the tripal storage type. |
The documentation for this class was generated from the following file:
- tripal/src/TripalStorage/Attribute/TripalStorage.php