You are here

function biblio_get_exportable_biblio_styles in Bibliography Module 7.3

Helper function to return only exportable biblio styles.

2 calls to biblio_get_exportable_biblio_styles()
theme_biblio_ui_entity_export_area in modules/biblio_ui/biblio_ui.module
Theme callback; Display a button for export in Biblio entity.
theme_biblio_ui_view_export_area in modules/biblio_ui/biblio_ui.module
Theme callback; Display a button for export in a View.

File

./biblio.module, line 209
Maintains bibliographic lists.

Code

function biblio_get_exportable_biblio_styles() {
  ctools_include('plugins');
  $exportable_plugins = array();
  foreach (biblio_get_biblio_styles() as $plugin_name => $style) {
    if (!empty($style['export'])) {
      $exportable_plugins[$plugin_name] = $style;
    }
  }
  return $exportable_plugins;
}