public function SocialSharePrivacy::__construct in Share Message 8
Constructs Social Share Privacy plugin.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\Core\Config\ImmutableConfig $config: An immutable configuration object.
Overrides SharePluginBase::__construct
File
- src/
Plugin/ sharemessage/ SocialSharePrivacy.php, line 44
Class
- SocialSharePrivacy
- SocialSharePrivacy plugin.
Namespace
Drupal\sharemessage\Plugin\sharemessageCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, ImmutableConfig $config) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->socialSharePrivacyConfig = $config;
}