Porting config — variable_get() to config object.
Use Node entity object.