public unhideLocation ( eZ\Publish\API\Repository\Values\Content\Location $location ) : eZ\Publish\API\Repository\Values\Content\Location | ||
$location | eZ\Publish\API\Repository\Values\Content\Location | |
return | eZ\Publish\API\Repository\Values\Content\Location | $location, with updated hidden value |
public function unhideLocation(Location $location)
{
$returnValue = $this->service->unhideLocation($location);
$this->signalDispatcher->emit(new UnhideLocationSignal(array('locationId' => $location->id, 'contentId' => $location->contentId, 'currentVersionNo' => $returnValue->getContentInfo()->currentVersionNo)));
return $returnValue;
}