You are here

function entity_block_target_entity_id_form_callback in Entity Blocks 7

AJAX callback to render the target_entity_id field.

Return value

array A renderable array representing the target_entity_id field.

1 string reference to 'entity_block_target_entity_id_form_callback'
entity_block_form in ./entity_block.module
Returns the form for adding an entity block.

File

./entity_block.module, line 380
Display entities (via view modes) as fieldable blocks.

Code

function entity_block_target_entity_id_form_callback($form, $form_state) {
  return $form['target_entity_id'];
}