function _ad_installed_instances in Advertisement 7
2 calls to _ad_installed_instances()
- ad_install in ./
ad.install - Implements hook_install().
- ad_uninstall in ./
ad.install - Allow complete uninstallation of the ad module.
File
- ./
ad.install, line 390 - Advertisement module database schema.
Code
function _ad_installed_instances() {
$t = get_t();
return array(
'field_ad_group' => array(
'label' => $t('Ad group'),
'widget' => array(
'weight' => '-3',
'type' => 'options_select',
'module' => 'options',
'active' => 1,
'settings' => array(),
),
'settings' => array(
'user_register_form' => FALSE,
),
'display' => array(
'default' => array(
'label' => 'above',
'type' => 'taxonomy_term_reference_link',
'settings' => array(),
'module' => 'taxonomy',
'weight' => 1,
),
'teaser' => array(
'type' => 'hidden',
'label' => 'above',
'settings' => array(),
'weight' => 0,
),
),
'required' => 0,
'description' => '',
'default_value' => NULL,
'field_name' => 'field_ad_group',
'entity_type' => 'node',
'bundle' => 'ad',
),
);
}