I'm using ConfigEntity and on this Entity, there is a boolean Field (checkbox) called "Published".
Now I want to load all Entities with field Published = 1
Do you know how I can do that?
P.s. To load all Entities I'm using this line below:
$myEntities = \Drupal::entityTypeManager()->getStorage('my_entities')->loadMultiple();
If there is another best command, please let me know.
Thank you so much.