Is this you are looking for ?https://drupal.org/node/1436186
$bean = bean_c...

Contribution Date
Technology
Contribution Project
Contribution Details

Is this you are looking for ?
https://drupal.org/node/1436186

$bean = bean_create(array('type' => 'my_bean_type')); $bean->label = 'Administrative Label'; $bean->title = 'Bean Title'; $bean->delta = 'bean-machine-name'; $bean->field_block_content = array( 'en' => array(array( 'value' => '

Text

', 'format' => 'wysiwyg_editor', )), ); $bean->save();
Contribution Author
Files count
0
Patches count
0