Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
bd3fa059
Commit
bd3fa059
authored
Feb 28, 2014
by
Nathaniel Catchpole
Browse files
Issue
#2204141
by sun: Remove deprecated drupal_parse_info_file().
parent
6aab2901
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/includes/common.inc
View file @
bd3fa059
...
...
@@ -4862,24 +4862,6 @@ function element_set_attributes(array &$element, array $map) {
Element
::
setAttributes
(
$element
,
$map
);
}
/**
* Parses Drupal module and theme .info.yml files.
*
* @param string $filename
* The file we are parsing. Accepts file with relative or absolute path.
*
* @return array
* The info array.
*
* @see \Drupal\Core\Extension\InfoParser::parse().
*
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.
* Use \Drupal::service('info_parser')->parse().
*/
function
drupal_parse_info_file
(
$filename
)
{
return
\
Drupal
::
service
(
'info_parser'
)
->
parse
(
$filename
);
}
/**
* Returns a list of severity levels, as defined in RFC 3164.
*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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