You are here

function sharedblocks_is_block_publishable in Shared Blocks 7.2

Check if a block is publishable.

2 calls to sharedblocks_is_block_publishable()
sharedblocks_publish_block_access in ./sharedblocks.module
Access callback for block public callback.
sharedblocks_publish_form in ./sharedblocks.admin.inc
From constructor for the publish blocks form.

File

./sharedblocks.publish.inc, line 19
Publish block page callbacks for the sharedblocks module.

Code

function sharedblocks_is_block_publishable($module, $delta, array $info) {
  return empty($info['no publish']);
}