-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathasc_people.features.inc
61 lines (57 loc) · 1.28 KB
/
asc_people.features.inc
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
60
61
<?php
/**
* @file
* asc_people.features.inc
*/
/**
* Implements hook_block_class_features_default_class().
*/
function asc_people_block_class_features_default_class() {
return array(
0 => array(
'module' => 'views',
'delta' => 'asc_people-people_block_large',
'css_classes' => 'feature-whole',
),
1 => array(
'module' => 'views',
'delta' => 'asc_people-people_block_small',
'css_classes' => 'feature-half',
),
);
}
/**
* Implements hook_ctools_plugin_api().
*/
function asc_people_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 asc_people_views_api() {
return array("api" => "3.0");
}
/**
* Implements hook_node_info().
*/
function asc_people_node_info() {
$items = array(
'asc_people' => array(
'name' => t('Person'),
'base' => 'node_content',
'description' => t('People in your organization.'),
'has_title' => '1',
'title_label' => t('Last Name'),
'help' => '',
),
);
return $items;
}