mjordan/islandora_riprap

Use services correctly

mjordan opened this issue · 1 comments

This module defines two services, but I am not using correctly. Instead of:

use Drupal\islandora_riprap\Riprap\Riprap;
use Drupal\islandora_riprap\Riprap\IslandoraRiprapUtils;

They should be called like this:

$service = \Drupal::service('my.service.id');

Done within the massive #23.