You are here

flexslider_example.features.inc in Flex Slider 7.2

File

flexslider_example/flexslider_example.features.inc
View source
<?php

/**
 * @file
 * flexslider_example.features.inc
 */

/**
 * Implements hook_ctools_plugin_api().
 */
function flexslider_example_ctools_plugin_api() {
  list($module, $api) = func_get_args();
  if ($module == "context" && $api == "context") {
    return array(
      "version" => "3",
    );
  }
  list($module, $api) = func_get_args();
  if ($module == "flexslider" && $api == "flexslider_default_preset") {
    return array(
      "version" => "1",
    );
  }
  list($module, $api) = func_get_args();
  if ($module == "strongarm" && $api == "strongarm") {
    return array(
      "version" => "1",
    );
  }
}

/**
 * Implements hook_views_api().
 */
function flexslider_example_views_api() {
  return array(
    "version" => "3.0",
  );
}

/**
 * Implements hook_node_info().
 */
function flexslider_example_node_info() {
  $items = array(
    'flexslider_example' => array(
      'name' => t('FlexSlider Example'),
      'base' => 'node_content',
      'description' => t('Used for generating example FlexSlider implementations'),
      'has_title' => '1',
      'title_label' => t('Title'),
      'help' => '',
    ),
  );
  return $items;
}