public function onSuccess($locale, NodeInterface $node)
    {
        $this->eventDispatcher->dispatch(TadckaTreeEvents::NODE_EDIT_SUCCESS, new TreeNodeEvent($locale, $node));
        $this->textNodeManager->save();

        return $this->translator->trans('success.text_node_save', array(), 'SilvestraTextNodeBundle');
    }
public function onSuccess($locale, NodeInterface $node)
    {
        $this->eventDispatcher->dispatch(TadckaTreeEvents::NODE_EDIT_SUCCESS, new TreeNodeEvent($locale, $node));
        $this->textNodeManager->save();

        return $this->translator->trans('success.text_node_save', array(), 'SilvestraTextNodeBundle');
    }
public function onSuccess ( $ locale , NodeInterface $ node ) { $ this -> eventDispatcher -> dispatch ( TadckaTreeEvents :: NODE_EDIT_SUCCESS , new TreeNodeEvent ( $ locale , $ node ) ) ; $ this -> textNodeManager -> save ( ) ; return $ this -> translator -> trans ( 'success.text_node_save' , array ( ) , 'SilvestraTextNodeBundle' ) ; }
On edit text node success.

@param string $locale
@param NodeInterface $node

@return string
On edit text node success .