
Update commons modules to release 7.12, and move the codebase under modules/commons instead of constant fetching from remote repository. The commons.make file removed so it is not required to rebuild groups distribution. Change-Id: I3be393ba1af34427e2915b18ab1ad718fd4e54db
32 lines
668 B
PHP
32 lines
668 B
PHP
<?php
|
|
/**
|
|
* @file
|
|
* commons_pages.features.inc
|
|
*/
|
|
|
|
/**
|
|
* Implements hook_ctools_plugin_api().
|
|
*/
|
|
function commons_pages_ctools_plugin_api($module = NULL, $api = NULL) {
|
|
if ($module == "strongarm" && $api == "strongarm") {
|
|
return array("version" => "1");
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Implements hook_node_info().
|
|
*/
|
|
function commons_pages_node_info() {
|
|
$items = array(
|
|
'page' => array(
|
|
'name' => t('Page'),
|
|
'base' => 'node_content',
|
|
'description' => t('Use <em>basic pages</em> for your static content, such as an \'About us\' page.'),
|
|
'has_title' => '1',
|
|
'title_label' => t('Title'),
|
|
'help' => '',
|
|
),
|
|
);
|
|
return $items;
|
|
}
|