You are here

function ad_eck_entity_type_info in Advertisement 7.3

Implements hook_eck_entity_type_info().

File

./ad.features.inc, line 38
ad.features.inc

Code

function ad_eck_entity_type_info() {
  $items = array(
    'tracked_event' => array(
      'name' => 'tracked_event',
      'label' => 'Tracked Event',
      'properties' => array(
        'uid' => array(
          'label' => 'Author',
          'type' => 'integer',
          'behavior' => 'author',
        ),
        'created' => array(
          'label' => 'Created',
          'type' => 'integer',
          'behavior' => 'created',
        ),
        'ad' => array(
          'label' => 'ad',
          'type' => 'integer',
          'behavior' => '',
        ),
        'ip_address' => array(
          'label' => 'IP address',
          'type' => 'text',
          'behavior' => '',
        ),
        'user_agent' => array(
          'label' => 'User Agent',
          'type' => 'text',
          'behavior' => '',
        ),
        'url' => array(
          'label' => 'URL',
          'type' => 'text',
          'behavior' => '',
        ),
        'page_title' => array(
          'label' => 'Page Title',
          'type' => 'text',
          'behavior' => '',
        ),
        'referrer' => array(
          'label' => 'Referrer',
          'type' => 'text',
          'behavior' => '',
        ),
        'page_unique_id' => array(
          'label' => 'Page Unique ID',
          'type' => 'text',
          'behavior' => '',
        ),
        'session' => array(
          'label' => 'Session',
          'type' => 'text',
          'behavior' => '',
        ),
        'unique_id' => array(
          'label' => 'Unique ID',
          'type' => 'text',
          'behavior' => '',
        ),
        'parent_unique_id' => array(
          'label' => 'Parent Unique ID',
          'type' => 'text',
          'behavior' => '',
        ),
      ),
    ),
  );
  return $items;
}