Function Hook_fields_year_month->get_field_value_row_bits

Definitions

sources/hooks/systems/fields/year_month.php

  • Get some info bits relating to our field type, that helps us look it up / set defaults.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$field ?array required parameter N/A N/A The field details (null: new field)
$required ?boolean Null N/A N/A Whether a default value cannot be blank (null: don't "lock in" a new default value)
$default ?string Null N/A N/A The given default value as a string (null: don't "lock in" a new default value)

Return

  • Tuple of details (row-type,default-value-to-use,db row-type)
  • Type: array
  • Set: N/A
  • Range: N/A