Update to Drupal 8.0.0-beta15. For more information, see: https://www.drupal.org/node/2563023

This commit is contained in:
Pantheon Automation 2015-09-04 13:20:09 -07:00 committed by Greg Anderson
parent 2720a9ec4b
commit f3791f1da3
1898 changed files with 54300 additions and 11481 deletions

View file

@ -216,7 +216,7 @@ class QuickEditController extends ControllerBase {
$response->addCommand(new FieldFormSavedCommand($output, $other_view_modes));
}
else {
$output = (string) $this->renderer->renderRoot($form);
$output = $this->renderer->renderRoot($form);
// When working with a hidden form, we don't want its CSS/JS to be loaded.
if ($request->request->get('nocssjs') !== 'true') {
$response->setAttachments($form['#attached']);
@ -228,7 +228,7 @@ class QuickEditController extends ControllerBase {
$status_messages = array(
'#type' => 'status_messages'
);
$response->addCommand(new FieldFormValidationErrorsCommand((string) $this->renderer->renderRoot($status_messages)));
$response->addCommand(new FieldFormValidationErrorsCommand($this->renderer->renderRoot($status_messages)));
}
}
@ -255,7 +255,7 @@ class QuickEditController extends ControllerBase {
* The view mode the field should be rerendered in. Either an Entity Display
* view mode ID, or a custom one. See hook_quickedit_render_field().
*
* @return string
* @return \Drupal\Component\Utility\SafeStringInterface
* Rendered HTML.
*
* @see hook_quickedit_render_field()
@ -275,7 +275,7 @@ class QuickEditController extends ControllerBase {
$output = $this->moduleHandler()->invoke($module, 'quickedit_render_field', $args);
}
return (string) $this->renderer->renderRoot($output);
return $this->renderer->renderRoot($output);
}
/**