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 CreditAttribution: 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) CreditAttribution: commentedAdd responsive preview issue reference