protected function DependencyHelper::registerDependee in Conditional Fields 4.x
Same name and namespace in other branches
- 8 src/DependencyHelper.php \Drupal\conditional_fields\DependencyHelper::registerDependee()
Add a dependee field to the list of dependencies.
1 call to DependencyHelper::registerDependee()
- DependencyHelper::registerFieldDependency in src/
DependencyHelper.php - Register a specific conditional field dependency.
File
- src/
DependencyHelper.php, line 258
Class
- DependencyHelper
- Resolve conditional field's dependencies.
Namespace
Drupal\conditional_fieldsCode
protected function registerDependee() {
$this->dependencies[$this->entity_type][$this->bundle]['dependees'][$this->dependee][$this->uuid] = [
'dependent' => $this->dependent,
'options' => $this->settings,
];
}