Port of the Drupal 7 og module to Drupal 8