diff -u b/core/modules/field/lib/Drupal/field/Plugin/Type/Widget/WidgetBase.php b/core/modules/field/lib/Drupal/field/Plugin/Type/Widget/WidgetBase.php --- b/core/modules/field/lib/Drupal/field/Plugin/Type/Widget/WidgetBase.php +++ b/core/modules/field/lib/Drupal/field/Plugin/Type/Widget/WidgetBase.php @@ -49,16 +49,16 @@ * Constructs a WidgetBase object. * * @param array $plugin_id - * The plugin_id for the widget.. + * The plugin_id for the widget. * @param Drupal\Component\Plugin\Discovery\DiscoveryInterface $discovery * The Discovery class that holds access to the widget implementation * definition. * @param Drupal\field\FieldInstance $instance * The field instance to which the widget is associated. * @param array $settings - * The widget's settings. + * The widget settings. * @param int $weight - * The widget's weight. + * The widget weight. */ public function __construct($plugin_id, DiscoveryInterface $discovery, FieldInstance $instance, array $settings, $weight) { parent::__construct(array(), $plugin_id, $discovery); diff -u b/core/modules/field/lib/Drupal/field/Plugin/Type/Widget/WidgetPluginManager.php b/core/modules/field/lib/Drupal/field/Plugin/Type/Widget/WidgetPluginManager.php --- b/core/modules/field/lib/Drupal/field/Plugin/Type/Widget/WidgetPluginManager.php +++ b/core/modules/field/lib/Drupal/field/Plugin/Type/Widget/WidgetPluginManager.php @@ -50,7 +50,7 @@ } /** - * Clear cached definitions. + * Clears cached definitions. * * @todo Remove when http://drupal.org/node/1764232 is fixed. */