You are here

constant FIELDBLOCK_STORAGE_STATIC in Field as Block 7

@file Allow fields to be rendered in blocks.

2 uses of FIELDBLOCK_STORAGE_STATIC
fieldblock_block_view in ./fieldblock.module
Implements hook_block_view(). Retrieves a field, identified by the block delta, from the static cache.
fieldblock_entity_view_alter in ./fieldblock.module
Implements hook_entity_view_alter(). Stores fields attached to the current entity in a static cache, to be retrieved in fieldblock_block_view, and hides the field from the renderable array.

File

./fieldblock.module, line 8
Allow fields to be rendered in blocks.

Code

define('FIELDBLOCK_STORAGE_STATIC', 'fieldblock_storage');