Skip to content
Snippets Groups Projects

Updated function param description

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -202,7 +202,7 @@ function maxlength_field_widget_single_element_form_alter(&$element, FormStateIn
* @param \Drupal\Core\Form\FormStateInterface $form_state
* The form state.
* @param array $context
* See hook_field_widget_form_alter().
* See hook_field_widget_single_element_form_alter().
*/
function _maxlength_field_widget_form_alter_link_field(array &$element, FormStateInterface $form_state, array $context): void {
if (!isset($element['title'])) {
Loading