protected function DependencyHelper::fieldDependencyShouldRecurse in Conditional Fields 8
Same name and namespace in other branches
- 4.x src/DependencyHelper.php \Drupal\conditional_fields\DependencyHelper::fieldDependencyShouldRecurse()
Determine whether a field dependency should be apply to the parent field.
1 call to DependencyHelper::fieldDependencyShouldRecurse()
- DependencyHelper::getInheritingFields in src/
DependencyHelper.php - Return fields with conditional settings to inherit.
File
- src/
DependencyHelper.php, line 135
Class
- DependencyHelper
- Resolve conditional field's dependencies.
Namespace
Drupal\conditional_fieldsCode
protected function fieldDependencyShouldRecurse() {
if (!isset($this->settings['inheritance']['recurse'])) {
return FALSE;
}
return (bool) $this->settings['inheritance']['recurse'];
}