How to create a bean bundle programatically
With bean modules it's required that if you use "name" attribute  is the same name that the $plugins key.

In my case 

'name' =&gt; 'beanform'


The beast options is not use it, it's no a required attribute.

Oskar

my actual code:

  $plugins['beanform'] = array(
'name' =&gt; 'beanform',
'label' =&gt; t('Bean form'),
'description' =&gt; t('Choose a form to print into a bean'),
'handler' =&gt; array(
  'class' =&gt; 'BeanForm',
  'parent' =&gt; 'bean',
  'path' =&gt; $plugin_path,
  'file' =&gt; 'Beanorm.inc',
),
//   'path' =&gt; $plugin_path,
//   'file' =&gt; 'BeanForm.inc',
   'editable' =&gt; TRUE,
  );