title: Drupal Display Suite Code Field Issue: How to output Tokens, or PHP $entity inline
body: <p>I am attempting to get two fields to display inline.
  Specifically, I need the Locator, and the Body fields to display inline.</p>
  
  <p>My Locator simply states the location of a post in plain text.<br />
  i.e. "Duluth, MN - "</p>
  
  <p>My Body is the story.<br />
  i.e. "Are strange things happening in your house? Lights turning off and on by themselves? Or are you hearing voices in the basement?"</p>
  
  <p>I'm attempting to display them inline but am having the hardest time.<br />
  i.e. "Duluth, MN - Are strange things happening in your house? Lights turning off and on by themselves? Or are you hearing voices in the basement?"</p>
  
  <p>They need to be two separate fields for use in a Geo Locator.</p>
  
  <p>I use the Display Suite module, and from my web searches I have found that it is possible to use the custom Code Field option to pull the data by Token, or PHP $entity.</p>
  
  <p>I can get it working just fine with both Token, and PHP $entity, but cannot figure out how to get them to be inline?<br />
  i.e My Result is always:<br />
  "Duluth, MN - <br />
  Are strange things happening in your house? Lights turning off and on by themselves? Or are you hearing voices in the basement?"</p>
  
  <p>I'm sure I'm missing something easy, and/or just overlooking something.</p>
  
  <p>Here is the code I've used:</p>
  
  <p>Works! Tokens!</p>
  
  <pre><code>[node:field-locator] - [node:body]
  </code></pre>
  
  <p>Works! PHP!</p>
  
  <pre><code>&lt;?php print 
      $entity-&gt;field_locator['und'][0]['value']; 
  ?&gt;
  </code></pre>
  
  <p>Doesn't Work!? PHP!</p>
  
  <pre><code>&lt;?php print 
      $entity-&gt;field_locator['und'][0]['value'];
      " - ";
      $entity-&gt;body['und'][0]['value'];
  ?&gt;
  </code></pre>
  
  <p>Works! PHP!</p>
  
  <pre><code>&lt;?php print 
      $entity-&gt;field_locator['und'][0]['value'];
  ?&gt;
  
  &lt;?php print 
      " - ";
  ?&gt;
  
  &lt;?php print 
      $entity-&gt;body['und'][0]['value'];
  ?&gt;
  </code></pre>