Back port plugin drupal 8 to drupal 7