ion</strong> (<em>integer</em>) &#8211; the version to perform the optimistic locking check on</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">array an array with the fields &#8220;valid&#8221; and &#8220;errors&#8221;; valid provides a quick check whether the given entity passes the validation and errors is an array with all errored fields as keys and arrays as values; this field arrays contains the actual errors on the fi