summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxjm2017-11-03 16:29:30 -0500
committerxjm2017-11-03 16:29:30 -0500
commitd0e379699193d7eec5381aaaf17bbad07391465a (patch)
tree09ab4f4bb276d965056eb52f090645f3e90a406f
parent355462ba34581495e7c9fd1489c41be42a10e780 (diff)
Issue #2920018 by sergiuteaca, billywardrop, anyaabchiche, Janec, JO0st, davemckain, dinarcon, sthomps5, mairi, jyraya, kwhite: Add Change record to @deprecated for element_info service
-rw-r--r--core/includes/common.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/includes/common.inc b/core/includes/common.inc
index 1d602b2..d1736f9 100644
--- a/core/includes/common.inc
+++ b/core/includes/common.inc
@@ -1002,6 +1002,8 @@ function show(&$element) {
*
* @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
* Use \Drupal::service('element_info')->getInfo() instead.
+ *
+ * @see https://www.drupal.org/node/2235461
*/
function element_info($type) {
return \Drupal::service('element_info')->getInfo($type);
@@ -1020,6 +1022,8 @@ function element_info($type) {
*
* @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
* Use \Drupal::service('element_info')->getInfoProperty() instead.
+ *
+ * @see https://www.drupal.org/node/2235461
*/
function element_info_property($type, $property_name, $default = NULL) {
return \Drupal::service('element_info')->getInfoProperty($type, $property_name, $default);