diff --git a/core/lib/Drupal/Core/Form/FormInterface.php b/core/lib/Drupal/Core/Form/FormInterface.php index 2cafbebfa0285d30bb1da8ec60ad5ec1eeb313b7..4754a9a25ae9382d7a68bc0ddd4c3d1d37ab6f12 100644 --- a/core/lib/Drupal/Core/Form/FormInterface.php +++ b/core/lib/Drupal/Core/Form/FormInterface.php @@ -12,6 +12,10 @@ interface FormInterface { /** * Returns a unique string identifying the form. * + * The returned ID should be a unique string that can be a valid PHP function + * name, since it's used in hook implementation names such as + * hook_form_FORM_ID_alter(). + * * @return string * The unique string identifying the form. */