function ffc_condition_execute_hide_no_string in Field formatter conditions 7
Hide the source field when target field does not contain a string.
File
- ./ffc.module, line 162 
- Field formatter conditions.
Code
function ffc_condition_execute_hide_no_string(&$build, $source, $configuration, $context = NULL) {
  $found = _target_string_search($build, $configuration, $context);
  if ($found == FALSE) {
    $build[$source]['#access'] = FALSE;
  }
}