static|null public static
\Bitrix\Main\UserConsent\DataProvider::getByCode(
string $providerCode
);
Static method returns data provider by its code. Returns null
on failure.
Parameters
Parameter | Description | Version |
$providerCode | Provider code. | |
Example