You are here

function oa_core_oa_core_space_type_options in Open Atrium Core 7.2

Implements hook_oa_core_space_type_options().

File

./oa_core.module, line 1585

Code

function oa_core_oa_core_space_type_options($term, $vocab_name) {
  $layout = field_get_items('taxonomy_term', $term, 'field_oa_section_layout', LANGUAGE_NONE);
  return array(
    'layout' => $layout[0]['value'],
  );
}