Re: New content type

Muzaffer Tolga Ozses <[email protected]> Thu, 5 Feb 2015 11:41:10 +0200
Newsgroups gmane.comp.php.drupal.devel
Message-ID <CAMAQ3nJdtEeN1-q_HhLZ50WOf4o75nrZRk8RPxar0yzhFbiOWA@mail.gmail.com>
--001a113d34c0a7927d050e541a7f
Content-Type: text/plain; charset=UTF-8

If you want to create a content type programmatically, you have to use
pretty much like the article I pointed to.

On 5 February 2015 at 11:39, Nicolas <[email protected]> wrote:

>
> 2015-02-05 10:37 GMT+01:00 Muzaffer Tolga Ozses <[email protected]>:
>
>> If you don't want fields in your content type, feel free to leave related
>> parts out :) About entity, I don't know what you mean with that. Nodes are
>> also entities.
>
>
> I know node are entities. I search for an article explaining how to create
> a new content type (available from node/add/my-content-type), using
> entities, without field api.
>
>
>


-- 
mto

--001a113d34c0a7927d050e541a7f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:courier =
new,monospace">If you want to create a content type programmatically, you h=
ave to use pretty much like the article I pointed to.</div></div><div class=
=3D"gmail_extra"><br><div class=3D"gmail_quote">On 5 February 2015 at 11:39=
, Nicolas <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" targe=
t=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D=
"gmail_quote"><span class=3D"">2015-02-05 10:37 GMT+01:00 Muzaffer Tolga Oz=
ses <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_bla=
nk">[email protected]</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If yo=
u don&#39;t want fields in your content type, feel free to leave related pa=
rts out :) About entity, I don&#39;t know what you mean with that. Nodes ar=
e also entities.</blockquote><div><br></div></span><div>I know node are ent=
ities. I search for an article explaining how to create a new content type =
(available from node/add/my-content-type), using entities, without field ap=
i.=C2=A0</div></div><br><br></div></div>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class=
=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr">mto</div></div>=
</div></div>
</div>

--001a113d34c0a7927d050e541a7f--