X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Ffield%2Ffield.api.php;h=5115e42b39b3750a6d1d02bfdc4bf67d3b2ad7ba;hb=5b8bb166bfa98770daef9de5c127fc2e6ef02340;hp=40b42e1dee34e1b3d342d71bb051780076976224;hpb=af6d1fb995500ae68849458ee10d66abbdcfb252;p=yaffs-website diff --git a/web/core/modules/field/field.api.php b/web/core/modules/field/field.api.php index 40b42e1de..5115e42b3 100644 --- a/web/core/modules/field/field.api.php +++ b/web/core/modules/field/field.api.php @@ -43,7 +43,6 @@ * @see plugin_api */ - /** * Perform alterations on Field API field types. * @@ -293,7 +292,7 @@ function hook_field_widget_multivalue_WIDGET_TYPE_form_alter(array &$elements, \ // 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';