Function Hook_fields_date->find_year_range_limiter

Definitions

sources/hooks/systems/fields/date.php

  • Find a year range limiter part based on field options.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: int

Parameters

Name Type Default Set Range Description
$field array required parameter N/A N/A The field details
$type string required parameter N/A N/A The limit type

Return

  • Year range part
  • Type: integer
  • Set: N/A
  • Range: N/A