You are here

function _filebrowser_set_default in Filebrowser 8

Same name and namespace in other branches
  1. 7.4 filebrowser.helpers.inc \_filebrowser_set_default()
  2. 7.2 filebrowser.helpers.inc \_filebrowser_set_default()
  3. 7.3 filebrowser.helpers.inc \_filebrowser_set_default()
1 call to _filebrowser_set_default()
_filebrowser_prepare_record in ./filebrowser.common.inc
Prepare node record to be used. This is mainly about default stuff.

File

./filebrowser.helpers.inc, line 90
Misc helper functions.

Code

function _filebrowser_set_default(&$field, $value) {
  if (!isset($field)) {
    $field = $value;
  }
}