SharePluginInterface.php in Share Message 8
Namespace
Drupal\sharemessageFile
src/SharePluginInterface.phpView source
<?php
namespace Drupal\sharemessage;
use Drupal\Component\Plugin\ConfigurableInterface;
use Drupal\Core\Plugin\PluginFormInterface;
/**
* Interface for source plugin controllers.
*
* @ingroup sharemessage
*/
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);
}
Interfaces
Name | Description |
---|---|
SharePluginInterface | Interface for source plugin controllers. |