public function EntityReferenceFieldBehaviorExample::settingsForm in Entity reference 7
Generate a settings form for this handler.
Overrides EntityReference_BehaviorHandler_Abstract::settingsForm
File
- examples/
entityreference_behavior_example/ plugins/ behavior/ EntityReferenceFieldBehaviorExample.class.php, line 24
Class
Code
public function settingsForm($field, $instance) {
$form['test_field'] = array(
'#type' => 'checkbox',
'#title' => t('Field behavior setting'),
);
return $form;
}