diff core/modules/field/field.api.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 af1871eacc83
line wrap: on
line diff
--- a/core/modules/field/field.api.php	Tue Jul 10 15:07:59 2018 +0100
+++ b/core/modules/field/field.api.php	Thu Feb 28 13:21:36 2019 +0000
@@ -43,7 +43,6 @@
  * @see plugin_api
  */
 
-
 /**
  * Perform alterations on Field API field types.
  *
@@ -293,7 +292,7 @@
   // Code here will only act on widgets of type WIDGET_TYPE. For example,
   // hook_field_widget_multivalue_mymodule_autocomplete_form_alter() will only
   // act on widgets of type 'mymodule_autocomplete'.
-  // Change the autcomplete route for each autocomplete element within the
+  // Change the autocomplete route for each autocomplete element within the
   // multivalue widget.
   foreach (Element::children($elements) as $delta => $element) {
     $elements[$delta]['#autocomplete_route_name'] = 'mymodule.autocomplete_route';