You are here

function commons_answers_og_features_registry in Drupal Commons 6.2

Implementation of hook_og_features_registry()

File

modules/features/commons_answers/commons_answers.module, line 109

Code

function commons_answers_og_features_registry() {
  $registry = array();

  // Feature: commons_answers
  $feature = new stdClass();
  $feature->id = 'commons_answers';
  $feature->name = t('Commons Answers');
  $feature->description = t('Enable your group members to create Questions and answers');
  $feature->components = array(
    'node' => array(
      'question',
    ),
  );
  $registry[$feature->id] = $feature;
  return $registry;
}