src/Sulu/Bundle/PageBundle/Document/Subscriber/PublishSubscriber.php
public function removePropertiesFromPublicWorkspace(UnpublishEvent $event)
    {
        $node = $event->getNode();
        $locale = $event->getLocale();

        $this->removeLocalizedNodeProperties($node, $locale);
    }
public function removePropertiesFromPublicWorkspace(UnpublishEvent $event)
    {
        $node = $event->getNode();
        $locale = $event->getLocale();

        $this->removeLocalizedNodeProperties($node, $locale);
    }
public function removePropertiesFromPublicWorkspace ( UnpublishEvent $ event ) { $ node = $ event -> getNode ( ) ; $ locale = $ event -> getLocale ( ) ; $ this -> removeLocalizedNodeProperties ( $ node , $ locale ) ; }
Removes all the properties for the given locale from the node, so that the content is not accessible anymore from
the live workspace.

@param UnpublishEvent $event
Removes all the properties for the given locale from the node so that the content is not accessible anymore from the live workspace .