function ImporterTest::getSubscribedEvents

File

core/tests/Drupal/KernelTests/Core/DefaultContent/ImporterTest.php, line 48

Class

ImporterTest
Tests the Default Content Importer.

Namespace

Drupal\KernelTests\Core\DefaultContent

Code

public static function getSubscribedEvents() : array {
  return [
    PreEntityImportEvent::class => 'onPreEntityImport',
  ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.