You are here

function bean_type_load in Bean (for Drupal 7) 7

Menu Argument Loader

2 calls to bean_type_load()
BeanInlineEntityFormController::entityForm in includes/bean.inline_entity_form.inc
Overrides EntityInlineEntityFormController::entityForm().
bean_add in includes/bean.pages.inc
Add bean page callback
1 string reference to 'bean_type_load'
bean_admin_ui_type_form in bean_admin_ui/bean_admin_ui.admin.inc
Generates the bean type editing form.

File

./bean.module, line 315
Block Entity

Code

function bean_type_load($type) {
  return bean_load_plugin_class(strtr($type, array(
    '-' => '_',
  )));
}