You are here

function interval_field_is_empty in Interval Field 7

Implements hook_field_is_empty().

File

./interval.module, line 90
Defines an interval field @copyright Copyright(c) 2011 Rowlands Group @license GPL v2+ http://www.fsf.org/licensing/licenses/gpl.html @author Lee Rowlands leerowlands at rowlandsgroup dot com

Code

function interval_field_is_empty($item, $field) {
  return $item['interval'] == '';
}