You are here

function biblio_page_edit in Bibliography Module 7.2

Presents the biblio editing form, or redirects to delete confirmation.

Parameters

type $biblio:

Return value

type

1 string reference to 'biblio_page_edit'
biblio_menu in ./biblio.module
Implements hook_menu().

File

./biblio.module, line 3426

Code

function biblio_page_edit($biblio) {
  $wrapper = biblio_wrapper($biblio);
  $lang = biblio_field_language('biblio_title', $biblio);
  $types = biblio_types('biblio');
  drupal_set_title(t('<em>Edit @type</em> @title', array(
    '@type' => $types[$biblio->publication_type]->name,
    '@title' => $wrapper->biblio_title
      ->value(),
  )), PASS_THROUGH);
  return drupal_get_form('biblio_form', $biblio);
}