function comment_display_configurable_test_entity_type_build in Drupal 10
Implements hook_entity_type_build().
File
- core/
modules/ comment/ tests/ modules/ comment_display_configurable_test/ comment_display_configurable_test.module, line 25 - A module for testing making comment base fields' displays configurable.
Code
function comment_display_configurable_test_entity_type_build(array &$entity_types) {
// Allow skipping of extra preprocessing for configurable display.
$entity_types['comment']
->set('enable_base_field_custom_preprocess_skipping', TRUE);
}