summaryrefslogtreecommitdiff
path: root/features/calendario_feature/calendario_feature.features.inc
blob: 9ccc51a84914ca229f937336a6ea5552a76487a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
/**
 * @file
 * calendario_feature.features.inc
 */

/**
 * Implements hook_ctools_plugin_api().
 */
function calendario_feature_ctools_plugin_api() {
  list($module, $api) = func_get_args();
  if ($module == "field_group" && $api == "field_group") {
    return array("version" => "1");
  }
  list($module, $api) = func_get_args();
  if ($module == "strongarm" && $api == "strongarm") {
    return array("version" => "1");
  }
}

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

/**
 * Implements hook_node_info().
 */
function calendario_feature_node_info() {
  $items = array(
    'article' => array(
      'name' => t('Artigo'),
      'base' => 'node_content',
      'description' => t('Use <em>artigos</em> para conteúdo temporal como notícias, comunicados de imprensa e posts de blog.'),
      'has_title' => '1',
      'title_label' => t('Title'),
      'help' => '',
    ),
    'evento' => array(
      'name' => t('Evento'),
      'base' => 'node_content',
      'description' => t('Um evento a ser adicionado no calendário.'),
      'has_title' => '1',
      'title_label' => t('Título'),
      'help' => '',
    ),
    'page' => array(
      'name' => t('Página básica'),
      'base' => 'node_content',
      'description' => t('Use <em>páginas básicas</em> para seu conteúdo estático, como uma página \'Sobre nós\'.'),
      'has_title' => '1',
      'title_label' => t('Title'),
      'help' => '',
    ),
  );
  return $items;
}