function brightcove_image_default_styles in Brightcove Video Connect 7.7
Same name and namespace in other branches
- 7.6 brightcove.module \brightcove_image_default_styles()
Implements hook_image_default_styles().
File
- ./
brightcove.module, line 1495 - Brightcove module is an integration layer between any modules using Brightcove API. It makes all necessary checks for the API and makes settings available to the user.
Code
function brightcove_image_default_styles() {
$styles = [];
$styles['brightcove_browser'] = [
'effects' => [
[
'name' => 'image_scale_and_crop',
'data' => [
'width' => 120,
'height' => 120,
],
'weight' => 0,
],
],
];
return $styles;
}