function commons_wikis_strongarm_alter in Drupal Commons 7.3
Implements hook_strongarm_alter().
File
- modules/
commons/ commons_wikis/ commons_wikis.module, line 137
Code
function commons_wikis_strongarm_alter(&$items) {
// Expose the wiki content type for integration with Commons Radioactivity
// and Commons Groups.
foreach (array(
'commons_radioactivity_entity_types',
'commons_groups_entity_types',
) as $key) {
if (isset($items[$key])) {
$items[$key]->value['node']['wiki'] = 1;
}
}
}