Documentation

getByCode

static|null public static
\Bitrix\Main\UserConsent\DataProvider::getByCode(
 string $providerCode
);

Static method returns data provider by its code. Returns null on failure.

Parameters

ParameterDescriptionVersion
$providerCodeProvider code.

Example



© «Bitrix24», 2001-2024
Up