You are here

function _answers_answer_installed_instances in Answers 7.4

Returns a structured array.

Defining the field instances for the answer content type.

1 call to _answers_answer_installed_instances()
answers_install in ./answers.install
Implements hook_install().

File

./answers.install, line 208
Install, update, and uninstall functions for the answers module.

Code

function _answers_answer_installed_instances() {
  return array(
    'answers_related_question' => array(
      'field_name' => 'answers_related_question',
      'label' => t('Related !Question', answers_translation()),
      'display' => array(
        'default' => array(
          'label' => 'hidden',
          'type' => 'hidden',
        ),
      ),
    ),
  );
}