You are here

function ds_label_options in Display Suite 6.2

Same name and namespace in other branches
  1. 6.3 includes/ds.display.inc \ds_label_options()
  2. 6 includes/ds.display.inc \ds_label_options()

Return array of available label options.

1 call to ds_label_options()
ds_field_default_form_properties in includes/ds.display.inc
Function to load default form properties for a field in a context

File

includes/ds.display.inc, line 698
Display overview form.

Code

function ds_label_options() {
  $options = array(
    'above' => t('Above'),
    'inline' => t('Inline'),
    'hidden' => t('Hidden'),
  );

  // Give modules a chance to alter label options.
  drupal_alter('ds_label_options', $options);
  return $options;
}