Project

General

Profile

« Previous | Next » 

Revision 89aa0117

Added by Andreas Kohlbecker almost 3 years ago

ref #9659 field 'glue' removed from admin pages

View differences:

modules/cdm_dataportal/ext_links/ext_links.module
207 207
 *     otherwise, a new external link will be created.
208 208
 *   - title: The link title
209 209
 *   - link: The link url template.
210
 *   - glue: The string to concatenate name parts in the URL query string.
211 210
 *   - status: (optional) An integer indicating whether the ext link is
212 211
 *     enabled (1) or not (0). Defaults to 1.
213 212
 *   - weight: (optional) The weight of the external link, which controls its
......
235 234
      'id' => $link_template->id,
236 235
      'title' => $link_template->title,
237 236
      'link' => $link_template->link,
238
      'glue' => $link_template->glue,
239 237
      'status' => (int) $link_template->status,
240 238
      'weight' => (int) $link_template->weight,
241 239
    ))
......
294 292
function ext_links_block_info() {
295 293
  if (TRUE) {
296 294
    $block[0]["info"] = t("CDM - External Links");
295
    $block[0]["visibility"] = BLOCK_VISIBILITY_LISTED;
296
    $block[0]["pages"] = "cdm_dataportal/taxon/*\ncdm_dataportal/name/*";
297 297
    return $block;
298 298
  }
299 299
}

Also available in: Unified diff