You are here

function _eck_form_property_value in Entity Construction Kit (ECK) 7.2

Same name and namespace in other branches
  1. 7.3 eck.entity.inc \_eck_form_property_value()

Get the value for a property from a form's state.

File

./eck.entity.inc, line 594
All the menus, pages, and functionality related to administering entities.

Code

function _eck_form_property_value($state, $property) {
  if (array_key_exists($property, $state['values'])) {
    return $state['values'][$property];
  }
  return NULL;
}