Mercurial > hg > isophonics-drupal-site
diff core/modules/field/field.api.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children | 1fec387a4317 |
line wrap: on
line diff
--- a/core/modules/field/field.api.php Fri Feb 23 15:51:18 2018 +0000 +++ b/core/modules/field/field.api.php Fri Feb 23 15:52:07 2018 +0000 @@ -138,7 +138,8 @@ * Alter forms for field widgets provided by other modules. * * @param $element - * The field widget form element as constructed by hook_field_widget_form(). + * The field widget form element as constructed by + * \Drupal\Core\Field\WidgetBaseInterface::form(). * @param $form_state * The current state of the form. * @param $context @@ -152,6 +153,7 @@ * - default: A boolean indicating whether the form is being shown as a dummy * form to set default values. * + * @see \Drupal\Core\Field\WidgetBaseInterface::form() * @see \Drupal\Core\Field\WidgetBase::formSingleElement() * @see hook_field_widget_WIDGET_TYPE_form_alter() */ @@ -172,13 +174,15 @@ * checking the widget type. * * @param $element - * The field widget form element as constructed by hook_field_widget_form(). + * The field widget form element as constructed by + * \Drupal\Core\Field\WidgetBaseInterface::form(). * @param $form_state * The current state of the form. * @param $context * An associative array. See hook_field_widget_form_alter() for the structure * and content of the array. * + * @see \Drupal\Core\Field\WidgetBaseInterface::form() * @see \Drupal\Core\Field\WidgetBase::formSingleElement() * @see hook_field_widget_form_alter() */