Method | Description | |
---|---|---|
__construct ( |
||
getSubscribedEvents ( ) | ||
handleConfigureOptions ( Sulu\Component\DocumentManager\Event\ConfigureOptionsEvent $event ) | ||
handleHydrate ( Sulu\Component\DocumentManager\Event\AbstractMappingEvent $event ) | Update the locale to the shadow locale, if it is enabled. | |
handleMetadataLoad ( Sulu\Component\DocumentManager\Event\MetadataLoadEvent $event ) | ||
handlePersistUpdateUrl ( Sulu\Component\DocumentManager\Event\PersistEvent $event ) | If this is a shadow document, update the URL to that of the shadowed document. | |
saveShadowProperties ( Sulu\Component\DocumentManager\Event\AbstractMappingEvent $event ) |
Method | Description | |
---|---|---|
getShadowLocale ( PHPCR\NodeInterface $node, $locale ) | ||
getShadowLocaleEnabled ( PHPCR\NodeInterface $node, $locale ) | ||
validateShadow ( Sulu\Component\Content\Document\Behavior\ShadowLocaleBehavior $document ) |
public __construct ( |
||
$encoder | ||
$inspector | ||
$registry | Sulu\Component\DocumentManager\DocumentRegistry |
public handleConfigureOptions ( Sulu\Component\DocumentManager\Event\ConfigureOptionsEvent $event ) | ||
$event | Sulu\Component\DocumentManager\Event\ConfigureOptionsEvent |
public handleHydrate ( Sulu\Component\DocumentManager\Event\AbstractMappingEvent $event ) | ||
$event | Sulu\Component\DocumentManager\Event\AbstractMappingEvent |
public handleMetadataLoad ( Sulu\Component\DocumentManager\Event\MetadataLoadEvent $event ) | ||
$event | Sulu\Component\DocumentManager\Event\MetadataLoadEvent |
public handlePersistUpdateUrl ( Sulu\Component\DocumentManager\Event\PersistEvent $event ) | ||
$event | Sulu\Component\DocumentManager\Event\PersistEvent |
public saveShadowProperties ( Sulu\Component\DocumentManager\Event\AbstractMappingEvent $event ) | ||
$event | Sulu\Component\DocumentManager\Event\AbstractMappingEvent |