diff --git a/core/lib/Drupal/Core/Form/FormStateInterface.php b/core/lib/Drupal/Core/Form/FormStateInterface.php index 26485a0..6c6a979 100644 --- a/core/lib/Drupal/Core/Form/FormStateInterface.php +++ b/core/lib/Drupal/Core/Form/FormStateInterface.php @@ -192,7 +192,7 @@ public function &getStorage(); public function &get($property); /** - * Sets a value to an arbitrary property. + * Sets value to an arbitrary property and saves it to the form state storage. * * @param string|array $property * Properties are often stored as multi-dimensional associative arrays. If @@ -204,6 +204,8 @@ public function &get($property); * The value to set. * * @return $this + * + * @see \Drupal\Core\Form\FormStateInterface::getStorage() */ public function set($property, $value);