Skip to content
Snippets Groups Projects
Select Git revision
  • 11.x default
  • 3468781-phpunitphpunit10.5.30-introduces-for
  • 10.4.x
  • 10.3.x
  • 11.0.x
  • 7.x
  • 10.2.x
  • 10.1.x
  • 9.5.x
  • 10.0.x
  • 9.4.x
  • 9.3.x
  • 9.2.x
  • 9.1.x
  • 8.9.x
  • 9.0.x
  • 8.8.x
  • 8.7.x
  • 8.6.x
  • 8.5.x
  • previous/3468781-phpunitphpunit10.5.30-introduces-for/2024-08-20
  • 10.3.2
  • 11.0.1
  • 11.0.0
  • 11.0.0-rc1
  • 10.3.1
  • 10.3.0
  • 10.2.7
  • 10.3.0-rc1
  • 7.101
  • 11.0.0-beta1
  • 10.3.0-beta1
  • 11.0.0-alpha1
  • 10.2.6
  • 10.2.5
  • 7.100
  • 10.2.4
  • 10.2.3
  • 10.1.8
  • 10.2.2
40 results

autoload.php

Blame
  • Forked from project / drupal
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    ConfigImporterEvent.php 1.45 KiB
    <?php
    
    namespace Drupal\Core\Config;
    
    use Symfony\Component\EventDispatcher\Event;
    
    class ConfigImporterEvent extends Event {
      /**
       * Configuration import object.
       *
       * @var \Drupal\Core\Config\ConfigImporter
       */
      protected $configImporter;
    
      /**
       * Constructs ConfigImporterEvent.
       *
       * @param \Drupal\Core\Config\ConfigImporter $config_importer
       *   A config import object to notify listeners about.
       */
      public function __construct(ConfigImporter $config_importer) {
        $this->configImporter = $config_importer;
      }
    
      /**
       * Gets the config import object.
       *
       * @return \Drupal\Core\Config\ConfigImporter
       *   The ConfigImporter object.
       */
      public function getConfigImporter() {
        return $this->configImporter;
      }
    
      /**
       * Gets the list of changes that will be imported.
       *
       * @param string $op
       *   (optional) A change operation. Either delete, create or update. If
       *   supplied the returned list will be limited to this operation.
       * @param string $collection
       *   (optional) The collection to get the changelist for. Defaults to the
       *   default collection.
       *
       * @return array
       *   An array of config changes that are yet to be imported.
       *
       * @see \Drupal\Core\Config\StorageComparerInterface::getChangelist()
       */
      public function getChangelist($op = NULL, $collection = StorageInterface::DEFAULT_COLLECTION) {
        return $this->configImporter->getStorageComparer()->getChangelist($op, $collection);
      }
    
    }