commons_pages.module in Drupal Commons 7.3
File
modules/commons/commons_pages/commons_pages.moduleView source
<?php
/**
* @file
* Code for the Commons Pages feature.
*/
include_once 'commons_pages.features.inc';
/**
* Implements hook_strongarm_alter().
*/
function commons_pages_strongarm_alter(&$items) {
// Expose the Page content type for integration with Commons Groups.
if (isset($items['commons_groups_entity_types'])) {
$items['commons_groups_entity_types']->value['node']['page'] = 1;
}
}
Functions
Name![]() |
Description |
---|---|
commons_pages_strongarm_alter | Implements hook_strongarm_alter(). |