You are here

function og_panels_content_types_addedit_callback_faces in Organic groups 6

Same name and namespace in other branches
  1. 5.8 includes/groupcontent.inc \og_panels_content_types_addedit_callback_faces()
  2. 5 includes/groupcontent.inc \og_panels_content_types_addedit_callback_faces()
  3. 5.3 includes/groupcontent.inc \og_panels_content_types_addedit_callback_faces()
  4. 5.7 includes/groupcontent.inc \og_panels_content_types_addedit_callback_faces()
1 string reference to 'og_panels_content_types_addedit_callback_faces'
og_panels_panels_content_types in modules/og_panels/og_panels.module
Implementation of hook_panels_content_types()

File

includes/og.panelscontent.inc, line 160

Code

function og_panels_content_types_addedit_callback_faces($id, $panel_args, $conf = NULL) {
  $form['column_count'] = array(
    '#type' => 'textfield',
    '#title' => t('Number of pictures per row'),
    '#default_value' => isset($conf['column_count']) ? $conf['column_count'] : 5,
    '#size' => 5,
  );
  $form['row_count'] = array(
    '#type' => 'textfield',
    '#title' => t('Maximum number of rows per page'),
    '#default_value' => isset($conf['row_count']) ? $conf['row_count'] : 10,
    '#size' => 5,
  );
  $form['pager_id'] = array(
    '#type' => 'textfield',
    '#title' => t('Pager ID'),
    '#default_value' => isset($conf['pager_id']) ? $conf['pager_id'] : 0,
    '#size' => 5,
  );
  return $form;
}