Get configuration settings not working I am writing this Drupal 8 module. I am setting up some configuration settings here 

But when I retrieve it here using $this-&gt;config()-&gt;get() it is not giving anything. Any idea what am I doing wrong?
The problem is in your flood_control.settings.yml.

flood_control:
  user_failed_login_ip_limit: 50
  ...


This way, to get user_failed_login_ip_limit you must use $this-&gt;config(flood_control.settings)-&gt;get('flood_control.user_failed_login_ip_limit'). Or just remove flood_control: on first line for better use.