interface ConditionalFieldsInterface in Conditional Fields 8
Same name and namespace in other branches
- 4.x src/ConditionalFieldsInterface.php \Drupal\conditional_fields\ConditionalFieldsInterface
Provides an interface.
Hierarchy
- interface \Drupal\conditional_fields\ConditionalFieldsInterface
Expanded class hierarchy of ConditionalFieldsInterface
All classes that implement ConditionalFieldsInterface
31 files declare their use of ConditionalFieldsInterface
- Checkbox.php in src/
Plugin/ conditional_fields/ handler/ Checkbox.php - ConditionalFieldCheckboxesTest.php in tests/
src/ FunctionalJavascript/ ConditionalFieldCheckboxesTest.php - ConditionalFieldDateListTest.php in tests/
src/ FunctionalJavascript/ ConditionalFieldDateListTest.php - ConditionalFieldDateTimeTest.php in tests/
src/ FunctionalJavascript/ ConditionalFieldDateTimeTest.php - ConditionalFieldEditForm.php in src/
Form/ ConditionalFieldEditForm.php
File
- src/
ConditionalFieldsInterface.php, line 8
Namespace
Drupal\conditional_fieldsView source
interface ConditionalFieldsInterface {
/**
* Dependency is triggered if the dependee has a certain value.
*/
const CONDITIONAL_FIELDS_DEPENDENCY_VALUES_WIDGET = 1;
/**
* Dependency is triggered if the dependee has all values.
*/
const CONDITIONAL_FIELDS_DEPENDENCY_VALUES_AND = 2;
/**
* Dependency is triggered if the dependee has any of the values.
*/
const CONDITIONAL_FIELDS_DEPENDENCY_VALUES_OR = 3;
/**
* Dependency is triggered if the dependee has only one of the values.
*/
const CONDITIONAL_FIELDS_DEPENDENCY_VALUES_XOR = 4;
/**
* Dependency is triggered if the dependee does not have any of the values.
*/
const CONDITIONAL_FIELDS_DEPENDENCY_VALUES_NOT = 5;
/**
* Dependency is triggered if the dependee values match a regular expression.
*/
const CONDITIONAL_FIELDS_DEPENDENCY_VALUES_REGEX = 6;
/**
* Field view setting.
*
* Dependent is shown only if the dependency is triggered.
*/
const CONDITIONAL_FIELDS_FIELD_VIEW_EVALUATE = 1;
/**
* Field view setting.
*
* Dependent is shown only if the dependee is shown as well.
*/
const CONDITIONAL_FIELDS_FIELD_VIEW_HIDE_ORPHAN = 2;
/**
* Field view setting.
*
* Dependent is highlighted if the dependency is not triggered.
*/
const CONDITIONAL_FIELDS_FIELD_VIEW_HIGHLIGHT = 3;
/**
* Field view setting.
*
* Dependent has a textual description of the dependency.
*/
const CONDITIONAL_FIELDS_FIELD_VIEW_DESCRIBE = 4;
/**
* Field view setting.
*
* Dependent is shown only if the dependee is shown as well
* and the dependency evaluates to TRUE.
*/
const CONDITIONAL_FIELDS_FIELD_VIEW_HIDE_UNTRIGGERED_ORPHAN = 5;
/**
* Field edit setting.
*
* Dependent is shown only if the dependee is shown as well.
*/
const CONDITIONAL_FIELDS_FIELD_EDIT_HIDE_ORPHAN = 1;
/**
* Field edit setting.
*
* Dependent is shown only if the dependee is shown as well
* and the dependency evaluates to TRUE.
*/
const CONDITIONAL_FIELDS_FIELD_EDIT_HIDE_UNTRIGGERED_ORPHAN = 2;
/**
* Field edit setting.
*
* Dependent is reset to its default values if the
* dependency was not triggered when the form is submitted.
*/
const CONDITIONAL_FIELDS_FIELD_EDIT_RESET_UNTRIGGERED = 3;
}