src/Plugin/EntityBrowser/SelectionDisplay/View.php 1 location
|
@@ 123-130 (lines=8) @@
|
120 |
|
/** |
121 |
|
* {@inheritdoc} |
122 |
|
*/ |
123 |
|
public function calculateDependencies() { |
124 |
|
$dependencies = []; |
125 |
|
if ($this->configuration['view']) { |
126 |
|
$view = ViewEntity::load($this->configuration['view']); |
127 |
|
$dependencies[$view->getConfigDependencyKey()] = [$view->getConfigDependencyName()]; |
128 |
|
} |
129 |
|
return $dependencies; |
130 |
|
} |
131 |
|
|
132 |
|
} |
133 |
|
|
src/Plugin/EntityBrowser/Widget/View.php 1 location
|
@@ 271-278 (lines=8) @@
|
268 |
|
/** |
269 |
|
* {@inheritdoc} |
270 |
|
*/ |
271 |
|
public function calculateDependencies() { |
272 |
|
$dependencies = []; |
273 |
|
if ($this->configuration['view']) { |
274 |
|
$view = ViewEntity::load($this->configuration['view']); |
275 |
|
$dependencies[$view->getConfigDependencyKey()] = [$view->getConfigDependencyName()]; |
276 |
|
} |
277 |
|
return $dependencies; |
278 |
|
} |
279 |
|
|
280 |
|
} |
281 |
|
|