skeeks\cms\models\CmsContentType::_actionBeforeDelete PHP 메소드

_actionBeforeDelete() 공개 메소드

public _actionBeforeDelete ( $e )
    public function _actionBeforeDelete($e)
    {
        if ($this->cmsContents) {
            throw new Exception(\Yii::t('skeeks/cms', "Before you delete this type of content you want to delete the contents invested in it"));
        }
    }