You are here

public function SalesforceAuthConfig::getPluginCollections in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 5.0.x 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\Entity

Code

public function getPluginCollections() {
  return [
    'auth_provider' => new DefaultSingleLazyPluginCollection($this
      ->authManager(), $this->provider, $this
      ->getProviderSettings()),
  ];
}