function field_test_entity_reference_selection_alter
Same name and namespace in other branches
- 10 core/modules/field/tests/modules/field_test/field_test.module \field_test_entity_reference_selection_alter()
File
-
core/
modules/ field/ tests/ modules/ field_test/ field_test.module, line 230
Code
function field_test_entity_reference_selection_alter(array &$definitions) : void {
if (\Drupal::state()->get('field_test_disable_broken_entity_reference_handler')) {
unset($definitions['broken']);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.