Drupal entity

Drupal 8 ConfigEntityType Entity Query example

so you are using a ConfigEntityType in drupal 8 and you want to know how to do an entity query will you are in luck say you have defined a custom key in your MODULE / config /schema / your_entity.schema.yml file


      type: string
      label: 'color'

Now in your entity class (the one where you put

 *   id = "your_entity_type",