public function EncryptionProfile::calculateDependencies in Encrypt 8.3
Calculates dependencies and stores them in the dependency property.
Return value
$this
Overrides ConfigEntityBase::calculateDependencies
See also
\Drupal\Core\Config\Entity\ConfigDependencyManager
File
- src/
Entity/ EncryptionProfile.php, line 245
Class
- EncryptionProfile
- Defines the EncryptionProfile entity.
Namespace
Drupal\encrypt\EntityCode
public function calculateDependencies() {
parent::calculateDependencies();
$this
->addDependency('config', $this
->getEncryptionKey()
->getConfigDependencyName());
return $this;
}