The default implementation raises the [[EVENT_BEFORE_DELETE]] event.
When overriding this method, make sure you call the parent implementation like the following:
php
public function beforeDelete()
{
if (parent::beforeDelete()) {
...custom code here...
return true;
} else {
return false;
}
}