Numeric Identified Entity

Component ID

1786222

Component name

Numeric Identified Entity

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module provides numeric validation of Entities in Drupal that use serial identifiers to load their entities. While most entities use this method for identifying their entities, Drupal core doesn't actually provide a validation mechanism to do this and instead, relies on the database to facilitate this (See #1003788: PostgreSQL: PDOException:Invalid text representation when attempting to load an entity with a string or non-scalar ID). This can lead to varied results.

This module fixes this issue by providing an alternate Entity Class to extend numeric identified entities from. It supports default core and entity cache.