/** * Get the selection field from a content object * * @param \eZ\Publish\API\Repository\Values\Content\Location $location * @param string $fieldIdentifier * @return \eZ\Publish\API\Repository\Values\Content\Field */ protected function getTranslatedLocationFieldSelection( $location, $fieldIdentifier ) { $content = $this->repository->getContentService()->loadContentByContentInfo( $location->getContentInfo() ); return $this->getTranslatedContentFieldSelection( $content, $fieldIdentifier ); }