You are here

protected function field_timer_text_field_timer::getTimestamp in Field Timer 7.2

@inheritdoc

Overrides field_timer_formatter_base::getTimestamp

File

includes/field_timer_text.inc, line 262
Contains help classes to perform field_timer_text formatter related actions.

Class

field_timer_text_field_timer
Class for field_timer_text formatter and field_timer field type.

Code

protected function getTimestamp($item, $field, $key = 'timestamp') {
  return $item[$key];
}