protected function DependencyHelper::getBundleDependentFields in Conditional Fields 4.x
Same name and namespace in other branches
- 8 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 268
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];
}