Revision b3b63fc8
Added by Andreas Kohlbecker over 7 years ago
modules/cdm_dataportal/cdm_api/cdm_api.module | ||
---|---|---|
1421 | 1421 |
* An optional call back function which can be used to modify the term label |
1422 | 1422 |
* @param bool $default_option |
1423 | 1423 |
* An additional element do be placed at the beginning og the list. This element will be the default option. |
1424 |
* In order to put an empty element the begining of the options pass an " " as argument. |
|
1424 |
* In order to put an empty element the beginning of the options pass an " " as argument.
|
|
1425 | 1425 |
* @param array $include_filter |
1426 | 1426 |
* An associative array consisting of a field name an regular expression. All term matching |
1427 | 1427 |
* these filter are included. The value of the field is converted to a String by var_export() |
... | ... | |
1539 | 1539 |
* @see http://drupal.org/node/1354 |
1540 | 1540 |
*/ |
1541 | 1541 |
function cdm_rankVocabulary_as_option() { |
1542 |
$options = cdm_vocabulary_as_option(UUID_RANK, NULL, "");
|
|
1542 |
$options = cdm_vocabulary_as_option(UUID_RANK, NULL, false);
|
|
1543 | 1543 |
return $options; |
1544 | 1544 |
} |
1545 | 1545 |
|
Also available in: Unified diff
HOTFIX for 4.3.0