Revert "Issue #3161983 by Pooja Ganjage, sanjayk, catch, longwave, daffie, dww, Gábor Hojtsy: [Symfony 6] Update EventDispatcherInterface type hints in constructors"
This reverts commit a9cee683f2
.
merge-requests/184/head
parent
bdf6131d9f
commit
7e79ca91db
|
@ -2501,7 +2501,7 @@ function hook_validation_constraint_alter(array &$definitions) {
|
||||||
*
|
*
|
||||||
* @section sec_dispatch Dispatching events
|
* @section sec_dispatch Dispatching events
|
||||||
* To dispatch an event, call the
|
* To dispatch an event, call the
|
||||||
* \Symfony\Contracts\EventDispatcher\EventDispatcherInterface::dispatch()
|
* \Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()
|
||||||
* method on the 'event_dispatcher' service (see the
|
* method on the 'event_dispatcher' service (see the
|
||||||
* @link container Services topic @endlink for more information about how to
|
* @link container Services topic @endlink for more information about how to
|
||||||
* interact with services). The first argument is the unique event name, which
|
* interact with services). The first argument is the unique event name, which
|
||||||
|
|
|
@ -4,7 +4,7 @@ namespace Drupal\Component\EventDispatcher;
|
||||||
|
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
use Symfony\Component\EventDispatcher\Event;
|
use Symfony\Component\EventDispatcher\Event;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||||
use Symfony\Contracts\EventDispatcher\Event as ContractsEvent;
|
use Symfony\Contracts\EventDispatcher\Event as ContractsEvent;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface as ContractsEventDispatcherInterface;
|
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface as ContractsEventDispatcherInterface;
|
||||||
|
@ -113,7 +113,7 @@ class ContainerAwareEventDispatcher implements EventDispatcherInterface {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
elseif (\is_string($event) && (NULL === $event_name || $event_name instanceof ContractsEvent || $event_name instanceof Event)) {
|
elseif (\is_string($event) && (NULL === $event_name || $event_name instanceof ContractsEvent || $event_name instanceof Event)) {
|
||||||
@trigger_error('Calling the Symfony\Contracts\EventDispatcher\EventDispatcherInterface::dispatch() method with a string event name as the first argument is deprecated in drupal:9.1.0, an Event object will be required instead in drupal:10.0.0. See https://www.drupal.org/node/3154407', E_USER_DEPRECATED);
|
@trigger_error('Calling the Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch() method with a string event name as the first argument is deprecated in drupal:9.1.0, an Event object will be required instead in drupal:10.0.0. See https://www.drupal.org/node/3154407', E_USER_DEPRECATED);
|
||||||
$swap = $event;
|
$swap = $event;
|
||||||
$event = $event_name ?? new Event();
|
$event = $event_name ?? new Event();
|
||||||
$event_name = $swap;
|
$event_name = $swap;
|
||||||
|
|
|
@ -10,7 +10,7 @@ use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
||||||
use Drupal\Core\Session\AccountInterface;
|
use Drupal\Core\Session\AccountInterface;
|
||||||
use Drupal\Core\Utility\UnroutedUrlAssemblerInterface;
|
use Drupal\Core\Utility\UnroutedUrlAssemblerInterface;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
use Symfony\Component\HttpFoundation\RedirectResponse;
|
use Symfony\Component\HttpFoundation\RedirectResponse;
|
||||||
use Symfony\Component\HttpKernel\KernelEvents;
|
use Symfony\Component\HttpKernel\KernelEvents;
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ class GotoAction extends ConfigurableActionBase implements ContainerFactoryPlugi
|
||||||
/**
|
/**
|
||||||
* The event dispatcher service.
|
* The event dispatcher service.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $dispatcher;
|
protected $dispatcher;
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ class GotoAction extends ConfigurableActionBase implements ContainerFactoryPlugi
|
||||||
* The plugin ID for the plugin instance.
|
* The plugin ID for the plugin instance.
|
||||||
* @param mixed $plugin_definition
|
* @param mixed $plugin_definition
|
||||||
* The plugin implementation definition.
|
* The plugin implementation definition.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher
|
||||||
* The tempstore factory.
|
* The tempstore factory.
|
||||||
* @param \Drupal\Core\Utility\UnroutedUrlAssemblerInterface $url_assembler
|
* @param \Drupal\Core\Utility\UnroutedUrlAssemblerInterface $url_assembler
|
||||||
* The unrouted URL assembler service.
|
* The unrouted URL assembler service.
|
||||||
|
|
|
@ -4,7 +4,7 @@ namespace Drupal\Core\Config;
|
||||||
|
|
||||||
use Drupal\Component\Utility\NestedArray;
|
use Drupal\Component\Utility\NestedArray;
|
||||||
use Drupal\Core\Cache\Cache;
|
use Drupal\Core\Cache\Cache;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines the default configuration object.
|
* Defines the default configuration object.
|
||||||
|
@ -21,7 +21,7 @@ class Config extends StorableConfigBase {
|
||||||
/**
|
/**
|
||||||
* An event dispatcher instance to use for configuration events.
|
* An event dispatcher instance to use for configuration events.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ class Config extends StorableConfigBase {
|
||||||
* @param \Drupal\Core\Config\StorageInterface $storage
|
* @param \Drupal\Core\Config\StorageInterface $storage
|
||||||
* A storage object to use for reading and writing the
|
* A storage object to use for reading and writing the
|
||||||
* configuration data.
|
* configuration data.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
||||||
* An event dispatcher instance to use for configuration events.
|
* An event dispatcher instance to use for configuration events.
|
||||||
* @param \Drupal\Core\Config\TypedConfigManagerInterface $typed_config
|
* @param \Drupal\Core\Config\TypedConfigManagerInterface $typed_config
|
||||||
* The typed configuration manager service.
|
* The typed configuration manager service.
|
||||||
|
|
|
@ -4,7 +4,7 @@ namespace Drupal\Core\Config;
|
||||||
|
|
||||||
use Drupal\Component\Utility\NestedArray;
|
use Drupal\Component\Utility\NestedArray;
|
||||||
use Drupal\Core\Cache\Cache;
|
use Drupal\Core\Cache\Cache;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -34,7 +34,7 @@ class ConfigFactory implements ConfigFactoryInterface, EventSubscriberInterface
|
||||||
/**
|
/**
|
||||||
* An event dispatcher instance to use for configuration events.
|
* An event dispatcher instance to use for configuration events.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ class ConfigFactory implements ConfigFactoryInterface, EventSubscriberInterface
|
||||||
*
|
*
|
||||||
* @param \Drupal\Core\Config\StorageInterface $storage
|
* @param \Drupal\Core\Config\StorageInterface $storage
|
||||||
* The configuration storage engine.
|
* The configuration storage engine.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
||||||
* An event dispatcher instance to use for configuration events.
|
* An event dispatcher instance to use for configuration events.
|
||||||
* @param \Drupal\Core\Config\TypedConfigManagerInterface $typed_config
|
* @param \Drupal\Core\Config\TypedConfigManagerInterface $typed_config
|
||||||
* The typed configuration manager.
|
* The typed configuration manager.
|
||||||
|
|
|
@ -13,7 +13,7 @@ use Drupal\Core\Entity\EntityStorageException;
|
||||||
use Drupal\Core\Lock\LockBackendInterface;
|
use Drupal\Core\Lock\LockBackendInterface;
|
||||||
use Drupal\Core\StringTranslation\StringTranslationTrait;
|
use Drupal\Core\StringTranslation\StringTranslationTrait;
|
||||||
use Drupal\Core\StringTranslation\TranslationInterface;
|
use Drupal\Core\StringTranslation\TranslationInterface;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines a configuration importer.
|
* Defines a configuration importer.
|
||||||
|
@ -53,7 +53,7 @@ class ConfigImporter {
|
||||||
/**
|
/**
|
||||||
* The event dispatcher used to notify subscribers.
|
* The event dispatcher used to notify subscribers.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -172,7 +172,7 @@ class ConfigImporter {
|
||||||
* @param \Drupal\Core\Config\StorageComparerInterface $storage_comparer
|
* @param \Drupal\Core\Config\StorageComparerInterface $storage_comparer
|
||||||
* A storage comparer object used to determine configuration changes and
|
* A storage comparer object used to determine configuration changes and
|
||||||
* access the source and target storage objects.
|
* access the source and target storage objects.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
||||||
* The event dispatcher used to notify subscribers of config import events.
|
* The event dispatcher used to notify subscribers of config import events.
|
||||||
* @param \Drupal\Core\Config\ConfigManagerInterface $config_manager
|
* @param \Drupal\Core\Config\ConfigManagerInterface $config_manager
|
||||||
* The configuration manager.
|
* The configuration manager.
|
||||||
|
|
|
@ -5,7 +5,7 @@ namespace Drupal\Core\Config;
|
||||||
use Drupal\Component\Utility\Crypt;
|
use Drupal\Component\Utility\Crypt;
|
||||||
use Drupal\Core\Config\Entity\ConfigDependencyManager;
|
use Drupal\Core\Config\Entity\ConfigDependencyManager;
|
||||||
use Drupal\Core\Installer\InstallerKernel;
|
use Drupal\Core\Installer\InstallerKernel;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
|
|
||||||
class ConfigInstaller implements ConfigInstallerInterface {
|
class ConfigInstaller implements ConfigInstallerInterface {
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ class ConfigInstaller implements ConfigInstallerInterface {
|
||||||
/**
|
/**
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ class ConfigInstaller implements ConfigInstallerInterface {
|
||||||
* The typed configuration manager.
|
* The typed configuration manager.
|
||||||
* @param \Drupal\Core\Config\ConfigManagerInterface $config_manager
|
* @param \Drupal\Core\Config\ConfigManagerInterface $config_manager
|
||||||
* The configuration manager.
|
* The configuration manager.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
* @param string $install_profile
|
* @param string $install_profile
|
||||||
* The name of the currently active installation profile.
|
* The name of the currently active installation profile.
|
||||||
|
|
|
@ -12,7 +12,7 @@ use Drupal\Core\Entity\EntityTypeManagerInterface;
|
||||||
use Drupal\Core\Serialization\Yaml;
|
use Drupal\Core\Serialization\Yaml;
|
||||||
use Drupal\Core\StringTranslation\StringTranslationTrait;
|
use Drupal\Core\StringTranslation\StringTranslationTrait;
|
||||||
use Drupal\Core\StringTranslation\TranslationInterface;
|
use Drupal\Core\StringTranslation\TranslationInterface;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The ConfigManager provides helper functions for the configuration system.
|
* The ConfigManager provides helper functions for the configuration system.
|
||||||
|
@ -59,7 +59,7 @@ class ConfigManager implements ConfigManagerInterface {
|
||||||
/**
|
/**
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ class ConfigManager implements ConfigManagerInterface {
|
||||||
* The string translation service.
|
* The string translation service.
|
||||||
* @param \Drupal\Core\Config\StorageInterface $active_storage
|
* @param \Drupal\Core\Config\StorageInterface $active_storage
|
||||||
* The active configuration storage.
|
* The active configuration storage.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
* @param \Drupal\Core\Entity\EntityRepositoryInterface $entity_repository
|
* @param \Drupal\Core\Entity\EntityRepositoryInterface $entity_repository
|
||||||
* The entity repository.
|
* The entity repository.
|
||||||
|
|
|
@ -4,7 +4,7 @@ namespace Drupal\Core\Config;
|
||||||
|
|
||||||
use Drupal\Core\Database\Connection;
|
use Drupal\Core\Database\Connection;
|
||||||
use Drupal\Core\Lock\LockBackendInterface;
|
use Drupal\Core\Lock\LockBackendInterface;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The export storage manager dispatches an event for the export storage.
|
* The export storage manager dispatches an event for the export storage.
|
||||||
|
@ -39,7 +39,7 @@ final class ExportStorageManager implements StorageManagerInterface {
|
||||||
/**
|
/**
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ final class ExportStorageManager implements StorageManagerInterface {
|
||||||
* The active config storage to prime the export storage.
|
* The active config storage to prime the export storage.
|
||||||
* @param \Drupal\Core\Database\Connection $connection
|
* @param \Drupal\Core\Database\Connection $connection
|
||||||
* The database connection.
|
* The database connection.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
* @param \Drupal\Core\Lock\LockBackendInterface $lock
|
* @param \Drupal\Core\Lock\LockBackendInterface $lock
|
||||||
* The used lock backend instance.
|
* The used lock backend instance.
|
||||||
|
|
|
@ -4,7 +4,7 @@ namespace Drupal\Core\Config;
|
||||||
|
|
||||||
use Drupal\Core\Database\Connection;
|
use Drupal\Core\Database\Connection;
|
||||||
use Drupal\Core\Lock\LockBackendInterface;
|
use Drupal\Core\Lock\LockBackendInterface;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The import storage transformer helps to use the configuration management api.
|
* The import storage transformer helps to use the configuration management api.
|
||||||
|
@ -26,7 +26,7 @@ final class ImportStorageTransformer {
|
||||||
/**
|
/**
|
||||||
* The event dispatcher to get changes to the configuration.
|
* The event dispatcher to get changes to the configuration.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ final class ImportStorageTransformer {
|
||||||
/**
|
/**
|
||||||
* ImportStorageTransformer constructor.
|
* ImportStorageTransformer constructor.
|
||||||
*
|
*
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
* @param \Drupal\Core\Database\Connection $connection
|
* @param \Drupal\Core\Database\Connection $connection
|
||||||
* The database connection.
|
* The database connection.
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
namespace Drupal\Core\Entity;
|
namespace Drupal\Core\Entity;
|
||||||
|
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reacts to entity type CRUD on behalf of the Entity system.
|
* Reacts to entity type CRUD on behalf of the Entity system.
|
||||||
|
@ -28,7 +28,7 @@ class EntityTypeListener implements EntityTypeListenerInterface {
|
||||||
/**
|
/**
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ class EntityTypeListener implements EntityTypeListenerInterface {
|
||||||
* The entity type manager.
|
* The entity type manager.
|
||||||
* @param \Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager
|
* @param \Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager
|
||||||
* The entity field manager.
|
* The entity field manager.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
* @param \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface $entity_last_installed_schema_repository
|
* @param \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface $entity_last_installed_schema_repository
|
||||||
* The entity last installed schema repository.
|
* The entity last installed schema repository.
|
||||||
|
|
|
@ -6,7 +6,7 @@ use Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface;
|
||||||
use Drupal\Core\Entity\EntityFieldManagerInterface;
|
use Drupal\Core\Entity\EntityFieldManagerInterface;
|
||||||
use Drupal\Core\Entity\EntityTypeManagerInterface;
|
use Drupal\Core\Entity\EntityTypeManagerInterface;
|
||||||
use Drupal\Core\Entity\FieldableEntityStorageInterface;
|
use Drupal\Core\Entity\FieldableEntityStorageInterface;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reacts to field storage definition CRUD on behalf of the Entity system.
|
* Reacts to field storage definition CRUD on behalf of the Entity system.
|
||||||
|
@ -25,7 +25,7 @@ class FieldStorageDefinitionListener implements FieldStorageDefinitionListenerIn
|
||||||
/**
|
/**
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ class FieldStorageDefinitionListener implements FieldStorageDefinitionListenerIn
|
||||||
*
|
*
|
||||||
* @param \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager
|
* @param \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager
|
||||||
* The entity type manager.
|
* The entity type manager.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
* @param \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface $entity_last_installed_schema_repository
|
* @param \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface $entity_last_installed_schema_repository
|
||||||
* The entity last installed schema repository.
|
* The entity last installed schema repository.
|
||||||
|
|
|
@ -17,7 +17,7 @@ use Drupal\Core\Render\Element;
|
||||||
use Drupal\Core\Render\ElementInfoManagerInterface;
|
use Drupal\Core\Render\ElementInfoManagerInterface;
|
||||||
use Drupal\Core\Security\TrustedCallbackInterface;
|
use Drupal\Core\Security\TrustedCallbackInterface;
|
||||||
use Drupal\Core\Theme\ThemeManagerInterface;
|
use Drupal\Core\Theme\ThemeManagerInterface;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
use Symfony\Component\HttpFoundation\FileBag;
|
use Symfony\Component\HttpFoundation\FileBag;
|
||||||
use Symfony\Component\HttpFoundation\ParameterBag;
|
use Symfony\Component\HttpFoundation\ParameterBag;
|
||||||
use Symfony\Component\HttpFoundation\RequestStack;
|
use Symfony\Component\HttpFoundation\RequestStack;
|
||||||
|
@ -40,7 +40,7 @@ class FormBuilder implements FormBuilderInterface, FormValidatorInterface, FormS
|
||||||
/**
|
/**
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -157,7 +157,7 @@ class FormBuilder implements FormBuilderInterface, FormValidatorInterface, FormS
|
||||||
* The form cache.
|
* The form cache.
|
||||||
* @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
|
* @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
|
||||||
* The module handler.
|
* The module handler.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
* @param \Symfony\Component\HttpFoundation\RequestStack $request_stack
|
* @param \Symfony\Component\HttpFoundation\RequestStack $request_stack
|
||||||
* The request stack.
|
* The request stack.
|
||||||
|
|
|
@ -16,7 +16,7 @@ use Drupal\Core\Render\RendererInterface;
|
||||||
use Drupal\Core\Render\RenderEvents;
|
use Drupal\Core\Render\RenderEvents;
|
||||||
use Drupal\Core\Routing\RouteMatchInterface;
|
use Drupal\Core\Routing\RouteMatchInterface;
|
||||||
use Drupal\Core\Theme\ThemeManagerInterface;
|
use Drupal\Core\Theme\ThemeManagerInterface;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -48,7 +48,7 @@ class HtmlRenderer implements MainContentRendererInterface {
|
||||||
/**
|
/**
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
/**
|
/**
|
||||||
|
@ -95,7 +95,7 @@ class HtmlRenderer implements MainContentRendererInterface {
|
||||||
* The title resolver.
|
* The title resolver.
|
||||||
* @param \Drupal\Component\Plugin\PluginManagerInterface $display_variant_manager
|
* @param \Drupal\Component\Plugin\PluginManagerInterface $display_variant_manager
|
||||||
* The display variant manager.
|
* The display variant manager.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
* @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
|
* @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
|
||||||
* The module handler.
|
* The module handler.
|
||||||
|
|
|
@ -9,7 +9,7 @@ use Drupal\Core\Extension\ModuleHandlerInterface;
|
||||||
use Drupal\Core\Lock\LockBackendInterface;
|
use Drupal\Core\Lock\LockBackendInterface;
|
||||||
use Drupal\Core\DestructableInterface;
|
use Drupal\Core\DestructableInterface;
|
||||||
use Drupal\Component\EventDispatcher\Event;
|
use Drupal\Component\EventDispatcher\Event;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
use Symfony\Component\Routing\RouteCollection;
|
use Symfony\Component\Routing\RouteCollection;
|
||||||
use Symfony\Component\Routing\Route;
|
use Symfony\Component\Routing\Route;
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ class RouteBuilder implements RouteBuilderInterface, DestructableInterface {
|
||||||
/**
|
/**
|
||||||
* The event dispatcher to notify of routes.
|
* The event dispatcher to notify of routes.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $dispatcher;
|
protected $dispatcher;
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ class RouteBuilder implements RouteBuilderInterface, DestructableInterface {
|
||||||
* The matcher dumper used to store the route information.
|
* The matcher dumper used to store the route information.
|
||||||
* @param \Drupal\Core\Lock\LockBackendInterface $lock
|
* @param \Drupal\Core\Lock\LockBackendInterface $lock
|
||||||
* The lock backend.
|
* The lock backend.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher
|
||||||
* The event dispatcher to notify of routes.
|
* The event dispatcher to notify of routes.
|
||||||
* @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
|
* @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
|
||||||
* The module handler.
|
* The module handler.
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Drupal\Core\Session;
|
namespace Drupal\Core\Session;
|
||||||
|
|
||||||
use Drupal\Core\DependencyInjection\DependencySerializationTrait;
|
use Drupal\Core\DependencyInjection\DependencySerializationTrait;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A proxied implementation of AccountInterface.
|
* A proxied implementation of AccountInterface.
|
||||||
|
@ -37,14 +37,14 @@ class AccountProxy implements AccountProxyInterface {
|
||||||
/**
|
/**
|
||||||
* Event dispatcher.
|
* Event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AccountProxy constructor.
|
* AccountProxy constructor.
|
||||||
*
|
*
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $eventDispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher
|
||||||
* Event dispatcher.
|
* Event dispatcher.
|
||||||
*/
|
*/
|
||||||
public function __construct(EventDispatcherInterface $eventDispatcher) {
|
public function __construct(EventDispatcherInterface $eventDispatcher) {
|
||||||
|
|
|
@ -11,7 +11,7 @@ use Drupal\Core\Asset\AttachedAssetsInterface;
|
||||||
use Drupal\Core\Config\ConfigFactoryInterface;
|
use Drupal\Core\Config\ConfigFactoryInterface;
|
||||||
use Drupal\Core\Render\HtmlResponse;
|
use Drupal\Core\Render\HtmlResponse;
|
||||||
use Drupal\Core\Render\RendererInterface;
|
use Drupal\Core\Render\RendererInterface;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\RequestStack;
|
use Symfony\Component\HttpFoundation\RequestStack;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
@ -194,7 +194,7 @@ class BigPipe {
|
||||||
/**
|
/**
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -216,7 +216,7 @@ class BigPipe {
|
||||||
* The request stack.
|
* The request stack.
|
||||||
* @param \Symfony\Component\HttpKernel\HttpKernelInterface $http_kernel
|
* @param \Symfony\Component\HttpKernel\HttpKernelInterface $http_kernel
|
||||||
* The HTTP kernel.
|
* The HTTP kernel.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
* @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory
|
* @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory
|
||||||
* The config factory.
|
* The config factory.
|
||||||
|
|
|
@ -8,7 +8,7 @@ use Drupal\Core\Config\ConfigFactoryInterface;
|
||||||
use Drupal\Core\Render\HtmlResponse;
|
use Drupal\Core\Render\HtmlResponse;
|
||||||
use Drupal\Core\Render\RendererInterface;
|
use Drupal\Core\Render\RendererInterface;
|
||||||
use Drupal\Tests\UnitTestCase;
|
use Drupal\Tests\UnitTestCase;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
use Symfony\Component\HttpFoundation\RequestStack;
|
use Symfony\Component\HttpFoundation\RequestStack;
|
||||||
use Symfony\Component\HttpFoundation\Session\SessionInterface;
|
use Symfony\Component\HttpFoundation\Session\SessionInterface;
|
||||||
use Symfony\Component\HttpKernel\HttpKernelInterface;
|
use Symfony\Component\HttpKernel\HttpKernelInterface;
|
||||||
|
|
|
@ -11,7 +11,7 @@ use Drupal\Core\Entity\EntityAccessControlHandler;
|
||||||
use Drupal\Core\Entity\EntityTypeInterface;
|
use Drupal\Core\Entity\EntityTypeInterface;
|
||||||
use Drupal\Core\Session\AccountInterface;
|
use Drupal\Core\Session\AccountInterface;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines the access control handler for the custom block entity type.
|
* Defines the access control handler for the custom block entity type.
|
||||||
|
@ -23,7 +23,7 @@ class BlockContentAccessControlHandler extends EntityAccessControlHandler implem
|
||||||
/**
|
/**
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ class BlockContentAccessControlHandler extends EntityAccessControlHandler implem
|
||||||
*
|
*
|
||||||
* @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
|
* @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
|
||||||
* The entity type.
|
* The entity type.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*/
|
*/
|
||||||
public function __construct(EntityTypeInterface $entity_type, EventDispatcherInterface $dispatcher) {
|
public function __construct(EntityTypeInterface $entity_type, EventDispatcherInterface $dispatcher) {
|
||||||
|
|
|
@ -24,7 +24,7 @@ use Drupal\Core\Render\RendererInterface;
|
||||||
use Drupal\Core\Serialization\Yaml;
|
use Drupal\Core\Serialization\Yaml;
|
||||||
use Drupal\Core\Url;
|
use Drupal\Core\Url;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides a form for importing a single configuration file.
|
* Provides a form for importing a single configuration file.
|
||||||
|
@ -57,7 +57,7 @@ class ConfigSingleImportForm extends ConfirmFormBase {
|
||||||
/**
|
/**
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -133,7 +133,7 @@ class ConfigSingleImportForm extends ConfirmFormBase {
|
||||||
* The config storage.
|
* The config storage.
|
||||||
* @param \Drupal\Core\Render\RendererInterface $renderer
|
* @param \Drupal\Core\Render\RendererInterface $renderer
|
||||||
* The renderer service.
|
* The renderer service.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
||||||
* The event dispatcher used to notify subscribers of config import events.
|
* The event dispatcher used to notify subscribers of config import events.
|
||||||
* @param \Drupal\Core\Config\ConfigManagerInterface $config_manager
|
* @param \Drupal\Core\Config\ConfigManagerInterface $config_manager
|
||||||
* The configuration manager.
|
* The configuration manager.
|
||||||
|
|
|
@ -19,7 +19,7 @@ use Drupal\Core\Lock\LockBackendInterface;
|
||||||
use Drupal\Core\Config\StorageComparer;
|
use Drupal\Core\Config\StorageComparer;
|
||||||
use Drupal\Core\Render\RendererInterface;
|
use Drupal\Core\Render\RendererInterface;
|
||||||
use Drupal\Core\Url;
|
use Drupal\Core\Url;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -60,7 +60,7 @@ class ConfigSync extends FormBase {
|
||||||
/**
|
/**
|
||||||
* Event dispatcher.
|
* Event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -131,7 +131,7 @@ class ConfigSync extends FormBase {
|
||||||
* The snapshot storage.
|
* The snapshot storage.
|
||||||
* @param \Drupal\Core\Lock\LockBackendInterface $lock
|
* @param \Drupal\Core\Lock\LockBackendInterface $lock
|
||||||
* The lock object.
|
* The lock object.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
||||||
* Event dispatcher.
|
* Event dispatcher.
|
||||||
* @param \Drupal\Core\Config\ConfigManagerInterface $config_manager
|
* @param \Drupal\Core\Config\ConfigManagerInterface $config_manager
|
||||||
* Configuration manager.
|
* Configuration manager.
|
||||||
|
|
|
@ -13,7 +13,7 @@ use Drupal\Core\StringTranslation\TranslationInterface;
|
||||||
use Drupal\Core\Url;
|
use Drupal\Core\Url;
|
||||||
use Drupal\locale\LocaleConfigManager;
|
use Drupal\locale\LocaleConfigManager;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
use Symfony\Component\Routing\Route;
|
use Symfony\Component\Routing\Route;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -74,7 +74,7 @@ class ConfigEntityMapper extends ConfigNamesMapper {
|
||||||
* The entity type manager.
|
* The entity type manager.
|
||||||
* @param \Drupal\Core\Language\LanguageManagerInterface $language_manager
|
* @param \Drupal\Core\Language\LanguageManagerInterface $language_manager
|
||||||
* The language manager.
|
* The language manager.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*/
|
*/
|
||||||
public function __construct($plugin_id, $plugin_definition, ConfigFactoryInterface $config_factory, TypedConfigManagerInterface $typed_config, LocaleConfigManager $locale_config_manager, ConfigMapperManagerInterface $config_mapper_manager, RouteProviderInterface $route_provider, TranslationInterface $translation_manager, EntityTypeManagerInterface $entity_type_manager, LanguageManagerInterface $language_manager, EventDispatcherInterface $event_dispatcher = NULL) {
|
public function __construct($plugin_id, $plugin_definition, ConfigFactoryInterface $config_factory, TypedConfigManagerInterface $typed_config, LocaleConfigManager $locale_config_manager, ConfigMapperManagerInterface $config_mapper_manager, RouteProviderInterface $route_provider, TranslationInterface $translation_manager, EntityTypeManagerInterface $entity_type_manager, LanguageManagerInterface $language_manager, EventDispatcherInterface $event_dispatcher = NULL) {
|
||||||
|
|
|
@ -17,7 +17,7 @@ use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
||||||
use Drupal\Core\Url;
|
use Drupal\Core\Url;
|
||||||
use Drupal\locale\LocaleConfigManager;
|
use Drupal\locale\LocaleConfigManager;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
use Symfony\Component\Routing\Route;
|
use Symfony\Component\Routing\Route;
|
||||||
use Symfony\Component\Routing\RouteCollection;
|
use Symfony\Component\Routing\RouteCollection;
|
||||||
|
|
||||||
|
@ -92,7 +92,7 @@ class ConfigNamesMapper extends PluginBase implements ConfigMapperInterface, Con
|
||||||
/**
|
/**
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -125,7 +125,7 @@ class ConfigNamesMapper extends PluginBase implements ConfigMapperInterface, Con
|
||||||
* The string translation manager.
|
* The string translation manager.
|
||||||
* @param \Drupal\Core\Language\LanguageManagerInterface $language_manager
|
* @param \Drupal\Core\Language\LanguageManagerInterface $language_manager
|
||||||
* The language manager.
|
* The language manager.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
||||||
* (optional) The event dispatcher.
|
* (optional) The event dispatcher.
|
||||||
*
|
*
|
||||||
* @throws \Symfony\Component\Routing\Exception\RouteNotFoundException
|
* @throws \Symfony\Component\Routing\Exception\RouteNotFoundException
|
||||||
|
|
|
@ -52,7 +52,7 @@ class ConfigEntityMapperTest extends UnitTestCase {
|
||||||
/**
|
/**
|
||||||
* The mocked event dispatcher.
|
* The mocked event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface|\PHPUnit\Framework\MockObject\MockObject
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface|\PHPUnit\Framework\MockObject\MockObject
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ class ConfigEntityMapperTest extends UnitTestCase {
|
||||||
|
|
||||||
$this->languageManager = $this->createMock('Drupal\Core\Language\LanguageManagerInterface');
|
$this->languageManager = $this->createMock('Drupal\Core\Language\LanguageManagerInterface');
|
||||||
|
|
||||||
$this->eventDispatcher = $this->createMock('Symfony\Contracts\EventDispatcher\EventDispatcherInterface');
|
$this->eventDispatcher = $this->createMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');
|
||||||
|
|
||||||
$this->configEntityMapper = new ConfigEntityMapper(
|
$this->configEntityMapper = new ConfigEntityMapper(
|
||||||
'configurable_language',
|
'configurable_language',
|
||||||
|
|
|
@ -38,7 +38,7 @@ class ConfigFieldMapperTest extends UnitTestCase {
|
||||||
/**
|
/**
|
||||||
* The mocked event dispatcher.
|
* The mocked event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface|\PHPUnit\Framework\MockObject\MockObject
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface|\PHPUnit\Framework\MockObject\MockObject
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ class ConfigFieldMapperTest extends UnitTestCase {
|
||||||
->disableOriginalConstructor()
|
->disableOriginalConstructor()
|
||||||
->getMock();
|
->getMock();
|
||||||
|
|
||||||
$this->eventDispatcher = $this->createMock('Symfony\Contracts\EventDispatcher\EventDispatcherInterface');
|
$this->eventDispatcher = $this->createMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');
|
||||||
|
|
||||||
$this->configFieldMapper = new ConfigFieldMapper(
|
$this->configFieldMapper = new ConfigFieldMapper(
|
||||||
'node_fields',
|
'node_fields',
|
||||||
|
|
|
@ -91,7 +91,7 @@ class ConfigNamesMapperTest extends UnitTestCase {
|
||||||
/**
|
/**
|
||||||
* The mocked event dispatcher.
|
* The mocked event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface|\PHPUnit\Framework\MockObject\MockObject
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface|\PHPUnit\Framework\MockObject\MockObject
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -129,7 +129,7 @@ class ConfigNamesMapperTest extends UnitTestCase {
|
||||||
|
|
||||||
$this->languageManager = $this->createMock('Drupal\Core\Language\LanguageManagerInterface');
|
$this->languageManager = $this->createMock('Drupal\Core\Language\LanguageManagerInterface');
|
||||||
|
|
||||||
$this->eventDispatcher = $this->createMock('Symfony\Contracts\EventDispatcher\EventDispatcherInterface');
|
$this->eventDispatcher = $this->createMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');
|
||||||
|
|
||||||
$this->configNamesMapper = new TestConfigNamesMapper(
|
$this->configNamesMapper = new TestConfigNamesMapper(
|
||||||
'system.site_information_settings',
|
'system.site_information_settings',
|
||||||
|
|
|
@ -16,7 +16,7 @@ use Drupal\Core\Entity\FieldableEntityInterface;
|
||||||
use Drupal\Core\Field\FieldDefinitionInterface;
|
use Drupal\Core\Field\FieldDefinitionInterface;
|
||||||
use Drupal\Core\Installer\InstallerKernel;
|
use Drupal\Core\Installer\InstallerKernel;
|
||||||
use Drupal\Core\TypedData\DataReferenceTargetDefinition;
|
use Drupal\Core\TypedData\DataReferenceTargetDefinition;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
use Symfony\Component\HttpKernel\Exception\PreconditionFailedHttpException;
|
use Symfony\Component\HttpKernel\Exception\PreconditionFailedHttpException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -72,7 +72,7 @@ class ResourceTypeRepository implements ResourceTypeRepositoryInterface {
|
||||||
/**
|
/**
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ class ResourceTypeRepository implements ResourceTypeRepositoryInterface {
|
||||||
* The entity field manager.
|
* The entity field manager.
|
||||||
* @param \Drupal\Core\Cache\CacheBackendInterface $cache
|
* @param \Drupal\Core\Cache\CacheBackendInterface $cache
|
||||||
* The cache backend.
|
* The cache backend.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*/
|
*/
|
||||||
public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityTypeBundleInfoInterface $entity_bundle_info, EntityFieldManagerInterface $entity_field_manager, CacheBackendInterface $cache, EventDispatcherInterface $dispatcher) {
|
public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityTypeBundleInfoInterface $entity_bundle_info, EntityFieldManagerInterface $entity_field_manager, CacheBackendInterface $cache, EventDispatcherInterface $dispatcher) {
|
||||||
|
|
|
@ -11,7 +11,7 @@ use Drupal\Core\Config\StorageInterface;
|
||||||
use Drupal\Core\Config\TypedConfigManagerInterface;
|
use Drupal\Core\Config\TypedConfigManagerInterface;
|
||||||
use Drupal\Core\Language\LanguageDefault;
|
use Drupal\Core\Language\LanguageDefault;
|
||||||
use Drupal\Core\Language\LanguageInterface;
|
use Drupal\Core\Language\LanguageInterface;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -48,7 +48,7 @@ class LanguageConfigFactoryOverride extends ConfigFactoryOverrideBase implements
|
||||||
/**
|
/**
|
||||||
* An event dispatcher instance to use for configuration events.
|
* An event dispatcher instance to use for configuration events.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ class LanguageConfigFactoryOverride extends ConfigFactoryOverrideBase implements
|
||||||
*
|
*
|
||||||
* @param \Drupal\Core\Config\StorageInterface $storage
|
* @param \Drupal\Core\Config\StorageInterface $storage
|
||||||
* The configuration storage engine.
|
* The configuration storage engine.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
||||||
* An event dispatcher instance to use for configuration events.
|
* An event dispatcher instance to use for configuration events.
|
||||||
* @param \Drupal\Core\Config\TypedConfigManagerInterface $typed_config
|
* @param \Drupal\Core\Config\TypedConfigManagerInterface $typed_config
|
||||||
* The typed configuration manager.
|
* The typed configuration manager.
|
||||||
|
|
|
@ -6,7 +6,7 @@ use Drupal\Core\Cache\Cache;
|
||||||
use Drupal\Core\Config\StorableConfigBase;
|
use Drupal\Core\Config\StorableConfigBase;
|
||||||
use Drupal\Core\Config\StorageInterface;
|
use Drupal\Core\Config\StorageInterface;
|
||||||
use Drupal\Core\Config\TypedConfigManagerInterface;
|
use Drupal\Core\Config\TypedConfigManagerInterface;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines language configuration overrides.
|
* Defines language configuration overrides.
|
||||||
|
@ -18,7 +18,7 @@ class LanguageConfigOverride extends StorableConfigBase {
|
||||||
/**
|
/**
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ class LanguageConfigOverride extends StorableConfigBase {
|
||||||
* configuration override.
|
* configuration override.
|
||||||
* @param \Drupal\Core\Config\TypedConfigManagerInterface $typed_config
|
* @param \Drupal\Core\Config\TypedConfigManagerInterface $typed_config
|
||||||
* The typed configuration manager service.
|
* The typed configuration manager service.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*/
|
*/
|
||||||
public function __construct($name, StorageInterface $storage, TypedConfigManagerInterface $typed_config, EventDispatcherInterface $event_dispatcher) {
|
public function __construct($name, StorageInterface $storage, TypedConfigManagerInterface $typed_config, EventDispatcherInterface $event_dispatcher) {
|
||||||
|
|
|
@ -30,7 +30,7 @@ class LanguageConfigOverrideTest extends UnitTestCase {
|
||||||
/**
|
/**
|
||||||
* Event Dispatcher.
|
* Event Dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface|\PHPUnit\Framework\MockObject\MockObject
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface|\PHPUnit\Framework\MockObject\MockObject
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ class LanguageConfigOverrideTest extends UnitTestCase {
|
||||||
*/
|
*/
|
||||||
protected function setUp(): void {
|
protected function setUp(): void {
|
||||||
$this->storage = $this->createMock('Drupal\Core\Config\StorageInterface');
|
$this->storage = $this->createMock('Drupal\Core\Config\StorageInterface');
|
||||||
$this->eventDispatcher = $this->createMock('Symfony\Contracts\EventDispatcher\EventDispatcherInterface');
|
$this->eventDispatcher = $this->createMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');
|
||||||
$this->typedConfig = $this->createMock('\Drupal\Core\Config\TypedConfigManagerInterface');
|
$this->typedConfig = $this->createMock('\Drupal\Core\Config\TypedConfigManagerInterface');
|
||||||
$this->configTranslation = new LanguageConfigOverride('config.test', $this->storage, $this->typedConfig, $this->eventDispatcher);
|
$this->configTranslation = new LanguageConfigOverride('config.test', $this->storage, $this->typedConfig, $this->eventDispatcher);
|
||||||
$this->cacheTagsInvalidator = $this->createMock('Drupal\Core\Cache\CacheTagsInvalidatorInterface');
|
$this->cacheTagsInvalidator = $this->createMock('Drupal\Core\Cache\CacheTagsInvalidatorInterface');
|
||||||
|
|
|
@ -14,7 +14,7 @@ use Drupal\layout_builder\LayoutBuilderEvents;
|
||||||
use Drupal\layout_builder\LayoutBuilderHighlightTrait;
|
use Drupal\layout_builder\LayoutBuilderHighlightTrait;
|
||||||
use Drupal\layout_builder\SectionStorageInterface;
|
use Drupal\layout_builder\SectionStorageInterface;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines a render element for building the Layout Builder UI.
|
* Defines a render element for building the Layout Builder UI.
|
||||||
|
@ -33,7 +33,7 @@ class LayoutBuilder extends RenderElement implements ContainerFactoryPluginInter
|
||||||
/**
|
/**
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ class LayoutBuilder extends RenderElement implements ContainerFactoryPluginInter
|
||||||
* The plugin ID for the plugin instance.
|
* The plugin ID for the plugin instance.
|
||||||
* @param mixed $plugin_definition
|
* @param mixed $plugin_definition
|
||||||
* The plugin implementation definition.
|
* The plugin implementation definition.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
||||||
* The event dispatcher service.
|
* The event dispatcher service.
|
||||||
* @param \Drupal\Core\Messenger\MessengerInterface|null $messenger
|
* @param \Drupal\Core\Messenger\MessengerInterface|null $messenger
|
||||||
* The messenger service. This is no longer used and will be removed in
|
* The messenger service. This is no longer used and will be removed in
|
||||||
|
|
|
@ -272,7 +272,7 @@ class SectionComponent {
|
||||||
/**
|
/**
|
||||||
* Wraps the event dispatcher.
|
* Wraps the event dispatcher.
|
||||||
*
|
*
|
||||||
* @return \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @return \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*/
|
*/
|
||||||
protected function eventDispatcher() {
|
protected function eventDispatcher() {
|
||||||
|
|
|
@ -6,7 +6,7 @@ use Drupal\Core\Messenger\MessengerInterface;
|
||||||
use Drupal\KernelTests\KernelTestBase;
|
use Drupal\KernelTests\KernelTestBase;
|
||||||
use Drupal\layout_builder\Element\LayoutBuilder;
|
use Drupal\layout_builder\Element\LayoutBuilder;
|
||||||
use Drupal\layout_builder\LayoutTempstoreRepositoryInterface;
|
use Drupal\layout_builder\LayoutTempstoreRepositoryInterface;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests the deprecation notices of the layout builder element.
|
* Tests the deprecation notices of the layout builder element.
|
||||||
|
|
|
@ -14,7 +14,7 @@ use Drupal\migrate\Event\MigrateRowDeleteEvent;
|
||||||
use Drupal\migrate\Exception\RequirementsException;
|
use Drupal\migrate\Exception\RequirementsException;
|
||||||
use Drupal\migrate\Plugin\MigrateIdMapInterface;
|
use Drupal\migrate\Plugin\MigrateIdMapInterface;
|
||||||
use Drupal\migrate\Plugin\MigrationInterface;
|
use Drupal\migrate\Plugin\MigrationInterface;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines a migrate executable class.
|
* Defines a migrate executable class.
|
||||||
|
@ -77,7 +77,7 @@ class MigrateExecutable implements MigrateExecutableInterface {
|
||||||
/**
|
/**
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -97,7 +97,7 @@ class MigrateExecutable implements MigrateExecutableInterface {
|
||||||
* The migration to run.
|
* The migration to run.
|
||||||
* @param \Drupal\migrate\MigrateMessageInterface $message
|
* @param \Drupal\migrate\MigrateMessageInterface $message
|
||||||
* (optional) The migrate message service.
|
* (optional) The migrate message service.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
||||||
* (optional) The event dispatcher.
|
* (optional) The event dispatcher.
|
||||||
*
|
*
|
||||||
* @throws \Drupal\migrate\MigrateException
|
* @throws \Drupal\migrate\MigrateException
|
||||||
|
@ -135,7 +135,7 @@ class MigrateExecutable implements MigrateExecutableInterface {
|
||||||
/**
|
/**
|
||||||
* Gets the event dispatcher.
|
* Gets the event dispatcher.
|
||||||
*
|
*
|
||||||
* @return \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @return \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected function getEventDispatcher() {
|
protected function getEventDispatcher() {
|
||||||
if (!$this->eventDispatcher) {
|
if (!$this->eventDispatcher) {
|
||||||
|
|
|
@ -19,7 +19,7 @@ use Drupal\migrate\Event\MigrateEvents;
|
||||||
use Drupal\migrate\Event\MigrateMapSaveEvent;
|
use Drupal\migrate\Event\MigrateMapSaveEvent;
|
||||||
use Drupal\migrate\Event\MigrateMapDeleteEvent;
|
use Drupal\migrate\Event\MigrateMapDeleteEvent;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines the sql based ID map implementation.
|
* Defines the sql based ID map implementation.
|
||||||
|
@ -39,7 +39,7 @@ class Sql extends PluginBase implements MigrateIdMapInterface, ContainerFactoryP
|
||||||
/**
|
/**
|
||||||
* An event dispatcher instance to use for map events.
|
* An event dispatcher instance to use for map events.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -154,7 +154,7 @@ class Sql extends PluginBase implements MigrateIdMapInterface, ContainerFactoryP
|
||||||
* The configuration for the plugin.
|
* The configuration for the plugin.
|
||||||
* @param \Drupal\migrate\Plugin\MigrationInterface $migration
|
* @param \Drupal\migrate\Plugin\MigrationInterface $migration
|
||||||
* The migration to do.
|
* The migration to do.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*/
|
*/
|
||||||
public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, EventDispatcherInterface $event_dispatcher) {
|
public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, EventDispatcherInterface $event_dispatcher) {
|
||||||
|
|
|
@ -7,7 +7,7 @@ use Drupal\Core\Database\DatabaseExceptionWrapper;
|
||||||
use Drupal\Tests\migrate\Kernel\MigrateTestBase;
|
use Drupal\Tests\migrate\Kernel\MigrateTestBase;
|
||||||
use Drupal\Tests\migrate\Unit\TestSqlIdMap;
|
use Drupal\Tests\migrate\Unit\TestSqlIdMap;
|
||||||
use Drupal\migrate\MigrateException;
|
use Drupal\migrate\MigrateException;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests that the migrate map table is created.
|
* Tests that the migrate map table is created.
|
||||||
|
@ -26,7 +26,7 @@ class SqlTest extends MigrateTestBase {
|
||||||
/**
|
/**
|
||||||
* Prophesized event dispatcher.
|
* Prophesized event dispatcher.
|
||||||
*
|
*
|
||||||
* @var object|\Prophecy\Prophecy\ProphecySubjectInterface|\Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var object|\Prophecy\Prophecy\ProphecySubjectInterface|\Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ class MigrateExecutableTest extends MigrateTestCase {
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
$this->migration = $this->getMigration();
|
$this->migration = $this->getMigration();
|
||||||
$this->message = $this->createMock('Drupal\migrate\MigrateMessageInterface');
|
$this->message = $this->createMock('Drupal\migrate\MigrateMessageInterface');
|
||||||
$event_dispatcher = $this->createMock('Symfony\Contracts\EventDispatcher\EventDispatcherInterface');
|
$event_dispatcher = $this->createMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');
|
||||||
$this->executable = new TestMigrateExecutable($this->migration, $this->message, $event_dispatcher);
|
$this->executable = new TestMigrateExecutable($this->migration, $this->message, $event_dispatcher);
|
||||||
$this->executable->setStringTranslation($this->getStringTranslationStub());
|
$this->executable->setStringTranslation($this->getStringTranslationStub());
|
||||||
}
|
}
|
||||||
|
|
|
@ -444,8 +444,8 @@ class MigrateSourceTest extends MigrateTestCase {
|
||||||
protected function getMigrateExecutable($migration) {
|
protected function getMigrateExecutable($migration) {
|
||||||
/** @var \Drupal\migrate\MigrateMessageInterface $message */
|
/** @var \Drupal\migrate\MigrateMessageInterface $message */
|
||||||
$message = $this->createMock('Drupal\migrate\MigrateMessageInterface');
|
$message = $this->createMock('Drupal\migrate\MigrateMessageInterface');
|
||||||
/** @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher */
|
/** @var \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher */
|
||||||
$event_dispatcher = $this->createMock('Symfony\Contracts\EventDispatcher\EventDispatcherInterface');
|
$event_dispatcher = $this->createMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');
|
||||||
return new MigrateExecutable($migration, $message, $event_dispatcher);
|
return new MigrateExecutable($migration, $message, $event_dispatcher);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -230,8 +230,8 @@ class MigrateSqlIdMapEnsureTablesTest extends MigrateTestCase {
|
||||||
$migration->expects($this->any())
|
$migration->expects($this->any())
|
||||||
->method('getDestinationPlugin')
|
->method('getDestinationPlugin')
|
||||||
->willReturn($plugin);
|
->willReturn($plugin);
|
||||||
/** @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher */
|
/** @var \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher */
|
||||||
$event_dispatcher = $this->createMock('Symfony\Contracts\EventDispatcher\EventDispatcherInterface');
|
$event_dispatcher = $this->createMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');
|
||||||
$map = new TestSqlIdMap($database, [], 'sql', [], $migration, $event_dispatcher);
|
$map = new TestSqlIdMap($database, [], 'sql', [], $migration, $event_dispatcher);
|
||||||
$map->getDatabase();
|
$map->getDatabase();
|
||||||
}
|
}
|
||||||
|
|
|
@ -110,7 +110,7 @@ class MigrateSqlIdMapTest extends MigrateTestCase {
|
||||||
$migration
|
$migration
|
||||||
->method('getDestinationPlugin')
|
->method('getDestinationPlugin')
|
||||||
->willReturn($plugin);
|
->willReturn($plugin);
|
||||||
$event_dispatcher = $this->createMock('Symfony\Contracts\EventDispatcher\EventDispatcherInterface');
|
$event_dispatcher = $this->createMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');
|
||||||
|
|
||||||
$id_map = new TestSqlIdMap($this->database, [], 'sql', [], $migration, $event_dispatcher);
|
$id_map = new TestSqlIdMap($this->database, [], 'sql', [], $migration, $event_dispatcher);
|
||||||
$migration
|
$migration
|
||||||
|
|
|
@ -6,7 +6,7 @@ use Drupal\Core\Database\Connection;
|
||||||
use Drupal\migrate\Plugin\MigrationInterface;
|
use Drupal\migrate\Plugin\MigrationInterface;
|
||||||
use Drupal\migrate\MigrateException;
|
use Drupal\migrate\MigrateException;
|
||||||
use Drupal\migrate\Plugin\migrate\id_map\Sql;
|
use Drupal\migrate\Plugin\migrate\id_map\Sql;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines a SQL ID map for use in tests.
|
* Defines a SQL ID map for use in tests.
|
||||||
|
@ -26,7 +26,7 @@ class TestSqlIdMap extends Sql implements \Iterator {
|
||||||
* The configuration for the plugin.
|
* The configuration for the plugin.
|
||||||
* @param \Drupal\migrate\Plugin\MigrationInterface $migration
|
* @param \Drupal\migrate\Plugin\MigrationInterface $migration
|
||||||
* The migration to do.
|
* The migration to do.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
||||||
* The event dispatcher service.
|
* The event dispatcher service.
|
||||||
*/
|
*/
|
||||||
public function __construct(Connection $database, array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, EventDispatcherInterface $event_dispatcher) {
|
public function __construct(Connection $database, array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, EventDispatcherInterface $event_dispatcher) {
|
||||||
|
|
|
@ -8,7 +8,7 @@ use Drupal\migrate\Plugin\migrate\process\Get;
|
||||||
use Drupal\migrate\Plugin\migrate\process\SubProcess;
|
use Drupal\migrate\Plugin\migrate\process\SubProcess;
|
||||||
use Drupal\migrate\Row;
|
use Drupal\migrate\Row;
|
||||||
use Drupal\Tests\migrate\Unit\MigrateTestCase;
|
use Drupal\Tests\migrate\Unit\MigrateTestCase;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests the sub_process process plugin.
|
* Tests the sub_process process plugin.
|
||||||
|
|
|
@ -5,7 +5,7 @@ namespace Drupal\user;
|
||||||
use Drupal\user\Event\UserEvents;
|
use Drupal\user\Event\UserEvents;
|
||||||
use Drupal\user\Event\UserFloodEvent;
|
use Drupal\user\Event\UserFloodEvent;
|
||||||
use Drupal\Core\Flood\FloodInterface;
|
use Drupal\Core\Flood\FloodInterface;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
use Symfony\Component\HttpFoundation\RequestStack;
|
use Symfony\Component\HttpFoundation\RequestStack;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -25,7 +25,7 @@ class UserFloodControl implements UserFloodControlInterface {
|
||||||
/**
|
/**
|
||||||
* Event dispatcher.
|
* Event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ class UserFloodControl implements UserFloodControlInterface {
|
||||||
*
|
*
|
||||||
* @param \Drupal\Core\Flood\FloodInterface $flood
|
* @param \Drupal\Core\Flood\FloodInterface $flood
|
||||||
* The flood service.
|
* The flood service.
|
||||||
* @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher
|
||||||
* The event dispatcher service.
|
* The event dispatcher service.
|
||||||
* @param \Symfony\Component\HttpFoundation\RequestStack $request_stack
|
* @param \Symfony\Component\HttpFoundation\RequestStack $request_stack
|
||||||
* The request stack used to retrieve the current request.
|
* The request stack used to retrieve the current request.
|
||||||
|
|
|
@ -43,7 +43,7 @@ class ViewsEntitySchemaSubscriberIntegrationTest extends ViewsKernelTestBase {
|
||||||
/**
|
/**
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
|
|
@ -151,7 +151,7 @@ class ContainerAwareEventDispatcherTest extends TestCase {
|
||||||
* @group legacy
|
* @group legacy
|
||||||
*/
|
*/
|
||||||
public function testDispatchArgumentOrderDeprecation() {
|
public function testDispatchArgumentOrderDeprecation() {
|
||||||
$this->expectDeprecation('Calling the Symfony\Contracts\EventDispatcher\EventDispatcherInterface::dispatch() method with a string event name as the first argument is deprecated in drupal:9.1.0, an Event object will be required instead in drupal:10.0.0. See https://www.drupal.org/node/3154407');
|
$this->expectDeprecation('Calling the Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch() method with a string event name as the first argument is deprecated in drupal:9.1.0, an Event object will be required instead in drupal:10.0.0. See https://www.drupal.org/node/3154407');
|
||||||
$container = new ContainerBuilder();
|
$container = new ContainerBuilder();
|
||||||
$dispatcher = new ContainerAwareEventDispatcher($container, []);
|
$dispatcher = new ContainerAwareEventDispatcher($container, []);
|
||||||
$dispatcher->dispatch('foo');
|
$dispatcher->dispatch('foo');
|
||||||
|
|
|
@ -30,7 +30,7 @@ class ConfigFactoryTest extends UnitTestCase {
|
||||||
/**
|
/**
|
||||||
* Event Dispatcher.
|
* Event Dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface|\PHPUnit\Framework\MockObject\MockObject
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface|\PHPUnit\Framework\MockObject\MockObject
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ class ConfigFactoryTest extends UnitTestCase {
|
||||||
*/
|
*/
|
||||||
protected function setUp(): void {
|
protected function setUp(): void {
|
||||||
$this->storage = $this->createMock('Drupal\Core\Config\StorageInterface');
|
$this->storage = $this->createMock('Drupal\Core\Config\StorageInterface');
|
||||||
$this->eventDispatcher = $this->createMock('Symfony\Contracts\EventDispatcher\EventDispatcherInterface');
|
$this->eventDispatcher = $this->createMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');
|
||||||
$this->typedConfig = $this->createMock('\Drupal\Core\Config\TypedConfigManagerInterface');
|
$this->typedConfig = $this->createMock('\Drupal\Core\Config\TypedConfigManagerInterface');
|
||||||
$this->configFactory = new ConfigFactory($this->storage, $this->eventDispatcher, $this->typedConfig);
|
$this->configFactory = new ConfigFactory($this->storage, $this->eventDispatcher, $this->typedConfig);
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ class ConfigTest extends UnitTestCase {
|
||||||
/**
|
/**
|
||||||
* Event Dispatcher.
|
* Event Dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface|\PHPUnit\Framework\MockObject\MockObject
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface|\PHPUnit\Framework\MockObject\MockObject
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ class ConfigTest extends UnitTestCase {
|
||||||
|
|
||||||
protected function setUp(): void {
|
protected function setUp(): void {
|
||||||
$this->storage = $this->createMock('Drupal\Core\Config\StorageInterface');
|
$this->storage = $this->createMock('Drupal\Core\Config\StorageInterface');
|
||||||
$this->eventDispatcher = $this->createMock('Symfony\Contracts\EventDispatcher\EventDispatcherInterface');
|
$this->eventDispatcher = $this->createMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');
|
||||||
$this->typedConfig = $this->createMock('\Drupal\Core\Config\TypedConfigManagerInterface');
|
$this->typedConfig = $this->createMock('\Drupal\Core\Config\TypedConfigManagerInterface');
|
||||||
$this->config = new Config('config.test', $this->storage, $this->eventDispatcher, $this->typedConfig);
|
$this->config = new Config('config.test', $this->storage, $this->eventDispatcher, $this->typedConfig);
|
||||||
$this->cacheTagsInvalidator = $this->createMock('Drupal\Core\Cache\CacheTagsInvalidatorInterface');
|
$this->cacheTagsInvalidator = $this->createMock('Drupal\Core\Cache\CacheTagsInvalidatorInterface');
|
||||||
|
|
|
@ -22,7 +22,7 @@ class ImmutableConfigTest extends UnitTestCase {
|
||||||
protected function setUp(): void {
|
protected function setUp(): void {
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
$storage = $this->createMock('Drupal\Core\Config\StorageInterface');
|
$storage = $this->createMock('Drupal\Core\Config\StorageInterface');
|
||||||
$event_dispatcher = $this->createMock('Symfony\Contracts\EventDispatcher\EventDispatcherInterface');
|
$event_dispatcher = $this->createMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');
|
||||||
$typed_config = $this->createMock('Drupal\Core\Config\TypedConfigManagerInterface');
|
$typed_config = $this->createMock('Drupal\Core\Config\TypedConfigManagerInterface');
|
||||||
$this->config = new ImmutableConfig('test', $storage, $event_dispatcher, $typed_config);
|
$this->config = new ImmutableConfig('test', $storage, $event_dispatcher, $typed_config);
|
||||||
}
|
}
|
||||||
|
|
|
@ -89,7 +89,7 @@ class EntityFieldManagerTest extends UnitTestCase {
|
||||||
/**
|
/**
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface|\Prophecy\Prophecy\ProphecyInterface
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface|\Prophecy\Prophecy\ProphecyInterface
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
|
|
@ -115,7 +115,7 @@ abstract class FormTestBase extends UnitTestCase {
|
||||||
/**
|
/**
|
||||||
* The event dispatcher.
|
* The event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface|\PHPUnit\Framework\MockObject\MockObject
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface|\PHPUnit\Framework\MockObject\MockObject
|
||||||
*/
|
*/
|
||||||
protected $eventDispatcher;
|
protected $eventDispatcher;
|
||||||
|
|
||||||
|
@ -174,7 +174,7 @@ abstract class FormTestBase extends UnitTestCase {
|
||||||
$this->account = $this->createMock('Drupal\Core\Session\AccountInterface');
|
$this->account = $this->createMock('Drupal\Core\Session\AccountInterface');
|
||||||
$this->themeManager = $this->createMock('Drupal\Core\Theme\ThemeManagerInterface');
|
$this->themeManager = $this->createMock('Drupal\Core\Theme\ThemeManagerInterface');
|
||||||
$this->request = Request::createFromGlobals();
|
$this->request = Request::createFromGlobals();
|
||||||
$this->eventDispatcher = $this->createMock('Symfony\Contracts\EventDispatcher\EventDispatcherInterface');
|
$this->eventDispatcher = $this->createMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');
|
||||||
$this->requestStack = new RequestStack();
|
$this->requestStack = new RequestStack();
|
||||||
$this->requestStack->push($this->request);
|
$this->requestStack->push($this->request);
|
||||||
$this->logger = $this->createMock('Drupal\Core\Logger\LoggerChannelInterface');
|
$this->logger = $this->createMock('Drupal\Core\Logger\LoggerChannelInterface');
|
||||||
|
|
|
@ -15,7 +15,7 @@ class ContainerDerivativeDiscoveryDecoratorTest extends UnitTestCase {
|
||||||
* @covers ::getDefinitions
|
* @covers ::getDefinitions
|
||||||
*/
|
*/
|
||||||
public function testGetDefinitions() {
|
public function testGetDefinitions() {
|
||||||
$example_service = $this->createMock('Symfony\Contracts\EventDispatcher\EventDispatcherInterface');
|
$example_service = $this->createMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');
|
||||||
$example_container = $this->getMockBuilder('Symfony\Component\DependencyInjection\ContainerBuilder')
|
$example_container = $this->getMockBuilder('Symfony\Component\DependencyInjection\ContainerBuilder')
|
||||||
->setMethods(['get'])
|
->setMethods(['get'])
|
||||||
->getMock();
|
->getMock();
|
||||||
|
|
|
@ -4,7 +4,7 @@ namespace Drupal\Tests\Core\Plugin\Discovery;
|
||||||
|
|
||||||
use Drupal\Core\Plugin\Discovery\ContainerDeriverInterface;
|
use Drupal\Core\Plugin\Discovery\ContainerDeriverInterface;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines container test derivative discovery.
|
* Defines container test derivative discovery.
|
||||||
|
@ -14,7 +14,7 @@ class TestContainerDerivativeDiscovery extends TestDerivativeDiscovery implement
|
||||||
/**
|
/**
|
||||||
* Constructs a TestContainerDerivativeDiscovery object.
|
* Constructs a TestContainerDerivativeDiscovery object.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $example_service
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface $example_service
|
||||||
* Some service.
|
* Some service.
|
||||||
*/
|
*/
|
||||||
public function __construct(EventDispatcherInterface $example_service) {
|
public function __construct(EventDispatcherInterface $example_service) {
|
||||||
|
|
|
@ -47,7 +47,7 @@ class RouteBuilderTest extends UnitTestCase {
|
||||||
/**
|
/**
|
||||||
* The mocked event dispatcher.
|
* The mocked event dispatcher.
|
||||||
*
|
*
|
||||||
* @var \Symfony\Contracts\EventDispatcher\EventDispatcherInterface|\PHPUnit\Framework\MockObject\MockObject
|
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface|\PHPUnit\Framework\MockObject\MockObject
|
||||||
*/
|
*/
|
||||||
protected $dispatcher;
|
protected $dispatcher;
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@ class RouteBuilderTest extends UnitTestCase {
|
||||||
protected function setUp(): void {
|
protected function setUp(): void {
|
||||||
$this->dumper = $this->createMock('Drupal\Core\Routing\MatcherDumperInterface');
|
$this->dumper = $this->createMock('Drupal\Core\Routing\MatcherDumperInterface');
|
||||||
$this->lock = $this->createMock('Drupal\Core\Lock\LockBackendInterface');
|
$this->lock = $this->createMock('Drupal\Core\Lock\LockBackendInterface');
|
||||||
$this->dispatcher = $this->createMock('\Symfony\Contracts\EventDispatcher\EventDispatcherInterface');
|
$this->dispatcher = $this->createMock('\Symfony\Component\EventDispatcher\EventDispatcherInterface');
|
||||||
$this->moduleHandler = $this->createMock('Drupal\Core\Extension\ModuleHandlerInterface');
|
$this->moduleHandler = $this->createMock('Drupal\Core\Extension\ModuleHandlerInterface');
|
||||||
$this->controllerResolver = $this->createMock('Drupal\Core\Controller\ControllerResolverInterface');
|
$this->controllerResolver = $this->createMock('Drupal\Core\Controller\ControllerResolverInterface');
|
||||||
$this->yamlDiscovery = $this->getMockBuilder('\Drupal\Core\Discovery\YamlDiscovery')
|
$this->yamlDiscovery = $this->getMockBuilder('\Drupal\Core\Discovery\YamlDiscovery')
|
||||||
|
|
|
@ -7,7 +7,7 @@ use Drupal\Core\Session\AccountProxy;
|
||||||
use Drupal\Tests\UnitTestCase;
|
use Drupal\Tests\UnitTestCase;
|
||||||
use Prophecy\Argument;
|
use Prophecy\Argument;
|
||||||
use Symfony\Contracts\EventDispatcher\Event;
|
use Symfony\Contracts\EventDispatcher\Event;
|
||||||
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
|
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @coversDefaultClass \Drupal\Core\Session\AccountProxy
|
* @coversDefaultClass \Drupal\Core\Session\AccountProxy
|
||||||
|
|
Loading…
Reference in New Issue