You are here

varbase_editor.features.inc in Varbase Editor 7.3

File

varbase_editor.features.inc
View source
<?php

/**
 * @file
 * varbase_editor.features.inc
 */

/**
 * Implements hook_ctools_plugin_api().
 */
function varbase_editor_ctools_plugin_api($module = NULL, $api = NULL) {
  if ($module == "ds" && $api == "ds") {
    return array(
      "version" => "1",
    );
  }
  if ($module == "field_group" && $api == "field_group") {
    return array(
      "version" => "1",
    );
  }
  if ($module == "file_entity" && $api == "file_default_displays") {
    return array(
      "version" => "1",
    );
  }
  if ($module == "linkit" && $api == "linkit_profiles") {
    return array(
      "version" => "1",
    );
  }
  if ($module == "strongarm" && $api == "strongarm") {
    return array(
      "version" => "1",
    );
  }
}

/**
 * Implements hook_image_default_styles().
 */
function varbase_editor_image_default_styles() {
  $styles = array();

  // Exported image style: varbase_wysiwyg_image.
  $styles['varbase_wysiwyg_image'] = array(
    'label' => 'WYSIWYG Image',
    'effects' => array(
      1 => array(
        'name' => 'image_scale',
        'data' => array(
          'width' => 1140,
          'height' => '',
          'upscale' => 0,
        ),
        'weight' => 1,
      ),
    ),
  );
  return $styles;
}