eZ\Publish\Core\SignalSlot\LocationService::unhideLocation PHP Метод

unhideLocation() публичный Метод

This method and marks visible all descendants of $locations until a hidden location is found.
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
Результат 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;
    }