public function DependencyHelper::getBundleDependencies in Conditional Fields 8
Same name and namespace in other branches
- 4.x src/DependencyHelper.php \Drupal\conditional_fields\DependencyHelper::getBundleDependencies()
Return dependencies for a given bundle.
File
- src/
DependencyHelper.php, line 72
Class
- DependencyHelper
- Resolve conditional field's dependencies.
Namespace
Drupal\conditional_fieldsCode
public function getBundleDependencies() {
if (!isset($this->dependencies[$this->entity_type][$this->bundle])) {
$this
->resolveBundleDependencies($this
->getBundleDependentFields());
}
return $this->dependencies[$this->entity_type][$this->bundle];
}