Newer
Older
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
<?php
/**
* @file
* gmap_test_extended.features.inc
*/
/**
* Implements hook_views_api().
*/
function gmap_test_extended_views_api() {
return array("version" => "3.0");
}
/**
* Implements hook_node_info().
*/
function gmap_test_extended_node_info() {
$items = array(
'gmap_person' => array(
'name' => t('GMapPerson'),
'base' => 'node_content',
'description' => t('Defines a \'person\', which has a refernce to a GMapLocation.
Thi si sused to thest the Gmap via referenced entities'),
'has_title' => '1',
'title_label' => t('Person name'),
'help' => '',
),
'gmapplace' => array(
'name' => t('GmapPlace'),
'base' => 'node_content',
'description' => t('A node type that contains locations, in 3 different field types:
- location
- geofield
- normal fields'),
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
);
return $items;
}