Bolt\Storage\Database\Schema\Builder\ContentTables::getNormalisedContentTypes PHP Method

getNormalisedContentTypes() private method

Return an array of ContentTypes with the table name is the key.
private getNormalisedContentTypes ( Config $config ) : array
$config Bolt\Config
return array
    private function getNormalisedContentTypes(Config $config)
    {
        $normalised = [];
        $contentTypes = $config->get('contenttypes');
        foreach ($contentTypes as $contentType) {
            $normalised[$contentType['tablename']] = $contentType;
        }
        return $normalised;
    }