You are here

function properties_compare_list_is_full in Dynamic properties 7

Checks if the compare list is full.

1 call to properties_compare_list_is_full()
properties_compare_add_form in properties_compare/properties_compare.module
Form builder function; displays a form to add an entity to the compare list.

File

properties_compare/properties_compare.module, line 160
Module file for privatemsg_compare module.

Code

function properties_compare_list_is_full() {
  $count = count(properties_compare_list());
  return $count >= variable_get('properties_compare_list_size', 4);
}