What I'm trying to do is
$entities = EntityInterface::loadMultiple();
That should give me all entities.
But when I call it, it gives me this
Fatal error: Cannot call abstract method Drupal\Core\Entity\EntityInterface::loadMultiple()
What I need is the type and the bundles of the entities.
I don't want to get specific entities like Node, Comment, Block etc. I want to get them all.
$fields['node']['article'] = <<<< I want that dynamic.
Something like that
foreach($entities as $entity) {
$fields[$entity->getType()][$entity->bundle()] = ....
}