comparison core/modules/datetime/tests/src/Functional/DateTestBase.php @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
3:307d7a7fd348 4:a9cd425dd02b
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,