protected function DependencyHelper::getInheritingChildren in Conditional Fields 8
Same name and namespace in other branches
- 4.x src/DependencyHelper.php \Drupal\conditional_fields\DependencyHelper::getInheritingChildren()
Determine all fields that support inheritence, and their children.
1 call to DependencyHelper::getInheritingChildren()
- DependencyHelper::getInheritingFieldNames in src/
DependencyHelper.php - Return a list of fields to inherit conditional settings.
File
- src/
DependencyHelper.php, line 176
Class
- DependencyHelper
- Resolve conditional field's dependencies.
Namespace
Drupal\conditional_fieldsCode
protected function getInheritingChildren() {
$hook = 'conditional_fields_children';
$inheriting_fields = $this->module_handler
->invokeAll($hook, [
$this->entity_type,
$this->bundle,
]);
$this->module_handler
->alter($hook, $inheriting_fields, $this->entity_type, $this->bundle);
return $inheriting_fields;
}