You are here

ShareUsageDataPluginInterface.php in Open Social 8.7

File

modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPluginInterface.php
View source
<?php

namespace Drupal\social_lets_connect_usage\Plugin;

use Drupal\Component\Plugin\PluginInspectionInterface;

/**
 * Defines an interface for Share usage data plugin plugins.
 */
interface ShareUsageDataPluginInterface extends PluginInspectionInterface {

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

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

}

Interfaces

Namesort descending Description
ShareUsageDataPluginInterface Defines an interface for Share usage data plugin plugins.