Loading src/Plugin/AudioPlayer/WavesurferAudioPlayer.php +3 −3 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ namespace Drupal\audiofield\Plugin\AudioPlayer; use Drupal\Core\Extension\ModuleHandlerInterface; use Drupal\Core\Field\FieldItemListInterface; use Drupal\audiofield\AudioFieldPluginBase; use Drupal\Component\Serialization\Json; Loading @@ -11,7 +12,6 @@ use Drupal\Core\Asset\LibraryDiscovery; use Drupal\Core\Messenger\MessengerInterface; use Drupal\Core\Logger\LoggerChannelFactoryInterface; use Drupal\Core\File\FileSystemInterface; use Drupal\Core\Extension\ModuleHandler; use Drupal\Core\File\FileUrlGenerator; use Symfony\Component\DependencyInjection\ContainerInterface; Loading @@ -34,14 +34,14 @@ class WavesurferAudioPlayer extends AudioFieldPluginBase { /** * Module handler service. * * @var Drupal\Core\Extension\ModuleHandler * @var \Drupal\Core\Extension\ModuleHandlerInterface */ protected $moduleHandler; /** * {@inheritdoc} */ public function __construct(array $configuration, $plugin_id, $plugin_definition, LibraryDiscovery $library_discovery, MessengerInterface $messenger, LoggerChannelFactoryInterface $logger_factory, FileSystemInterface $file_system, ModuleHandler $module_handler, FileUrlGenerator $file_url_generator) { public function __construct(array $configuration, $plugin_id, $plugin_definition, LibraryDiscovery $library_discovery, MessengerInterface $messenger, LoggerChannelFactoryInterface $logger_factory, FileSystemInterface $file_system, ModuleHandlerInterface $module_handler, FileUrlGenerator $file_url_generator) { parent::__construct($configuration, $plugin_id, $plugin_definition, $library_discovery, $messenger, $logger_factory, $file_system, $file_url_generator); $this->moduleHandler = $module_handler; Loading Loading
src/Plugin/AudioPlayer/WavesurferAudioPlayer.php +3 −3 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ namespace Drupal\audiofield\Plugin\AudioPlayer; use Drupal\Core\Extension\ModuleHandlerInterface; use Drupal\Core\Field\FieldItemListInterface; use Drupal\audiofield\AudioFieldPluginBase; use Drupal\Component\Serialization\Json; Loading @@ -11,7 +12,6 @@ use Drupal\Core\Asset\LibraryDiscovery; use Drupal\Core\Messenger\MessengerInterface; use Drupal\Core\Logger\LoggerChannelFactoryInterface; use Drupal\Core\File\FileSystemInterface; use Drupal\Core\Extension\ModuleHandler; use Drupal\Core\File\FileUrlGenerator; use Symfony\Component\DependencyInjection\ContainerInterface; Loading @@ -34,14 +34,14 @@ class WavesurferAudioPlayer extends AudioFieldPluginBase { /** * Module handler service. * * @var Drupal\Core\Extension\ModuleHandler * @var \Drupal\Core\Extension\ModuleHandlerInterface */ protected $moduleHandler; /** * {@inheritdoc} */ public function __construct(array $configuration, $plugin_id, $plugin_definition, LibraryDiscovery $library_discovery, MessengerInterface $messenger, LoggerChannelFactoryInterface $logger_factory, FileSystemInterface $file_system, ModuleHandler $module_handler, FileUrlGenerator $file_url_generator) { public function __construct(array $configuration, $plugin_id, $plugin_definition, LibraryDiscovery $library_discovery, MessengerInterface $messenger, LoggerChannelFactoryInterface $logger_factory, FileSystemInterface $file_system, ModuleHandlerInterface $module_handler, FileUrlGenerator $file_url_generator) { parent::__construct($configuration, $plugin_id, $plugin_definition, $library_discovery, $messenger, $logger_factory, $file_system, $file_url_generator); $this->moduleHandler = $module_handler; Loading