Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
c925507a
Commit
c925507a
authored
Sep 09, 2014
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2335189
by ashutoshsngh: Remove form.inc form_get_errors().
parent
04e4f03c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
core/includes/form.inc
core/includes/form.inc
+0
-12
No files found.
core/includes/form.inc
View file @
c925507a
...
@@ -84,18 +84,6 @@ function form_execute_handlers($type, &$form, FormStateInterface $form_state) {
...
@@ -84,18 +84,6 @@ function form_execute_handlers($type, &$form, FormStateInterface $form_state) {
}
}
}
}
/**
* Returns an associative array of all errors.
*
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.
* Use $form_state->getErrors().
*
* @see \Drupal\Core\Form\FormStateInterface::getErrors()
*/
function
form_get_errors
(
FormStateInterface
$form_state
)
{
return
$form_state
->
getErrors
();
}
/**
/**
* Flags an element as having an error.
* Flags an element as having an error.
*
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment