first import

This commit is contained in:
Bachir Soussi Chiadmi
2015-04-08 11:40:19 +02:00
commit 1bc61b12ad
8435 changed files with 1582817 additions and 0 deletions
@@ -0,0 +1,76 @@
<?php
/**
* @file
* debut_media.features.inc
*/
/**
* Implementation of hook_ctools_plugin_api().
*/
function debut_media_ctools_plugin_api() {
list($module, $api) = func_get_args();
if ($module == "context" && $api == "context") {
return array("version" => "3");
}
}
/**
* Implementation of hook_views_api().
*/
function debut_media_views_api() {
return array(
'api' => 3,
);
}
/**
* Implementation of hook_image_default_styles().
*/
function debut_media_image_default_styles() {
$styles = array();
// Exported image style: medium_large
$styles['medium_large'] = array(
'name' => 'medium_large',
'effects' => array(
2 => array(
'label' => 'Scale',
'help' => 'Scaling will maintain the aspect-ratio of the original image. If only a single dimension is specified, the other dimension will be calculated.',
'effect callback' => 'image_scale_effect',
'form callback' => 'image_scale_form',
'summary theme' => 'image_scale_summary',
'module' => 'image',
'name' => 'image_scale',
'data' => array(
'width' => '360',
'height' => '',
'upscale' => 0,
),
'weight' => '1',
),
),
);
// Exported image style: small_square_thumbnail
$styles['small_square_thumbnail'] = array(
'name' => 'small_square_thumbnail',
'effects' => array(
3 => array(
'label' => 'Scale and crop',
'help' => 'Scale and crop will maintain the aspect-ratio of the original image, then crop the larger dimension. This is most useful for creating perfectly square thumbnails without stretching the image.',
'effect callback' => 'image_scale_and_crop_effect',
'form callback' => 'image_resize_form',
'summary theme' => 'image_resize_summary',
'module' => 'image',
'name' => 'image_scale_and_crop',
'data' => array(
'width' => '100',
'height' => '100',
),
'weight' => '1',
),
),
);
return $styles;
}