You are here

function ConfigEntityDiscovery::__construct in Migrate Plus 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/Discovery/ConfigEntityDiscovery.php \Drupal\migrate_plus\Plugin\Discovery\ConfigEntityDiscovery::__construct()

Construct a YamlDiscovery object.

Parameters

string $entity_type: The entity type to query for.

File

src/Plugin/Discovery/ConfigEntityDiscovery.php, line 28

Class

ConfigEntityDiscovery
Allows configuration entities to define plugin definitions.

Namespace

Drupal\migrate_plus\Plugin\Discovery

Code

function __construct($entity_type) {
  $this->entityType = $entity_type;
}