interface SharePluginInterface in Share Message 8
Interface for source plugin controllers.
Hierarchy
- interface \Drupal\Component\Plugin\ConfigurableInterface; interface \Drupal\Core\Plugin\PluginFormInterface
- interface \Drupal\sharemessage\SharePluginInterface
Expanded class hierarchy of SharePluginInterface
All classes that implement SharePluginInterface
4 files declare their use of SharePluginInterface
- Addthis.php in src/
Plugin/ sharemessage/ Addthis.php - OGHeaders.php in src/
Plugin/ sharemessage/ OGHeaders.php - Sharrre.php in src/
Plugin/ sharemessage/ Sharrre.php - SocialSharePrivacy.php in src/
Plugin/ sharemessage/ SocialSharePrivacy.php
File
- src/
SharePluginInterface.php, line 13
Namespace
Drupal\sharemessageView source
interface SharePluginInterface extends ConfigurableInterface, PluginFormInterface {
/**
* Creates the AddThis toolbar.
*
* @param array $context
* The form structure.
* @param $plugin_attributes
* Custom plugin attributes.
*
* @return array $build
* Returns the modified configuration form structure.
*/
public function build($context, $plugin_attributes);
/**
* Gets the setting for $key with overrides if applicable.
*
* @var string $key
*
* @return mixed
*/
public function getSetting($key);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigurableInterface:: |
public | function | Gets default configuration for this plugin. | 11 |
ConfigurableInterface:: |
public | function | Gets this plugin's configuration. | 12 |
ConfigurableInterface:: |
public | function | Sets the configuration for this plugin instance. | 12 |
PluginFormInterface:: |
public | function | Form constructor. | 36 |
PluginFormInterface:: |
public | function | Form submission handler. | 32 |
PluginFormInterface:: |
public | function | Form validation handler. | 18 |
SharePluginInterface:: |
public | function | Creates the AddThis toolbar. | 4 |
SharePluginInterface:: |
public | function | Gets the setting for $key with overrides if applicable. | 4 |