X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrupal%2Fdrupal-extension%2Ffixtures%2Fdrupal8%2Fmodules%2Fbehat_test%2Fsrc%2FPlugin%2FField%2FFieldWidget%2FAddressFieldWidget.php;fp=vendor%2Fdrupal%2Fdrupal-extension%2Ffixtures%2Fdrupal8%2Fmodules%2Fbehat_test%2Fsrc%2FPlugin%2FField%2FFieldWidget%2FAddressFieldWidget.php;h=0000000000000000000000000000000000000000;hp=b780f573fd58a0ed82db600008cd6281be9d30b3;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/drupal/drupal-extension/fixtures/drupal8/modules/behat_test/src/Plugin/Field/FieldWidget/AddressFieldWidget.php b/vendor/drupal/drupal-extension/fixtures/drupal8/modules/behat_test/src/Plugin/Field/FieldWidget/AddressFieldWidget.php deleted file mode 100644 index b780f573f..000000000 --- a/vendor/drupal/drupal-extension/fixtures/drupal8/modules/behat_test/src/Plugin/Field/FieldWidget/AddressFieldWidget.php +++ /dev/null @@ -1,53 +0,0 @@ - 'details', '#open' => TRUE]; - - // Add in the textfields. - $columns = [ - 'country' => t('Country'), - 'locality' => t('Locality'), - 'thoroughfare' => t('Thoroughfare'), - 'postal_code' => t('Postal code'), - ]; - foreach ($columns as $key => $title) { - $element[$key] = [ - '#type' => 'textfield', - '#title' => $title, - '#default_value' => isset($items[$delta]->$key) ? $items[$delta]->$key : '', - ]; - } - - return $element; - } - -}