You are here

interface ShareUsageDataPluginInterface in Open Social 8.6

Same name and namespace in other branches
  1. 8.9 modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPluginInterface.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPluginInterface
  2. 8.5 modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPluginInterface.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPluginInterface
  3. 8.7 modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPluginInterface.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPluginInterface
  4. 8.8 modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPluginInterface.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPluginInterface
  5. 10.3.x modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPluginInterface.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPluginInterface
  6. 10.0.x modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPluginInterface.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPluginInterface
  7. 10.1.x modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPluginInterface.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPluginInterface
  8. 10.2.x modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPluginInterface.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPluginInterface

Defines an interface for Share usage data plugin plugins.

Hierarchy

Expanded class hierarchy of ShareUsageDataPluginInterface

All classes that implement ShareUsageDataPluginInterface

File

modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPluginInterface.php, line 10

Namespace

Drupal\social_lets_connect_usage\Plugin
View source
interface ShareUsageDataPluginInterface extends PluginInspectionInterface {

  /**
   * Get the value.
   *
   * @return array
   *   $json array.
   */
  public function getValue();

  /**
   * Check if this plugin should be enabled.
   */
  public function enabled();

}

Members

Namesort descending Modifiers Type Description Overrides
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2
ShareUsageDataPluginInterface::enabled public function Check if this plugin should be enabled. 1
ShareUsageDataPluginInterface::getValue public function Get the value. 1