Browse Source

ISLANDORA-227 book content model now displays 'created successfully' message.

pull/105/head
Alexander O'Neill 14 years ago
parent
commit
b06b893048
  1. 3
      ilives/book.inc

3
ilives/book.inc

@ -153,8 +153,11 @@ class IslandoraBook {
}
$new_item->add_relationship('hasModel', $form_values['content_model_pid'], FEDORA_MODEL_URI);
$new_item->add_relationship(!empty($form_values['relationship']) ? $form_values['relationship'] : 'isMemberOfCollection', $form_values['collection_pid']);
drupal_set_message(t("Item !pid created successfully.", array('!pid' => l($new_item->pid, 'fedora/repository/'. $new_item->pid))), "status");
}
public function buildAddPagesForm($form = array()) {
}

Loading…
Cancel
Save