I created my content type Programmatically .. I need a function that list content who have my ContentType.


You can try like this

$types = \Drupal::entityTypeManager()

More info Get all node types in Drupal 8

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.