function featured_content_get_value in Featured Content 6
Same name and namespace in other branches
- 6.2 featured_content.module \featured_content_get_value()
- 7.2 featured_content.module \featured_content_get_value()
- 7 featured_content.module \featured_content_get_value()
Get the value if set, otherwise get default.
3 calls to featured_content_get_value()
- featured_content_configure in ./
featured_content.admin.inc - Returns 'configure' info for hook_block(). This is the featured block form.
- featured_content_format_title in ./
featured_content.admin.inc - Format block title based on configuration.
- featured_content_get_block_data in ./
featured_content.module - Get the block data for the given $delta.
File
- ./
featured_content.module, line 1023 - Featured Content module for created related & featured content blocks.
Code
function featured_content_get_value($value, $default) {
return isset($value) ? $value : $default;
}