original_string: protected function getFieldDepends($field)
      {
          if (!$field->dependsOn) {
              return '';
          }
  
          $dependsOn = is_array($field->dependsOn) ? $field->dependsOn : [$field->dependsOn];
          $dependsOn = htmlspecialchars(json_encode($dependsOn), ENT_QUOTES, 'UTF-8');
          return $dependsOn;
      }
code: protected function getFieldDepends($field)
      {
          if (!$field->dependsOn) {
              return '';
          }
  
          $dependsOn = is_array($field->dependsOn) ? $field->dependsOn : [$field->dependsOn];
          $dependsOn = htmlspecialchars(json_encode($dependsOn), ENT_QUOTES, 'UTF-8');
          return $dependsOn;
      }
code_tokens: protected function getFieldDepends ( $ field ) { if ( ! $ field -> dependsOn ) { return '' ; } $ dependsOn = is_array ( $ field -> dependsOn ) ? $ field -> dependsOn : [ $ field -> dependsOn ] ; $ dependsOn = htmlspecialchars ( json_encode ( $ dependsOn ) , ENT_QUOTES , 'UTF-8' ) ; return $ dependsOn ; }
docstring: Returns a HTML encoded value containing the other fields this
  field depends on
  @param  \Backend\Classes\FormField $field
  @return string
docstring_tokens: Returns a HTML encoded value containing the other fields this field depends on