eZ\Publish\Core\Persistence\Legacy\Content\Type\Gateway\ExceptionConversion::loadTypeDataByIdentifier PHP Method

loadTypeDataByIdentifier() public method

Loads an array with data about the type referred to by $identifier in $status.
public loadTypeDataByIdentifier ( string $identifier, integer $status ) : array(int=>array(string=>mixed))
$identifier string
$status integer
return array(int=>array(string=>mixed))
    public function loadTypeDataByIdentifier($identifier, $status)
    {
        try {
            return $this->innerGateway->loadTypeDataByIdentifier($identifier, $status);
        } catch (DBALException $e) {
            throw new RuntimeException('Database error', 0, $e);
        } catch (PDOException $e) {
            throw new RuntimeException('Database error', 0, $e);
        }
    }