Skip to content
Snippets Groups Projects
Commit 80bcf435 authored by Tim Diels's avatar Tim Diels Committed by Ken Rickard
Browse files

Issue #3327762 by tim-diels: system.action configs have wrong dependency to domain

parent b636476d
No related branches found
No related tags found
4 merge requests!124Applying patch from issue 3232343 comment 2,!733351689: Nodes accessible on all domains regardless of domain assignment,!48Issue #3354114 by yustinTR, agentrickard:...,!32Use the getConfigPrefix to calculate correct config dependency prefix
......@@ -80,7 +80,7 @@ abstract class DomainAccessActionBase extends ConfigurableActionBase implements
*/
public function calculateDependencies() {
if (!empty($this->configuration['domain_id'])) {
$prefix = $this->entityType->getConfigDependencyKey() . '.';
$prefix = $this->entityType->getConfigPrefix() . '.';
$this->addDependency('config', $prefix . $this->configuration['domain_id']);
}
return $this->dependencies;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment