You are here

NetworkInterface.php in Social API 8.2

Same filename and directory in other branches
  1. 8 src/Plugin/NetworkInterface.php
  2. 3.x src/Plugin/NetworkInterface.php

File

src/Plugin/NetworkInterface.php
View source
<?php

namespace Drupal\social_api\Plugin;

use Drupal\Component\Plugin\PluginInspectionInterface;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;

/**
 * Defines an interface for Social Network plugins.
 */
interface NetworkInterface extends PluginInspectionInterface, ContainerFactoryPluginInterface {

  /**
   * Gets the underlying SDK library.
   *
   * @return mixed
   *   The SDK client.
   */
  public function getSdk();

}

Interfaces

Namesort descending Description
NetworkInterface Defines an interface for Social Network plugins.