Commit 6b56a326 authored by draenen's avatar draenen Committed by Mingsong Hu

Issue #3150715 by draenen, Mingsong: Drag and drop doesn't work for entities other than Nodes

parent f7518404
......@@ -205,8 +205,8 @@ class CalendarEventController extends ControllerBase {
$entity->save();
// Log the content changed.
$this->loggerFactory->get($entity_type)->notice('%entity_type: updated %title', [
'%entity_type' => $entity->getType(),
'%title' => $entity->getTitle(),
'%entity_type' => $entity->getEntityType()->getLabel(),
'%title' => $entity->label(),
]);
// Returen 1 as success.
return new Response(1);
......
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