public function calculateDependencies() {
parent::calculateDependencies();
// Add the file icon entity as dependency if a UUID was specified.
if ($this->icon_uuid && ($file_icon = $this
->getIconFile())) {
$this
->addDependency($file_icon
->getConfigDependencyKey(), $file_icon
->getConfigDependencyName());
}
return $this;
}