Interface

eZ\Publish\Core\Helper\ContentInfoLocationLoader

interface ContentInfoLocationLoader

Loads a location based on a ContentInfo.

Methods

Location loadLocation(ContentInfo $contentInfo)

Loads a location from a ContentInfo.

Details

at line 25
public Location loadLocation(ContentInfo $contentInfo)

Loads a location from a ContentInfo.

Parameters

ContentInfo $contentInfo

Return Value

Location

Exceptions

NotFoundException if the location doesn't have a contentId.
NotFoundException if the location failed to load.