function brightcove_field_get_value in Brightcove Video Connect 7.2
Same name and namespace in other branches
- 7.7 brightcove.module \brightcove_field_get_value()
- 7.3 brightcove_field/brightcove_field.module \brightcove_field_get_value()
- 7.4 brightcove_field/brightcove_field.module \brightcove_field_get_value()
- 7.5 brightcove_field/brightcove_field.module \brightcove_field_get_value()
- 7.6 brightcove.module \brightcove_field_get_value()
2 calls to brightcove_field_get_value()
- brightcove_field_player in brightcove_field/
brightcove_field.module - Callback for brightcove_field_player - checks access to the field and prints a player for Lightbox2.
- theme_brightcove_field_formatter_default in brightcove_field/
brightcove_field.formatters.inc - Theme callback for Brightcove field formatter. Returns an embedded player with default site player.
File
- brightcove_field/
brightcove_field.module, line 1644 - Brightcove field module provides a Content Construction Kit module to developers, allowing them to browse videos in their Brightcove Studio and upload them.
Code
function brightcove_field_get_value($instance, $stored) {
if ($stored) {
return $stored;
}
if (!empty($instance['settings'][$value])) {
$instance['settings'][$value];
}
return NULL;
}