1.20.x block.class.inc | Block::getChildren() |
Allows 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.
Note that this function may return NULL or an empty array, which have different meanings. NULL means that a block does not provide children at all. An empty array means that a block may provide children, but that there are none currently.
return array|NULL
File
- modules/
layout/ includes/ block.class.inc, line 405 - A class that wraps around a block to store settings information.
Class
- Block
- @file A class that wraps around a block to store settings information.
Code
function getChildren() {
return NULL;
}