prepareFieldDefinition
\Bitrix\Landing\Node::prepareFieldDefinition( array $field )
Method gets description for source field with indication of node type. Checks the availability of required keys and returns array with standardized structure.
Parameters
Parameters | Description | Available from version |
---|---|---|
$field | Array with field description. Required keys (minimally):
|
Returned value
- null
- no ID keys, name or type;
- class descendant
\Bitrix\Landing\Node
not found to process this type; - empty method result validateFieldDefinition.
- standartized array with field description
© «Bitrix24», 2001-2025