function aggregator_display_configurable_test_entity_type_build
Same name in other branches
- 9 core/modules/aggregator/tests/modules/aggregator_display_configurable_test/aggregator_display_configurable_test.module \aggregator_display_configurable_test_entity_type_build()
Implements hook_entity_type_build().
File
-
core/
modules/ aggregator/ tests/ modules/ aggregator_display_configurable_test/ aggregator_display_configurable_test.module, line 36
Code
function aggregator_display_configurable_test_entity_type_build(array &$entity_types) {
// Allow skipping of extra preprocessing for configurable display.
$entity_types['aggregator_feed']->set('enable_base_field_custom_preprocess_skipping', TRUE);
$entity_types['aggregator_item']->set('enable_base_field_custom_preprocess_skipping', TRUE);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.