You are here

function _answers_question_installed_instances in Answers 7.4

Returns a structured array.

Defining the field instances for the answer content type.

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

File

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

Code

function _answers_question_installed_instances() {
  return array(
    'question_locks' => array(
      'field_name' => 'question_locks',
      'label' => t('Locked'),
      'display' => array(
        'default' => array(
          'label' => 'hidden',
          'type' => 'hidden',
        ),
      ),
    ),
  );
}