openpublic_services.features.inc in OpenPublic 7
File
modules/apps/openpublic_services/openpublic_services.features.inc
View source
<?php
function openpublic_services_ctools_plugin_api($module = NULL, $api = NULL) {
if ($module == "context" && $api == "context") {
return array(
"version" => "3",
);
}
if ($module == "strongarm" && $api == "strongarm") {
return array(
"version" => "1",
);
}
}
function openpublic_services_views_api($module = NULL, $api = NULL) {
return array(
"api" => "3.0",
);
}
function openpublic_services_node_info() {
$items = array(
'services' => array(
'name' => t('Services'),
'base' => 'node_content',
'description' => t('A description of a specific service that the organization or agency provides to site users (such as "tax preparation" or "grant programs").'),
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
);
drupal_alter('node_info', $items);
return $items;
}