ThunderOptionalModule.php in Thunder 8.3
Same filename and directory in other branches
Namespace
Drupal\thunder\AnnotationFile
src/Annotation/ThunderOptionalModule.phpView source
<?php
namespace Drupal\thunder\Annotation;
use Drupal\Component\Annotation\Plugin;
/**
* Defines an entity browser widget annotation object.
*
* @see hook_entity_browser_widget_info_alter()
*
* @Annotation
*/
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;
}
Classes
Name | Description |
---|---|
ThunderOptionalModule | Defines an entity browser widget annotation object. |