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

Public Member Functions

 __construct (public readonly string $id, public readonly ?TranslatableMarkup $label=NULL, public readonly ?TranslatableMarkup $description=NULL, public readonly array $field_types=[], public readonly bool $multiple_values=FALSE, public readonly ?int $weight=NULL, public readonly ?string $deriver=NULL,)
 

Detailed Description

Defines a TripalFieldWidget attribute for plugin discovery.

This extends the Drupal core FieldWidget attribute. This does not yet add any additional functionality.

Constructor & Destructor Documentation

◆ __construct()

Drupal\tripal\TripalField\Attribute\TripalFieldWidget::__construct ( public readonly string  $id,
public readonly ?TranslatableMarkup  $label = NULL,
public readonly ?TranslatableMarkup  $description = NULL,
public readonly array  $field_types = [],
public readonly bool  $multiple_values = FALSE,
public readonly ?int  $weight = NULL,
public readonly ?string  $deriver = NULL 
)

Constructs a TripalFieldFormatter attribute.


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