-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlullablog.features.inc
40 lines (36 loc) · 958 Bytes
/
lullablog.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
<?php
/**
* @file
* lullablog.features.inc
*/
/**
* Implements hook_ctools_plugin_api().
*/
function lullablog_ctools_plugin_api($module = NULL, $api = NULL) {
if ($module == "strongarm" && $api == "strongarm") {
return array("version" => "1");
}
}
/**
* Implements hook_views_api().
*/
function lullablog_views_api($module = NULL, $api = NULL) {
return array("api" => "3.0");
}
/**
* Implements hook_node_info().
*/
function lullablog_node_info() {
$items = array(
'lullablog' => array(
'name' => t('Blog'),
'base' => 'node_content',
'description' => t('Blog is a made up word that is both a verb and a noun. Tread carefully. It\'s almost as ambiguous as the word \'Feature\' in the context of Drupal. Oops, and I just said \'Context\' which also is loaded.'),
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
);
drupal_alter('node_info', $items);
return $items;
}