You are here

function angular_media_cropRatios in CKEditor Widgets 7

Verifies the token for this request.

2 calls to angular_media_cropRatios()
angular_media_admin_form in includes/angular_media.admin.inc
angular_media_field_widget_settings_form in includes/angular_media.field.inc
Implements hook_field_widget_settings_form().
1 string reference to 'angular_media_cropRatios'
angular_media_admin_form in includes/angular_media.admin.inc

File

./angular_media.module, line 173
Implementation of angular_media.module.

Code

function angular_media_cropRatios() {
  return array(
    'free' => 'Freeform',
    '1/1' => '1:1 (Square)',
    '4/3' => '4:3 (Picture)',
    '16/9' => '16:9 (Widescreen)',
    'none' => 'No cropping',
  );
}