protected function DependencyHelper::getBundleDependentFields in Conditional Fields 8
Same name and namespace in other branches
- 4.x src/DependencyHelper.php \Drupal\conditional_fields\DependencyHelper::getBundleDependentFields()
Return all dependent fields attached to a bundle.
1 call to DependencyHelper::getBundleDependentFields()
- DependencyHelper::getBundleDependencies in src/
DependencyHelper.php - Return dependencies for a given bundle.
File
- src/
DependencyHelper.php, line 216
Class
- DependencyHelper
- Resolve conditional field's dependencies.
Namespace
Drupal\conditional_fieldsCode
protected function getBundleDependentFields() {
if (!$this
->bundleHasRegisteredDependentFields()) {
$this
->registerBundleDependentFields();
}
return $this->dependent_fields[$this->entity_type][$this->bundle];
}