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