/**
* Loads a (defined) content type by identifier
*
* Note: This method is responsible of having the Field Definitions of the loaded ContentType sorted by placement.
*
* @param string $identifier
*
* @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException If defined type is not found
*
* @return \eZ\Publish\SPI\Persistence\Content\Type
*/
public function loadByIdentifier( $identifier )
{
$rows = $this->contentTypeGateway->loadTypeDataByIdentifier(
$identifier, Type::STATUS_DEFINED
);
return $this->loadFromRows( $rows, $identifier, Type::STATUS_DEFINED );
}