protected function EncryptionProfile::getPluginCollection in Encrypt 8.3
Encapsulates the creation of the EncryptionMethod's LazyPluginCollection.
Return value
\Drupal\Component\Plugin\LazyPluginCollection The EncryptionMethod's plugin collection.
1 call to EncryptionProfile::getPluginCollection()
- EncryptionProfile::getPluginCollections in src/
Entity/ EncryptionProfile.php - Gets the plugin collections used by this object.
File
- src/
Entity/ EncryptionProfile.php, line 123
Class
- EncryptionProfile
- Defines the EncryptionProfile entity.
Namespace
Drupal\encrypt\EntityCode
protected function getPluginCollection() {
if (!$this->pluginCollection && $this->encryption_method) {
$this->pluginCollection = new EncryptionMethodPluginCollection(\Drupal::service('plugin.manager.encrypt.encryption_methods'), $this->encryption_method, $this->encryption_method_configuration);
}
return $this->pluginCollection;
}