1 field.block.inc FieldBlock::getChildren()

Creates an array of "child blocks" for display in the "Add Block" dialog.

This allows a single entry in hook_block_info() to provide multiple block instances displaying different fields.

Overrides Block::getChildren

See also

field_get_block_list()

File

core/modules/field/field.block.inc, line 294

Class

FieldBlock
FieldBlock extends Block

Code

function getChildren() {
  return field_get_block_list();
}