Points
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
Points module define a Point entity type. Site builders can add fields to reference this type of entity in order to implement financial or transnational type of applications.
This module tries to be the successor of Userpoints Module for Drupal 7. Contrary to the D7 version, In D8, Points can be attached to any entity type.
Configuration:
Because of the flexibility of this module, the site builder needs to attach a Point Type to an Entity Type, by using Entity Reference (core module). At the page of choosing Type of item to reference , please select the "Point" content entity type.
Update Points via Web Services or API
Points Module implements a state tracking mechanism to prevent a same Point Entity being updated by multiple threads/clients who are not aware of other potential updates. To use API or web services to update Point, you will need to set the state of the Point Entity instance to the exact number of Point at the time retrieved.
