class ThunderOptionalModule in Thunder 8.3
Same name and namespace in other branches
- 8.2 src/Annotation/ThunderOptionalModule.php \Drupal\thunder\Annotation\ThunderOptionalModule
- 8.4 src/Annotation/ThunderOptionalModule.php \Drupal\thunder\Annotation\ThunderOptionalModule
Defines an entity browser widget annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\thunder\Annotation\ThunderOptionalModule
Expanded class hierarchy of ThunderOptionalModule
See also
hook_entity_browser_widget_info_alter()
10 classes are annotated with ThunderOptionalModule
- Adsense in src/
Plugin/ Thunder/ OptionalModule/ Adsense.php - Adsense.
- AMP in src/
Plugin/ Thunder/ OptionalModule/ AMP.php - AMP.
- FacebookInstantArticles in src/
Plugin/ Thunder/ OptionalModule/ FacebookInstantArticles.php - Facebook Instant Articles.
- GoogleAnalytics in src/
Plugin/ Thunder/ OptionalModule/ GoogleAnalytics.php - Google Analytics.
- Harbourmaster in src/
Plugin/ Thunder/ OptionalModule/ Harbourmaster.php - Harbourmaster.
File
- src/
Annotation/ ThunderOptionalModule.php, line 14
Namespace
Drupal\thunder\AnnotationView source
class ThunderOptionalModule extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The human-readable name of the widget.
*
* @var \Drupal\Core\Annotation\Translation
* @ingroup plugin_translatable
*/
public $label;
/**
* The human-readable name of the widget.
*
* @var \Drupal\Core\Annotation\Translation
* @ingroup plugin_translatable
*/
public $type;
/**
* The weight of the plugin in relation to other plugins.
*
* @var int
*/
public $weight;
}
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:: |
|
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 |
ThunderOptionalModule:: |
public | property | The plugin ID. | |
ThunderOptionalModule:: |
public | property | The human-readable name of the widget. | |
ThunderOptionalModule:: |
public | property | The human-readable name of the widget. | |
ThunderOptionalModule:: |
public | property | The weight of the plugin in relation to other plugins. |