1.20.x 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
File
- modules/
field/ field.block.inc, line 294
Class
- FieldBlock
- FieldBlock extends Block
Code
function getChildren() {
return field_get_block_list();
}