Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291508

Replace 'textfield' with 'text' globally

$
0
0

This issue summary has been updated March 9, 2013

This issue began in 2009, following a discussion between David Straus and chx, chx asked for a global change of the word 'textfield' with the word 'text'. Apparently it is confusing because of the new field api, 'text field' has an entirely new meaning.

In order to do this CrashTest_ created a one-liner command run from the Drupal root which does the global replacement:
find -type f -exec sed -i 's/textfield/text/g' {} \;

The patch continually failed, and missed the roll-out date for Drupal 7. This issue has been brought back up for Drupal 8, and izus created a new patch in #52. droplet believes most of these patches have been generated using one-liner commands and feels that we need to be more specific.

Next step: A new patch needs to be created for D8 to correctly define this field, as textfield != text, and cannot be used as a code-wide replacement.


Viewing all articles
Browse latest Browse all 291508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>