entity_barcode

Categories

Component ID

1087328

Component name

entity_barcode

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

The Entity Barcode module provides the ability to CREATE a Barcode for Entities

Dependencies:

Installation:

  1. Download http://drupal.org/project/barcode module and follow install procedure
  2. Download http://drupal.org/project/entity_barcode
  3. Extract the source folder entity_barcode to sites/all/modules
  4. Navigate to admin -> modules and enable Entity Barcode module

What it can do:

http://drupal.org/project/entity_barcode Entity Barcode can either be:

  1. Generate a Barcode for Entity Type/Id
  2. Scan a Barcode Image (made by http://drupal.org/project/entity_barcode)

1: Generate a Barcode:

  • At the call of a function entity_barcode_generate($eid, $type)
  • This function can be called from anywhere
  • Will generate a barcode based on the Entity ID/Type
  • Will create a relation between the barcode and the Entity ID/Type

2: Scan a Barcode Image

  • At the call of a function entity_barcode_get_entity($barnumber)
  • This function can be called from anywhere
  • Will return an array('eid', 'type', if(error) 'error')