You are here

function flexslider_form_optionset_export in Flex Slider 7

Export option sets

1 string reference to 'flexslider_form_optionset_export'
flexslider_menu in ./flexslider.module
Implements hook_menu().

File

./flexslider.admin.inc, line 469
Administrative page callbacks for the flexslider module.

Code

function flexslider_form_optionset_export() {
  $output = '';

  // Check for an appropriate export tool
  if (module_exists('bulk_export') || module_exists('features')) {
    $output .= 'Use any of the following to export your option sets.';
    $output .= '<ul>';
    if (module_exists('bulk_export')) {
      $output .= '<li>' . l('Bulk Export', 'admin/structure/bulk-export') . '</li>';
    }
    if (module_exists('features')) {
      $output .= '<li>' . l('Features', 'admin/structure/features') . '</li>';
    }
    $output .= '</ul>';
  }
  else {
    $output .= t('Enable the <a href="http://drupal.org/project/ctools">Bulk Export module</a> or the <a href="http://drupal.org/project/features">Features module</a> to export your option sets.');
  }
  return $output;
}