Browse Source

code sniffer fixes...not sure how i missed these...

d9_islandora
elizoller 4 years ago
parent
commit
d8e7a2d9e3
  1. 10
      src/Plugin/Action/AbstractGenerateDerivativeBase.php

10
src/Plugin/Action/AbstractGenerateDerivativeBase.php

@ -3,12 +3,9 @@
namespace Drupal\islandora\Plugin\Action; namespace Drupal\islandora\Plugin\Action;
use Drupal\Core\Config\ConfigFactoryInterface; use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface; use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Messenger\MessengerInterface; use Drupal\Core\Messenger\MessengerInterface;
use Drupal\Core\Session\AccountInterface; use Drupal\Core\Session\AccountInterface;
use Drupal\Core\Url;
use Drupal\islandora\IslandoraUtils; use Drupal\islandora\IslandoraUtils;
use Drupal\islandora\EventGenerator\EmitEvent; use Drupal\islandora\EventGenerator\EmitEvent;
use Drupal\islandora\EventGenerator\EventGeneratorInterface; use Drupal\islandora\EventGenerator\EventGeneratorInterface;
@ -21,8 +18,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
/** /**
* A base class for constructor/creator derivative generators. * A base class for constructor/creator derivative generators.
*/ */
class AbstractGenerateDerivativeBase extends EmitEvent class AbstractGenerateDerivativeBase extends EmitEvent {
{
/** /**
* Islandora utility functions. * Islandora utility functions.
@ -125,8 +121,7 @@ class AbstractGenerateDerivativeBase extends EmitEvent
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
{
return new static( return new static(
$configuration, $configuration,
$plugin_id, $plugin_id,
@ -143,4 +138,5 @@ class AbstractGenerateDerivativeBase extends EmitEvent
$container->get('config.factory') $container->get('config.factory')
); );
} }
} }

Loading…
Cancel
Save