Problem/motivation
Config schema supports integers but not floating point numbers. See https://drupal.org/node/1905070 for the docs and fully type list. The responsive preview module (#1741498: Add a responsive preview bar to Drupal core) would need a floating point number expressed for dots per pixel which for a Google Nexus is 1.325 for example.
Proposed solution
Wire in support for floating point numbers. Should hopefully be easy with typed data already supporting this(?)
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | float-type-schema.patch | 557 bytes | gábor hojtsy |
Comments
Comment #1
gábor hojtsyComment #2
gábor hojtsyInitial patch.
Comment #3
vijaycs85Looks good to me...
Comment #4
dries commentedCommitted to 8.x.
Comment #5
wim leersGo team D8MI! :)
Comment #6
gábor hojtsyAdded new float support in the docs at https://drupal.org/node/1905070
Added this to the change notice at https://drupal.org/node/1905120
Comment #7.0
(not verified) commentedAdd responsive preview issue reference