You are here

interface SocialPostNetworkInterface in Social Post 8

Defines a Social Post Network Plugin interface.

Hierarchy

Expanded class hierarchy of SocialPostNetworkInterface

All classes that implement SocialPostNetworkInterface

File

src/Plugin/Network/SocialPostNetworkInterface.php, line 10

Namespace

Drupal\social_post\Plugin\Network
View source
interface SocialPostNetworkInterface extends NetworkInterface {

  /**
   * Execute the posting action.
   *
   * Uses the underlying SDK library to publish to the social network.
   *
   * @return bool
   *   True if the post action was done properly
   *   False otherwise
   */
  public function post();

}

Members

Namesort descending Modifiers Type Description Overrides
SocialPostNetworkInterface::post public function Execute the posting action.