You are here

public function SalesforceAuthConfig::getPluginId in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 src/Entity/SalesforceAuthConfig.php \Drupal\salesforce\Entity\SalesforceAuthConfig::getPluginId()
  2. 8.3 src/Entity/SalesforceAuthConfig.php \Drupal\salesforce\Entity\SalesforceAuthConfig::getPluginId()

Plugin id getter.

Return value

string|null The auth provider plugin id, or null.

File

src/Entity/SalesforceAuthConfig.php, line 135

Class

SalesforceAuthConfig
Defines a Salesforce Auth entity.

Namespace

Drupal\salesforce\Entity

Code

public function getPluginId() {
  return $this->provider ?: NULL;
}