Resolve #3274747 "Drupal coding standards"
Fixed some of the coding standards issues apart from dependency injection and unused variables.
Edited by Chennakesavulu Chakka
Fixed some of the coding standards issues apart from dependency injection and unused variables.