function ConfigEntityDiscovery::__construct in Migrate Plus 8.2
Same name and namespace in other branches
- 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\DiscoveryCode
function __construct($entity_type) {
$this->entityType = $entity_type;
}