Documentation

validateFieldDefinition

\Bitrix\Landing\Node::validateFieldDefinition(
   array $field
) 

Method and its descendants are used for checking whether a full description for the source field was passed or not. This verifies if the all necessary information for rendering the node is available.

Parameters

Parameters Description Available from version
$field Array with field description. Required keys (minimally):
  • id - field identifier
  • name - name
  • type - field type
The rest of keys are defined by the node type.

Returned value

Base method returns array with the structure:

  • id - field ID
  • name - name
  • type - node type


© «Bitrix24», 2001-2024
Up