Tripal
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Drupal\tripal\TripalPubLibrary\Attribute\TripalPubLibrary Class Reference
Inheritance diagram for Drupal\tripal\TripalPubLibrary\Attribute\TripalPubLibrary:
Inheritance graph
[legend]
Collaboration diagram for Drupal\tripal\TripalPubLibrary\Attribute\TripalPubLibrary:
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 tripal publication importer attribute object.

@Annotation

Constructor & Destructor Documentation

◆ __construct()

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

Constructs a TripalPubLibrary attribute.

Parameters
string$idThe plugin ID.
\Drupal\Core\StringTranslation\TranslatableMarkup | null$labelThe label of the plugin.
\Drupal\Core\StringTranslation\TranslatableMarkup | null$descriptionA brief description for this parser. This description will be presented to the site user.

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