How to display the entity ID next to the title of an ECK entity I have an entity template that starts like this:

&lt;div class="&lt;?php print $classes; ?&gt;"&gt;
&lt;h1&gt;&lt;?php print $title; ?&gt;&lt;/h1&gt;
&lt;/div&gt;


But now I want to display the entity ID and the UUID next to the title.
&lt;?php print $entity_id; ?&gt; or &lt;?php print $entity_id; ?&gt; display nothing.

Do I need to preprocess something?
$title is an available variable in that entity template. So, yes if you need to pass entity ID and UUID then you will have to pass them via preprocess hook.