interface SocialPostNetworkInterface in Social Post 8
Defines a Social Post Network Plugin interface.
Hierarchy
- interface \Drupal\social_post\Plugin\Network\SocialPostNetworkInterface extends \Drupal\social_api\Plugin\NetworkInterface
Expanded class hierarchy of SocialPostNetworkInterface
All classes that implement SocialPostNetworkInterface
File
- src/
Plugin/ Network/ SocialPostNetworkInterface.php, line 10
Namespace
Drupal\social_post\Plugin\NetworkView 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
|
Name |
Modifiers | Type | Description | Overrides |
|---|---|---|---|---|
|
SocialPostNetworkInterface:: |
public | function | Execute the posting action. |