Commit 46895347 authored by dawehner's avatar dawehner Committed by tim.plunkett
Browse files

Make sure that the display object is converted into the config object as required.

parent ec2a9505
......@@ -66,7 +66,13 @@ public function save(StorableInterface $entity) {
if ($property == 'display') {
$displays = array();
foreach ($entity->display as $key => $display) {
$displays[$key] = $display->display_options;
$displays[$key] = array(
'display_options' => $display->display_options,
'display_plugin' => $display->display_plugin,
'id' => $display->id,
'display_title' => $display->display_title,
'position' => isset($display->position) ? $display->position : 0,
);
}
$config->set('display', $displays);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment