diff options
author | David Rothstein <drothstein@gmail.com> | 2015-03-30 22:03:05 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2015-03-30 22:03:05 -0400 |
commit | b1001811d95d5b4dc7ca4916fc74f773106ac9f0 (patch) | |
tree | 64db0c9284d8aa24e1b357646e00967fc28ad50b /modules/block | |
parent | 3329a70175eb772ee89568ec3423572e48012518 (diff) | |
download | brdo-b1001811d95d5b4dc7ca4916fc74f773106ac9f0.tar.gz brdo-b1001811d95d5b4dc7ca4916fc74f773106ac9f0.tar.bz2 |
Issue #2432619 by vbouchet, jhodgdon, joachim: block_load() should state it's not suitable for general consumption
Diffstat (limited to 'modules/block')
-rw-r--r-- | modules/block/block.module | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/block/block.module b/modules/block/block.module index 0cda4e239..48c80d766 100644 --- a/modules/block/block.module +++ b/modules/block/block.module @@ -692,6 +692,9 @@ function block_list($region) { /** * Loads a block object from the database. * + * This function returns the first block matching the module and delta + * parameters, so it should not be used for theme-specific functionality. + * * @param $module * Name of the module that implements the block to load. * @param $delta |