You are here

protected function DependencyHelper::registerFieldDependency in Conditional Fields 8

Same name and namespace in other branches
  1. 4.x src/DependencyHelper.php \Drupal\conditional_fields\DependencyHelper::registerFieldDependency()

Register a specific conditional field dependency.

1 call to DependencyHelper::registerFieldDependency()
DependencyHelper::resolveFieldDependencies in src/DependencyHelper.php
Resolve a field's dependencies.

File

src/DependencyHelper.php, line 188

Class

DependencyHelper
Resolve conditional field's dependencies.

Namespace

Drupal\conditional_fields

Code

protected function registerFieldDependency() {
  $this
    ->registerDependent();
  $this
    ->registerDependee();
}