function _ad_image_installed_instances in Advertisement 7
2 calls to _ad_image_installed_instances()
- ad_image_install in image/
ad_image.install - Implements hook_install().
- ad_image_uninstall in image/
ad_image.install - Implements hook_uninstall().
File
- image/
ad_image.install, line 181 - Ad_image module database schema.
Code
function _ad_image_installed_instances() {
$t = get_t();
return array(
'field_ad_image' => array(
'label' => $t('Advertisement image'),
'widget' => array(
'weight' => '-4',
'type' => 'image_image',
'module' => 'image',
'active' => 1,
'settings' => array(
'progress_indicator' => 'throbber',
'preview_image_style' => 'thumbnail',
),
),
'settings' => array(
'file_directory' => '',
'file_extensions' => 'png gif jpg jpeg',
'max_filesize' => '',
'max_resolution' => '',
'min_resolution' => '',
'alt_field' => 0,
'title_field' => 0,
'default_image' => 0,
'user_register_form' => FALSE,
),
'display' => array(
'default' => array(
'label' => 'hidden',
'type' => 'image',
'weight' => '0',
'settings' => array(
'image_style' => '',
'image_link' => '',
),
'module' => 'image',
),
'teaser' => array(
'label' => 'hidden',
'type' => 'hidden',
'weight' => '0',
'settings' => array(),
),
),
'required' => 0,
'description' => '',
'field_name' => 'field_ad_image',
'entity_type' => 'node',
'bundle' => 'ad',
),
);
}