You are here

class ThunderOptionalModule in Thunder 8.4

Same name and namespace in other branches
  1. 8.2 src/Annotation/ThunderOptionalModule.php \Drupal\thunder\Annotation\ThunderOptionalModule
  2. 8.3 src/Annotation/ThunderOptionalModule.php \Drupal\thunder\Annotation\ThunderOptionalModule

Defines an entity browser widget annotation object.

Hierarchy

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.

... See full list

File

src/Annotation/ThunderOptionalModule.php, line 14

Namespace

Drupal\thunder\Annotation
View 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

Namesort descending Modifiers Type Description Overrides
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2
ThunderOptionalModule::$id public property The plugin ID.
ThunderOptionalModule::$label public property The human-readable name of the widget.
ThunderOptionalModule::$type public property The human-readable name of the widget.
ThunderOptionalModule::$weight public property The weight of the plugin in relation to other plugins.