bundle/Templating/Twig/Runtime/EzPublishRuntime.php
private function loadContentType(string $identifier): ContentType
    {
        return $this->repository->sudo(
            static function (Repository $repository) use ($identifier): ContentType {
                return $repository->getContentTypeService()->loadContentTypeByIdentifier($identifier);
            }
        );
    }
private function loadContentType(string $identifier): ContentType
    {
        return $this->repository->sudo(
            static function (Repository $repository) use ($identifier): ContentType {
                return $repository->getContentTypeService()->loadContentTypeByIdentifier($identifier);
            }
        );
    }
private function loadContentType ( string $ identifier ) : ContentType { return $ this -> repository -> sudo ( static function ( Repository $ repository ) use ( $ identifier ) : ContentType { return $ repository -> getContentTypeService ( ) -> loadContentTypeByIdentifier ( $ identifier ) ; } ) ; }
Loads the content type for provided identifier.
Loads the content type for provided identifier .