You are here

function bean_delete in Bean (for Drupal 7) 7

Deletes an existing bean.

Parameters

$bean: The message object to be bean.

2 calls to bean_delete()
BeanTests::testBeanAPI in tests/BeanTests.test
Test the bean API.
bean_services_delete in ./bean.services.inc
Delete a bean.

File

./bean.module, line 812
Block Entity

Code

function bean_delete(Bean $bean) {
  return $bean
    ->delete();
}