Mercurial > hg > isophonics-drupal-site
comparison core/modules/datetime/tests/src/Functional/DateTestBase.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 1fec387a4317 |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
104 | 104 |
105 /** | 105 /** |
106 * Creates a date test field. | 106 * Creates a date test field. |
107 */ | 107 */ |
108 protected function createField() { | 108 protected function createField() { |
109 $field_name = Unicode::strtolower($this->randomMachineName()); | 109 $field_name = mb_strtolower($this->randomMachineName()); |
110 $field_label = Unicode::ucfirst(Unicode::strtolower($this->randomMachineName())); | 110 $field_label = Unicode::ucfirst(mb_strtolower($this->randomMachineName())); |
111 $type = $this->getTestFieldType(); | 111 $type = $this->getTestFieldType(); |
112 $widget_type = $formatter_type = $type . '_default'; | 112 $widget_type = $formatter_type = $type . '_default'; |
113 | 113 |
114 $this->fieldStorage = FieldStorageConfig::create([ | 114 $this->fieldStorage = FieldStorageConfig::create([ |
115 'field_name' => $field_name, | 115 'field_name' => $field_name, |