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):
|
Returned value
Base method returns array with the structure:
- id - field ID
- name - name
- type - node type
© «Bitrix24», 2001-2024