You are here

function _ad_installed_fields in Advertisement 7

2 calls to _ad_installed_fields()
ad_install in ./ad.install
Implements hook_install().
ad_uninstall in ./ad.install
Allow complete uninstallation of the ad module.

File

./ad.install, line 355
Advertisement module database schema.

Code

function _ad_installed_fields() {
  return array(
    'field_ad_group' => array(
      'translatable' => '0',
      'entity_types' => array(),
      'settings' => array(
        'allowed_values' => array(
          0 => array(
            'vocabulary' => 'ad_group',
            'parent' => '0',
          ),
        ),
      ),
      'indexes' => array(
        'tid' => array(
          0 => 'tid',
        ),
      ),
      'field_name' => 'field_ad_group',
      'type' => 'taxonomy_term_reference',
      'module' => 'taxonomy',
      'active' => '1',
      'locked' => '0',
      'cardinality' => '-1',
      'columns' => array(
        'tid' => array(
          'type' => 'int',
          'unsigned' => TRUE,
          'not null' => FALSE,
        ),
      ),
    ),
  );
}