public function BeanCustom::revert in Bean (for Drupal 7) 7
Revert the bean type to code defaults.
File
- bean_admin_ui/
plugins/ BeanCustom.class.php, line 46 - Bean ctools plugin
Class
- BeanCustom
- DO NOT USE THIS BEAN. ONLY USED FOR THE UI PLUGINS
Code
public function revert() {
ctools_include('export');
ctools_export_crud_delete('bean_type', $this->type);
bean_reset();
}