Documentation

OnBeforeSocNetFeaturesAdd

bool handler function(
   array &arParams 
);
The event is called in the new extra feature creating method before executing it and 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