function _views_test_config_disable_broken_handler
Same name in other branches
- 10 core/modules/views/tests/modules/views_test_config/views_test_config.module \_views_test_config_disable_broken_handler()
6 calls to _views_test_config_disable_broken_handler()
- views_test_config_views_plugins_area_alter in core/
modules/ views/ tests/ modules/ views_test_config/ views_test_config.module - views_test_config_views_plugins_argument_alter in core/
modules/ views/ tests/ modules/ views_test_config/ views_test_config.module - views_test_config_views_plugins_field_alter in core/
modules/ views/ tests/ modules/ views_test_config/ views_test_config.module - views_test_config_views_plugins_filter_alter in core/
modules/ views/ tests/ modules/ views_test_config/ views_test_config.module - views_test_config_views_plugins_relationship_alter in core/
modules/ views/ tests/ modules/ views_test_config/ views_test_config.module
File
-
core/
modules/ views/ tests/ modules/ views_test_config/ views_test_config.module, line 38
Code
function _views_test_config_disable_broken_handler(array &$definitions, string $handler_type) : void {
if (in_array($handler_type, \Drupal::state()->get('views_test_config_disable_broken_handler', []))) {
unset($definitions['broken']);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.