materio_home_v2.features.inc 1010 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. /**
  3. * @file
  4. * materio_home_v2.features.inc
  5. */
  6. /**
  7. * Implements hook_ctools_plugin_api().
  8. */
  9. function materio_home_v2_ctools_plugin_api($module = NULL, $api = NULL) {
  10. if ($module == "page_manager" && $api == "pages_default") {
  11. return array("version" => "1");
  12. }
  13. if ($module == "panels_mini" && $api == "panels_default") {
  14. return array("version" => "1");
  15. }
  16. }
  17. /**
  18. * Implements hook_views_api().
  19. */
  20. function materio_home_v2_views_api($module = NULL, $api = NULL) {
  21. return array("api" => "3.0");
  22. }
  23. /**
  24. * Implements hook_image_default_styles().
  25. */
  26. function materio_home_v2_image_default_styles() {
  27. $styles = array();
  28. // Exported image style: publications-home.
  29. $styles['publications-home'] = array(
  30. 'label' => 'publications-home',
  31. 'effects' => array(
  32. 15 => array(
  33. 'name' => 'image_scale_and_crop',
  34. 'data' => array(
  35. 'width' => 210,
  36. 'height' => 295,
  37. ),
  38. 'weight' => 1,
  39. ),
  40. ),
  41. );
  42. return $styles;
  43. }