Update to drupal 8.0.0-rc1. For more information, see https://www.drupal.org/node/2582663
This commit is contained in:
parent
eb34d130a8
commit
f32e58e4b1
8476 changed files with 211648 additions and 170042 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
use Drupal\Component\Utility\Html;
|
||||
use Drupal\Component\Utility\SafeMarkup;
|
||||
use Drupal\Core\Render\SafeString;
|
||||
use Drupal\Core\Render\Markup;
|
||||
use Drupal\Core\Extension\Extension;
|
||||
|
||||
/**
|
||||
|
@ -46,7 +46,7 @@ function twig_init(Extension $theme) {
|
|||
* @param array $variables
|
||||
* A keyed array of variables that will appear in the output.
|
||||
*
|
||||
* @return string|\Drupal\Component\Utility\SafeStringInterface
|
||||
* @return string|\Drupal\Component\Render\MarkupInterface
|
||||
* The output generated by the template, plus any debug information.
|
||||
*/
|
||||
function twig_render_template($template_file, array $variables) {
|
||||
|
@ -116,7 +116,7 @@ function twig_render_template($template_file, array $variables) {
|
|||
$output['debug_suffix'] .= "\n<!-- END OUTPUT from '" . Html::escape($template_file) . "' -->\n\n";
|
||||
}
|
||||
// This output has already been rendered and is therefore considered safe.
|
||||
return SafeString::create(implode('', $output));
|
||||
return Markup::create(implode('', $output));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Reference in a new issue