function node_gallery_relationship_operations in Node Gallery 6.3
Returns a list of operations available to a Gallery-to-Image relationship.
Return value
An array containing associative arrays with keys and values of titles and href links
1 call to node_gallery_relationship_operations()
- node_gallery_relationship_list in ./
node_gallery.admin.inc - Displays a list of all defined Gallery-to-Image relationships.
File
- ./
node_gallery.admin.inc, line 185
Code
function node_gallery_relationship_operations($rid) {
$items[] = array(
'title' => t('Change content types'),
'href' => 'admin/settings/node_gallery/relationship/content_types/' . $rid,
);
$items[] = array(
'title' => t('Change settings'),
'href' => 'admin/settings/node_gallery/relationship/settings/' . $rid,
);
$items[] = array(
'title' => t('Delete'),
'href' => 'admin/settings/node_gallery/delete/' . $rid,
);
return $items;
}