You are here

function _ad_image_installed_fields in Advertisement 7

2 calls to _ad_image_installed_fields()
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 157
Ad_image module database schema.

Code

function _ad_image_installed_fields() {
  return array(
    'field_ad_image' => array(
      'translatable' => '0',
      'entity_types' => array(),
      'settings' => array(
        'uri_scheme' => 'public',
        'default_image' => 0,
      ),
      'indexes' => array(
        'fid' => array(
          0 => 'fid',
        ),
      ),
      'field_name' => 'field_ad_image',
      'type' => 'image',
      'module' => 'image',
      'active' => '1',
      'locked' => '0',
      'cardinality' => 1,
    ),
  );
}