Skip to main content
added 112 characters in body
Source Link
DiDebru
  • 861
  • 1
  • 9
  • 23

Hey there what I'm trying to do is to get all entity type ids from my custom config entity. To load them all.

Example give:

I have an entity 'foo' and I create a new 'foo' named 'bar1' and another 'bar2' and so on how do I get those ids programmatically?

Better question

How do I get all entity_type_ids(or bundles dunno don't found a good entity hirarchie doku yet :( ) of an entity for example all types of the node entity?

Hey there what I'm trying to do is to get all entity type ids from my custom config entity. To load them all.

Example give:

I have an entity 'foo' and I create a new 'foo' named 'bar1' and another 'bar2' and so on how do I get those ids programmatically?

Hey there what I'm trying to do is to get all entity type ids from my custom config entity. To load them all.

Example give:

I have an entity 'foo' and I create a new 'foo' named 'bar1' and another 'bar2' and so on how do I get those ids programmatically?

Better question

How do I get all entity_type_ids(or bundles dunno don't found a good entity hirarchie doku yet :( ) of an entity for example all types of the node entity?

Source Link
DiDebru
  • 861
  • 1
  • 9
  • 23

How do I get an array of all entitytypes of a specific entity?

Hey there what I'm trying to do is to get all entity type ids from my custom config entity. To load them all.

Example give:

I have an entity 'foo' and I create a new 'foo' named 'bar1' and another 'bar2' and so on how do I get those ids programmatically?