Simple configuration versus configuration entities
As soon as you want to start storing your own configuration, you need to understand the differences between simple configuration and configuration entities. Here's a short definition of the two types of configuration used in Drupal. Please refer to the next chapter for an in-depth look at the Configuration Management API to learn more about these two.
Simple configuration
This configuration type is easier to implement and therefore ideal for basic configuration settings that result in Boolean values, integers, or simple strings of text being stored, as well as global variables that are used throughout your site. A good example would be the value of an on/off toggle for a specific feature in your module, or our previously used example of the site name configured by the system module:
name: 'Configuration Management in Drupal 8'
Simple configuration also includes any settings that your module requires in order to operate correctly...