Update to Drupal 8.0.0 beta 14. For more information, see https://drupal.org/node/2544542
This commit is contained in:
parent
3b2511d96d
commit
81ccda77eb
2155 changed files with 54307 additions and 46870 deletions
|
@ -42,11 +42,9 @@
|
|||
this.changedFieldStates = ['changed', 'saving', 'saved', 'invalid'];
|
||||
this.readyFieldStates = ['candidate', 'highlighted'];
|
||||
|
||||
this.listenTo(options.entitiesCollection, {
|
||||
// Track app state.
|
||||
'change:state': this.appStateChange,
|
||||
'change:isActive': this.enforceSingleActiveEntity
|
||||
});
|
||||
// Track app state.
|
||||
this.listenTo(options.entitiesCollection, 'change:state', this.appStateChange);
|
||||
this.listenTo(options.entitiesCollection, 'change:isActive', this.enforceSingleActiveEntity);
|
||||
|
||||
// Track app state.
|
||||
this.listenTo(options.fieldsCollection, 'change:state', this.editorStateChange);
|
||||
|
|
|
@ -216,7 +216,7 @@ class QuickEditController extends ControllerBase {
|
|||
$response->addCommand(new FieldFormSavedCommand($output, $other_view_modes));
|
||||
}
|
||||
else {
|
||||
$output = $this->renderer->renderRoot($form);
|
||||
$output = (string) $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($this->renderer->renderRoot($status_messages)));
|
||||
$response->addCommand(new FieldFormValidationErrorsCommand((string) $this->renderer->renderRoot($status_messages)));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -275,7 +275,7 @@ class QuickEditController extends ControllerBase {
|
|||
$output = $this->moduleHandler()->invoke($module, 'quickedit_render_field', $args);
|
||||
}
|
||||
|
||||
return $this->renderer->renderRoot($output);
|
||||
return (string) $this->renderer->renderRoot($output);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Reference in a new issue