You are here

commons_pages.module in Drupal Commons 7.3

File

modules/commons/commons_pages/commons_pages.module
View 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

Namesort descending Description
commons_pages_strongarm_alter Implements hook_strongarm_alter().