You are here

public function EntityReferenceInstanceBehaviorExample::settingsForm in Entity reference 7

Generate a settings form for this handler.

Overrides EntityReference_BehaviorHandler_Abstract::settingsForm

File

examples/entityreference_behavior_example/plugins/behavior/EntityReferenceInstanceBehaviorExample.class.php, line 24

Class

EntityReferenceInstanceBehaviorExample

Code

public function settingsForm($field, $instance) {
  $form['test_instance'] = array(
    '#type' => 'checkbox',
    '#title' => t('Instance behavior setting'),
  );
  return $form;
}