In Drupal 7 with this query:
SELECT * FROM node_type;
I can obtain the list of all my content types, now in Drupal 8 I can't find the node_type
table.
I know that with this code:
$content_types = \Drupal::service('entity.manager')->getStorage('node_type')->loadMultiple();
$content_types_list = [];
foreach ($content_types as $content_type) {
$content_types_list[$content_type->id()] = $content_type->label();
}
I can obtain the info, but where is this information stored now in the database?