ss="headerlink" href="#beforedelete" title="Permanent link">&para;</a></h4>
<p>BeforeDelete is called before any CMS Admin or 3rd-party client triggers a delete to 
the database. This could be done by clicking the 'Delete' button on a Content editor, 
or by a API call to Delete the Content item. By returning a non-nil <code>error</code> value,
the item will not be deleted.</p>
<div class="codehilite"><pre><span></span><span class="kd">func</span> <span class="p">(</span><span class="nx">p</span> <span class