You are here

public function BeanPlugin::form in Bean (for Drupal 7) 7

The Plugin Form

The Bean object will be either loaded from the database or filled with the defaults.

_state

Parameters

$bean:

$form:

Return value

array form array

Overrides BeanTypePluginInterface::form

1 method overrides BeanPlugin::form()
BeanTestPlugin::form in tests/bean_test.module
The Plugin Form

File

plugins/BeanPlugin.class.php, line 60
Base Plugin Class

Class

BeanPlugin
@file Base Plugin Class

Code

public function form($bean, $form, &$form_state) {
  return array();
}