Skip to content
Snippets Groups Projects
Commit 40b2f16d authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2367745 by Palashvijay4O | gumanist: Remove drupal_var_export().

parent 2fd99492
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -12,24 +12,6 @@
use Symfony\Component\HttpFoundation\Request;
use Composer\Autoload\ClassLoader;
/**
* Drupal-friendly var_export().
*
* @param mixed $var
* The variable to export.
* @param string $prefix
* A prefix that will be added at the beginning of every lines of the output.
*
* @return string
* The variable exported in a way compatible to Drupal's coding standards.
*
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.
* Use \Drupal\Component\Utility\Variable::export().
*/
function drupal_var_export($var, $prefix = '') {
return Variable::export($var, $prefix);
}
/**
* Rebuilds all caches even when Drupal itself does not work.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment