public function Remote::mergePluginConfig in Entity Share 8.3
Copies plugin specific data into the Remote.
Parameters
\Drupal\entity_share_client\ClientAuthorization\ClientAuthorizationInterface $plugin: The authorization plugin to merge.
Overrides RemoteInterface::mergePluginConfig
File
- modules/
entity_share_client/ src/ Entity/ Remote.php, line 114
Class
- Remote
- Defines the Remote entity.
Namespace
Drupal\entity_share_client\EntityCode
public function mergePluginConfig(ClientAuthorizationInterface $plugin) {
$auth = [
'pid' => $plugin
->getPluginId(),
] + $plugin
->getConfiguration();
$this->auth = $auth;
}