public function SmsVerification::__construct in SMS Framework 8
Same name and namespace in other branches
- 2.x src/Plugin/migrate/destination/SmsVerification.php \Drupal\sms\Plugin\migrate\destination\SmsVerification::__construct()
- 2.1.x src/Plugin/migrate/destination/SmsVerification.php \Drupal\sms\Plugin\migrate\destination\SmsVerification::__construct()
Builds a phone number verification entity destination.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\migrate\Plugin\MigrationInterface $migration: The migration.
\Drupal\Core\Entity\EntityStorageInterface $storage: The storage for this entity type.
array $bundles: The list of bundles this entity type has.
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager service.
\Drupal\Core\Field\FieldTypePluginManagerInterface $field_type_manager: The field type plugin manager service.
\Drupal\sms\Provider\PhoneNumberVerificationInterface $verification: The phone number verification service.
Overrides EntityContentBase::__construct
File
- src/
Plugin/ migrate/ destination/ SmsVerification.php, line 54
Class
- SmsVerification
- Destination plugin for SMS phone number verifications.
Namespace
Drupal\sms\Plugin\migrate\destinationCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, EntityStorageInterface $storage, array $bundles, EntityManagerInterface $entity_manager, FieldTypePluginManagerInterface $field_type_manager, PhoneNumberVerificationInterface $verification) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $migration, $storage, $bundles, $entity_manager, $field_type_manager);
$this->phoneNumberVerificationService = $verification;
}