protected function DependencyHelper::fieldDependencyShouldPropagate in Conditional Fields 8
Same name and namespace in other branches
- 4.x src/DependencyHelper.php \Drupal\conditional_fields\DependencyHelper::fieldDependencyShouldPropagate()
Determine whether a field dependency should be inherited.
1 call to DependencyHelper::fieldDependencyShouldPropagate()
- DependencyHelper::resolveFieldDependencies in src/
DependencyHelper.php - Resolve a field's dependencies.
File
- src/
DependencyHelper.php, line 119
Class
- DependencyHelper
- Resolve conditional field's dependencies.
Namespace
Drupal\conditional_fieldsCode
protected function fieldDependencyShouldPropagate() {
if (!isset($this->settings['inheritance']['propagate'])) {
return FALSE;
}
return (bool) $this->settings['inheritance']['propagate'];
}