Documentation

OnBeforeSocNetFeaturesPermsAdd

bool handler function(
   array &arParams 
);
The event is called in the access permission adding method used for extra features - before executing it. The event can be used to cancel the method or to re-define specific fields.

Parameters

ParameterDescription
arParams New record array of fields.

All parameters of this handler are links to original source variables. When you change a parameter within the handler, it changes the source variable received on fetch for handler function.

Returned value

To cancel the method, return false in the handler function.


© «Bitrix24», 2001-2024
Up