Function ListFieldHook->get_input_list_map

Definitions

sources/fields.php

  • Get field list.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$field array No No required parameter N/A N/A The field details
$dynamic_choices ?boolean No No Null N/A N/A Whether to put custom choices from previous data back into the main list (null: decide based on field options)

Returns

  • List
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get field list.
 *
 * @param  array $field The field details
 * @param  ?boolean $dynamic_choices Whether to put custom choices from previous data back into the main list (null: decide based on field options)
 * @return array List
 */

protected function get_input_list_map(array $field, ?bool $dynamic_choices = null) : array