You are here

isotope_example_feature.features.inc in Views Isotope (Deprecated) 7

File

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

/**
 * @file
 * isotope_example_feature.features.inc
 */

/**
 * Implementation of hook_views_api().
 */
function isotope_example_feature_views_api() {
  list($module, $api) = func_get_args();
  if ($module == "views" && $api == "views_default") {
    return array(
      "version" => 3.0,
    );
  }
}

/**
 * Implementation of hook_node_info().
 */
function isotope_example_feature_node_info() {
  $items = array(
    'article' => array(
      'name' => t('Article'),
      'base' => 'node_content',
      'description' => t('Use <em>articles</em> for time-sensitive content like news, press releases or blog posts.'),
      'has_title' => '1',
      'title_label' => t('Title'),
      'help' => '',
    ),
  );
  return $items;
}

Functions