Browse Source

Coding fix

pull/756/head
Danny Lamb 8 years ago
parent
commit
bbc0d1e0ba
  1. 2
      islandora/src/EventGenerator/EventGenerator.php
  2. 4
      islandora/src/EventGenerator/EventGeneratorInterface.php

2
islandora/src/EventGenerator/EventGenerator.php

@ -25,7 +25,7 @@ class EventGenerator implements EventGeneratorInterface {
],
"object" => $entity->toUrl()->setAbsolute()->toString(),
]);
}
}
/**
* {@inheritdoc}

4
islandora/src/EventGenerator/EventGeneratorInterface.php

@ -5,6 +5,9 @@ namespace Drupal\islandora\EventGenerator;
use Drupal\Core\Entity\EntityInterface;
use Drupal\user\UserInterface;
/**
* Inteface for a service that provides serialized event messages.
*/
interface EventGeneratorInterface {
/**
@ -45,4 +48,5 @@ interface EventGeneratorInterface {
* Serialized event message
*/
public function generateDeleteEvent(EntityInterface $entity, UserInterface $user);
}

Loading…
Cancel
Save