public function SalesforceAuthConfig::getPluginCollections in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 src/Entity/SalesforceAuthConfig.php \Drupal\salesforce\Entity\SalesforceAuthConfig::getPluginCollections()
Gets the plugin collections used by this object.
Return value
\Drupal\Component\Plugin\LazyPluginCollection[] An array of plugin collections, keyed by the property name they use to store their configuration.
Overrides ObjectWithPluginCollectionInterface::getPluginCollections
File
- src/
Entity/ SalesforceAuthConfig.php, line 187
Class
- SalesforceAuthConfig
- Defines a Salesforce Auth entity.
Namespace
Drupal\salesforce\EntityCode
public function getPluginCollections() {
return [
'auth_provider' => new DefaultSingleLazyPluginCollection($this
->authManager(), $this->provider, $this
->getProviderSettings()),
];
}