diff --git a/core/modules/aggregator/config/optional/views.view.aggregator_rss_feed.yml b/core/modules/aggregator/config/optional/views.view.aggregator_rss_feed.yml index 1a16549..8e25d90 100644 --- a/core/modules/aggregator/config/optional/views.view.aggregator_rss_feed.yml +++ b/core/modules/aggregator/config/optional/views.view.aggregator_rss_feed.yml @@ -36,7 +36,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/aggregator/config/optional/views.view.aggregator_sources.yml b/core/modules/aggregator/config/optional/views.view.aggregator_sources.yml index 7ddea89..125454f 100644 --- a/core/modules/aggregator/config/optional/views.view.aggregator_sources.yml +++ b/core/modules/aggregator/config/optional/views.view.aggregator_sources.yml @@ -40,7 +40,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/block_content/config/optional/views.view.block_content.yml b/core/modules/block_content/config/optional/views.view.block_content.yml index 20fe0bf..fbf02e4 100644 --- a/core/modules/block_content/config/optional/views.view.block_content.yml +++ b/core/modules/block_content/config/optional/views.view.block_content.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_block_content_view.yml b/core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_block_content_view.yml index bd7a6e4..ac4c9c5 100644 --- a/core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_block_content_view.yml +++ b/core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_block_content_view.yml @@ -35,7 +35,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_field_filters.yml b/core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_field_filters.yml index 45eb3af..073cee8 100644 --- a/core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_field_filters.yml +++ b/core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_field_filters.yml @@ -35,7 +35,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/book/tests/modules/book_test_views/test_views/views.view.test_book_view.yml b/core/modules/book/tests/modules/book_test_views/test_views/views.view.test_book_view.yml index 3aeb3a6..7490892 100644 --- a/core/modules/book/tests/modules/book_test_views/test_views/views.view.test_book_view.yml +++ b/core/modules/book/tests/modules/book_test_views/test_views/views.view.test_book_view.yml @@ -39,7 +39,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_field_name.yml b/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_field_name.yml index db8aedd..d18a41c 100644 --- a/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_field_name.yml +++ b/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_field_name.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_operations.yml b/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_operations.yml index 2537700..bda4dfb 100644 --- a/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_operations.yml +++ b/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_operations.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_rest.yml b/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_rest.yml index fabd46c..fcc2526 100644 --- a/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_rest.yml +++ b/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_rest.yml @@ -42,7 +42,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_row.yml b/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_row.yml index 0b36ef8..03ee382 100644 --- a/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_row.yml +++ b/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_comment_row.yml @@ -38,7 +38,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_field_filters.yml b/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_field_filters.yml index 76c67c6..5cb79ee 100644 --- a/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_field_filters.yml +++ b/core/modules/comment/tests/modules/comment_test_views/test_views/views.view.test_field_filters.yml @@ -38,7 +38,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/contact/tests/modules/contact_test_views/test_views/views.view.test_contact_link.yml b/core/modules/contact/tests/modules/contact_test_views/test_views/views.view.test_contact_link.yml index efc2109..d96ac75 100644 --- a/core/modules/contact/tests/modules/contact_test_views/test_views/views.view.test_contact_link.yml +++ b/core/modules/contact/tests/modules/contact_test_views/test_views/views.view.test_contact_link.yml @@ -35,7 +35,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.latest.yml b/core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.latest.yml index 46a64ab..4c43439 100644 --- a/core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.latest.yml +++ b/core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.latest.yml @@ -39,7 +39,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_base_table_test.yml b/core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_base_table_test.yml index 6f95251..e4a0dcc 100644 --- a/core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_base_table_test.yml +++ b/core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_base_table_test.yml @@ -38,7 +38,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_latest_revision.yml b/core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_latest_revision.yml index 7673394..7533b75 100644 --- a/core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_latest_revision.yml +++ b/core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_latest_revision.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_revision_test.yml b/core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_revision_test.yml index 2362098..0f8df12 100644 --- a/core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_revision_test.yml +++ b/core/modules/content_moderation/tests/modules/content_moderation_test_views/config/install/views.view.test_content_moderation_revision_test.yml @@ -36,7 +36,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/field/tests/fixtures/update/views.view.entity_reference_plugins_2429191.yml b/core/modules/field/tests/fixtures/update/views.view.entity_reference_plugins_2429191.yml index 9c49011..5326851 100644 --- a/core/modules/field/tests/fixtures/update/views.view.entity_reference_plugins_2429191.yml +++ b/core/modules/field/tests/fixtures/update/views.view.entity_reference_plugins_2429191.yml @@ -39,7 +39,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/language/tests/language_test/config/optional/views.view.no_entity_translation_view.yml b/core/modules/language/tests/language_test/config/optional/views.view.no_entity_translation_view.yml index 8e7ef45..4b4af8b 100644 --- a/core/modules/language/tests/language_test/config/optional/views.view.no_entity_translation_view.yml +++ b/core/modules/language/tests/language_test/config/optional/views.view.no_entity_translation_view.yml @@ -35,7 +35,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/link/tests/modules/link_test_views/test_views/views.view.test_link_tokens.yml b/core/modules/link/tests/modules/link_test_views/test_views/views.view.test_link_tokens.yml index 8f3ee26..e3abd5f 100644 --- a/core/modules/link/tests/modules/link_test_views/test_views/views.view.test_link_tokens.yml +++ b/core/modules/link/tests/modules/link_test_views/test_views/views.view.test_link_tokens.yml @@ -40,7 +40,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/node/config/optional/views.view.archive.yml b/core/modules/node/config/optional/views.view.archive.yml index 73e0477..40b6e56 100644 --- a/core/modules/node/config/optional/views.view.archive.yml +++ b/core/modules/node/config/optional/views.view.archive.yml @@ -40,7 +40,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/node/config/optional/views.view.content_recent.yml b/core/modules/node/config/optional/views.view.content_recent.yml index 39f4ecb..0767b0a 100644 --- a/core/modules/node/config/optional/views.view.content_recent.yml +++ b/core/modules/node/config/optional/views.view.content_recent.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/node/config/optional/views.view.frontpage.yml b/core/modules/node/config/optional/views.view.frontpage.yml index d05e291..81a5ffd 100644 --- a/core/modules/node/config/optional/views.view.frontpage.yml +++ b/core/modules/node/config/optional/views.view.frontpage.yml @@ -63,7 +63,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/node/config/optional/views.view.glossary.yml b/core/modules/node/config/optional/views.view.glossary.yml index 2b4e330..ca17caa 100644 --- a/core/modules/node/config/optional/views.view.glossary.yml +++ b/core/modules/node/config/optional/views.view.glossary.yml @@ -38,7 +38,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_field_filters.yml b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_field_filters.yml index fcfc4f0..b4b013c 100644 --- a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_field_filters.yml +++ b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_field_filters.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_language.yml b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_language.yml index d95efc0..ae1f43e 100644 --- a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_language.yml +++ b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_language.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_nid_argument.yml b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_nid_argument.yml index f521093..7854159 100644 --- a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_nid_argument.yml +++ b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_nid_argument.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_path_plugin.yml b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_path_plugin.yml index 747de35..509f7b6 100644 --- a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_path_plugin.yml +++ b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_path_plugin.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_revision_links.yml b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_revision_links.yml index 1313f01..6d4b3b8 100644 --- a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_revision_links.yml +++ b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_revision_links.yml @@ -35,7 +35,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_tokens.yml b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_tokens.yml index 26517fc..c45d78a 100644 --- a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_tokens.yml +++ b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_tokens.yml @@ -40,7 +40,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_view.yml b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_view.yml index 2fa9717..32949cd 100644 --- a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_view.yml +++ b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_view.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/options/tests/options_test_views/test_views/views.view.test_options_list_argument_numeric.yml b/core/modules/options/tests/options_test_views/test_views/views.view.test_options_list_argument_numeric.yml index bff9b59..668ff9f 100644 --- a/core/modules/options/tests/options_test_views/test_views/views.view.test_options_list_argument_numeric.yml +++ b/core/modules/options/tests/options_test_views/test_views/views.view.test_options_list_argument_numeric.yml @@ -39,7 +39,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/options/tests/options_test_views/test_views/views.view.test_options_list_argument_string.yml b/core/modules/options/tests/options_test_views/test_views/views.view.test_options_list_argument_string.yml index 1576619..11f5bf0 100644 --- a/core/modules/options/tests/options_test_views/test_views/views.view.test_options_list_argument_string.yml +++ b/core/modules/options/tests/options_test_views/test_views/views.view.test_options_list_argument_string.yml @@ -39,7 +39,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/options/tests/options_test_views/test_views/views.view.test_options_list_filter.yml b/core/modules/options/tests/options_test_views/test_views/views.view.test_options_list_filter.yml index 7dd2602..a487ca4 100644 --- a/core/modules/options/tests/options_test_views/test_views/views.view.test_options_list_filter.yml +++ b/core/modules/options/tests/options_test_views/test_views/views.view.test_options_list_filter.yml @@ -39,7 +39,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/system/tests/fixtures/update/drupal-8.views-entity-views-data-2455125.yml b/core/modules/system/tests/fixtures/update/drupal-8.views-entity-views-data-2455125.yml index e3c1b63..eff6645 100644 --- a/core/modules/system/tests/fixtures/update/drupal-8.views-entity-views-data-2455125.yml +++ b/core/modules/system/tests/fixtures/update/drupal-8.views-entity-views-data-2455125.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/system/tests/modules/entity_reference_test_views/test_views/views.view.test_entity_reference_entity_test_mul_view.yml b/core/modules/system/tests/modules/entity_reference_test_views/test_views/views.view.test_entity_reference_entity_test_mul_view.yml index 0d06377..beff8c3 100644 --- a/core/modules/system/tests/modules/entity_reference_test_views/test_views/views.view.test_entity_reference_entity_test_mul_view.yml +++ b/core/modules/system/tests/modules/entity_reference_test_views/test_views/views.view.test_entity_reference_entity_test_mul_view.yml @@ -35,7 +35,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/system/tests/modules/entity_reference_test_views/test_views/views.view.test_entity_reference_entity_test_view.yml b/core/modules/system/tests/modules/entity_reference_test_views/test_views/views.view.test_entity_reference_entity_test_view.yml index 5c9bc5f..6e93637 100644 --- a/core/modules/system/tests/modules/entity_reference_test_views/test_views/views.view.test_entity_reference_entity_test_view.yml +++ b/core/modules/system/tests/modules/entity_reference_test_views/test_views/views.view.test_entity_reference_entity_test_view.yml @@ -35,7 +35,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/system/tests/modules/entity_reference_test_views/test_views/views.view.test_entity_reference_entity_test_view_long.yml b/core/modules/system/tests/modules/entity_reference_test_views/test_views/views.view.test_entity_reference_entity_test_view_long.yml index 9978205..ab00ac1 100644 --- a/core/modules/system/tests/modules/entity_reference_test_views/test_views/views.view.test_entity_reference_entity_test_view_long.yml +++ b/core/modules/system/tests/modules/entity_reference_test_views/test_views/views.view.test_entity_reference_entity_test_view_long.yml @@ -35,7 +35,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/system/tests/modules/entity_reference_test_views/test_views/views.view.test_entity_reference_reverse_entity_test_mul_view.yml b/core/modules/system/tests/modules/entity_reference_test_views/test_views/views.view.test_entity_reference_reverse_entity_test_mul_view.yml index a1153b6..106b793 100644 --- a/core/modules/system/tests/modules/entity_reference_test_views/test_views/views.view.test_entity_reference_reverse_entity_test_mul_view.yml +++ b/core/modules/system/tests/modules/entity_reference_test_views/test_views/views.view.test_entity_reference_reverse_entity_test_mul_view.yml @@ -35,7 +35,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/system/tests/modules/entity_reference_test_views/test_views/views.view.test_entity_reference_reverse_entity_test_view.yml b/core/modules/system/tests/modules/entity_reference_test_views/test_views/views.view.test_entity_reference_reverse_entity_test_view.yml index 1412b71..ce657c6 100644 --- a/core/modules/system/tests/modules/entity_reference_test_views/test_views/views.view.test_entity_reference_reverse_entity_test_view.yml +++ b/core/modules/system/tests/modules/entity_reference_test_views/test_views/views.view.test_entity_reference_reverse_entity_test_view.yml @@ -35,7 +35,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/taxonomy/config/optional/views.view.taxonomy_term.yml b/core/modules/taxonomy/config/optional/views.view.taxonomy_term.yml index 95b54a8..3fdae2a 100644 --- a/core/modules/taxonomy/config/optional/views.view.taxonomy_term.yml +++ b/core/modules/taxonomy/config/optional/views.view.taxonomy_term.yml @@ -40,7 +40,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.taxonomy_all_terms_test.yml b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.taxonomy_all_terms_test.yml index 4f1467b..4338c7e 100644 --- a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.taxonomy_all_terms_test.yml +++ b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.taxonomy_all_terms_test.yml @@ -38,7 +38,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.taxonomy_default_argument_test.yml b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.taxonomy_default_argument_test.yml index d19e395..69d0c2b 100644 --- a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.taxonomy_default_argument_test.yml +++ b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.taxonomy_default_argument_test.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_argument_taxonomy_index_tid_depth.yml b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_argument_taxonomy_index_tid_depth.yml index e6fd1a5..73a874f 100644 --- a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_argument_taxonomy_index_tid_depth.yml +++ b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_argument_taxonomy_index_tid_depth.yml @@ -38,7 +38,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_field_filters.yml b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_field_filters.yml index b2a7c9e..b6faae0 100644 --- a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_field_filters.yml +++ b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_field_filters.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_filter_taxonomy_index_tid.yml b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_filter_taxonomy_index_tid.yml index ab5e1d8..7657c56 100644 --- a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_filter_taxonomy_index_tid.yml +++ b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_filter_taxonomy_index_tid.yml @@ -38,7 +38,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_filter_taxonomy_index_tid__non_existing_dependency.yml b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_filter_taxonomy_index_tid__non_existing_dependency.yml index a5c5828..640ab9a 100644 --- a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_filter_taxonomy_index_tid__non_existing_dependency.yml +++ b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_filter_taxonomy_index_tid__non_existing_dependency.yml @@ -38,7 +38,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_filter_taxonomy_index_tid_depth.yml b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_filter_taxonomy_index_tid_depth.yml index 856543a..6731895 100644 --- a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_filter_taxonomy_index_tid_depth.yml +++ b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_filter_taxonomy_index_tid_depth.yml @@ -38,7 +38,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_parent.yml b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_parent.yml index 256f618..02d3b6f 100644 --- a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_parent.yml +++ b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_parent.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_term_name.yml b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_term_name.yml index fbb9142..3d684e1 100644 --- a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_term_name.yml +++ b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_term_name.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_term_relationship.yml b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_term_relationship.yml index 80295b6..2264dab 100644 --- a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_term_relationship.yml +++ b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_term_relationship.yml @@ -38,7 +38,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_tid_field.yml b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_tid_field.yml index d54e4b4..edbbdc2 100644 --- a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_tid_field.yml +++ b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_tid_field.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/user/config/optional/views.view.who_s_new.yml b/core/modules/user/config/optional/views.view.who_s_new.yml index 7d4ed34..02a5a44 100644 --- a/core/modules/user/config/optional/views.view.who_s_new.yml +++ b/core/modules/user/config/optional/views.view.who_s_new.yml @@ -36,7 +36,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/user/config/optional/views.view.who_s_online.yml b/core/modules/user/config/optional/views.view.who_s_online.yml index 3116036..6ccc9cf 100644 --- a/core/modules/user/config/optional/views.view.who_s_online.yml +++ b/core/modules/user/config/optional/views.view.who_s_online.yml @@ -36,7 +36,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_bulk_form_combine_filter.yml b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_bulk_form_combine_filter.yml index 075b4f6..5b280ea 100644 --- a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_bulk_form_combine_filter.yml +++ b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_bulk_form_combine_filter.yml @@ -35,7 +35,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_roles_rid.yml b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_roles_rid.yml index ac67048..86cfbe2 100644 --- a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_roles_rid.yml +++ b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_roles_rid.yml @@ -35,7 +35,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/views/src/Form/ViewsExposedForm.php b/core/modules/views/src/Form/ViewsExposedForm.php index bacd554..372d963 100644 --- a/core/modules/views/src/Form/ViewsExposedForm.php +++ b/core/modules/views/src/Form/ViewsExposedForm.php @@ -107,7 +107,7 @@ public function buildForm(array $form, FormStateInterface $form_state) { // Prevent from showing up in \Drupal::request()->query. '#name' => '', '#type' => 'submit', - '#value' => $this->t('Apply'), + '#value' => $this->t('Filter'), '#id' => Html::getUniqueId('edit-submit-' . $view->storage->id()), ); diff --git a/core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php b/core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php index 62cb79c..9272d12 100644 --- a/core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php +++ b/core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php @@ -26,7 +26,7 @@ */ protected function defineOptions() { $options = parent::defineOptions(); - $options['submit_button'] = array('default' => $this->t('Apply')); + $options['submit_button'] = array('default' => $this->t('Filter')); $options['reset_button'] = array('default' => FALSE); $options['reset_button_label'] = array('default' => $this->t('Reset')); $options['exposed_sorts_label'] = array('default' => $this->t('Sort by')); diff --git a/core/modules/views/src/Tests/Plugin/ExposedFormTest.php b/core/modules/views/src/Tests/Plugin/ExposedFormTest.php index 55957e5..6c569d9 100644 --- a/core/modules/views/src/Tests/Plugin/ExposedFormTest.php +++ b/core/modules/views/src/Tests/Plugin/ExposedFormTest.php @@ -48,10 +48,10 @@ protected function setUp() { * Tests the submit button. */ public function testSubmitButton() { - // Test the submit button value defaults to 'Apply'. + // Test the submit button value defaults to 'Filter'. $this->drupalGet('test_exposed_form_buttons'); $this->assertResponse(200); - $this->helperButtonHasLabel('edit-submit-test-exposed-form-buttons', t('Apply')); + $this->helperButtonHasLabel('edit-submit-test-exposed-form-buttons', t('Filter')); // Rename the label of the submit button. $view = Views::getView('test_exposed_form_buttons'); @@ -66,7 +66,7 @@ public function testSubmitButton() { $this->drupalGet('test_exposed_form_buttons'); $this->helperButtonHasLabel('edit-submit-test-exposed-form-buttons', $expected_label); - // Make sure an empty label uses the default 'Apply' button value too. + // Make sure an empty label uses the default 'Filter' button value too. $view = Views::getView('test_exposed_form_buttons'); $view->setDisplay(); @@ -75,9 +75,9 @@ public function testSubmitButton() { $view->display_handler->setOption('exposed_form', $exposed_form); $view->save(); - // Make sure the submit button label shows 'Apply'. + // Make sure the submit button label shows 'Filter'. $this->drupalGet('test_exposed_form_buttons'); - $this->helperButtonHasLabel('edit-submit-test-exposed-form-buttons', t('Apply')); + $this->helperButtonHasLabel('edit-submit-test-exposed-form-buttons', t('Filter')); } /** @@ -294,7 +294,7 @@ public function testInputRequired() { $this->drupalGet('test_exposed_form_buttons'); $this->assertResponse(200); - $this->helperButtonHasLabel('edit-submit-test-exposed-form-buttons', t('Apply')); + $this->helperButtonHasLabel('edit-submit-test-exposed-form-buttons', t('Filter')); // Ensure that no results are displayed. $rows = $this->xpath("//div[contains(@class, 'views-row')]"); diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.base_and_revision.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.base_and_revision.yml index d7d6162..6b2db8e 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.base_and_revision.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.base_and_revision.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.node_id_argument.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.node_id_argument.yml index 5d2f5ed..d163e51 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.node_id_argument.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.node_id_argument.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.numeric_test.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.numeric_test.yml index 1246f1c..d5230eb 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.numeric_test.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.numeric_test.yml @@ -38,7 +38,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.rest_export_with_authorization.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.rest_export_with_authorization.yml index bef857f..b15d5e6 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.rest_export_with_authorization.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.rest_export_with_authorization.yml @@ -42,7 +42,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_default_node.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_default_node.yml index 396e798..3544bd9 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_default_node.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_default_node.yml @@ -39,7 +39,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_dependency.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_dependency.yml index 2c8541b..43197f7 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_dependency.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_dependency.yml @@ -45,7 +45,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_validator_term.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_validator_term.yml index 91e239b..2227a6c 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_validator_term.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_argument_validator_term.yml @@ -38,7 +38,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_attached_disabled.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_attached_disabled.yml index c36cd48..e4bb2b8 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_attached_disabled.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_attached_disabled.yml @@ -39,7 +39,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_disabled_display.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_disabled_display.yml index 79abcdb..c325db4 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_disabled_display.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_disabled_display.yml @@ -39,7 +39,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_duplicate_field_handlers.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_duplicate_field_handlers.yml index 41a9dfa..d9f8cba 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_duplicate_field_handlers.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_duplicate_field_handlers.yml @@ -39,7 +39,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_test_link.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_test_link.yml index ca151de..f8ba53c 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_test_link.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_test_link.yml @@ -35,7 +35,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_test_protected_access.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_test_protected_access.yml index 024b12f..512c87d 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_test_protected_access.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_test_protected_access.yml @@ -38,7 +38,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_relationship_admin_ui.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_relationship_admin_ui.yml index 7d5fb3f..b46bc3c 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_relationship_admin_ui.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_relationship_admin_ui.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_feed_icon.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_feed_icon.yml index acb6acb..5676527 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_feed_icon.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_feed_icon.yml @@ -40,7 +40,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_body.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_body.yml index 60d3ced..a8ac1d6 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_body.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_body.yml @@ -40,7 +40,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_entity_test_rendered.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_entity_test_rendered.yml index 541ee96..b8e1936 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_entity_test_rendered.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_entity_test_rendered.yml @@ -36,7 +36,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_field_attachment_test.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_field_attachment_test.yml index e097264..24e76e8 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_field_attachment_test.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_field_attachment_test.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_row_render_cache.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_row_render_cache.yml index 34a3cc5..26ec9ed 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_row_render_cache.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_row_render_cache.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_row_render_cache_none.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_row_render_cache_none.yml index 3a6bf95..5abfa11 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_row_render_cache_none.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_row_render_cache_none.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_search.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_search.yml index 67873ca..5b5f60e 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_search.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_search.yml @@ -38,7 +38,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_token_view.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_token_view.yml index b2e3c7d..8c85d59 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_token_view.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_token_view.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/core/modules/views/views.post_update.php b/core/modules/views/views.post_update.php index a4da940..fe29813 100644 --- a/core/modules/views/views.post_update.php +++ b/core/modules/views/views.post_update.php @@ -239,3 +239,51 @@ function views_post_update_boolean_filter_values() { /** * @} End of "addtogroup updates-8.2.x". */ + +/** + * @addtogroup updates-8.3.x + * @{ + */ + +/** + * Change the button label on views exposed forms from 'Apply' to 'Filter'. + */ +function views_post_update_exposed_form_submit_button_label_filter() { + $config_factory = \Drupal::configFactory(); + + $core_admin_views = []; + + // Find all the core Views with an admin path. + foreach ($config_factory->listAll('views.view.') as $view_config_name) { + $view = $config_factory->get($view_config_name); + if ($view->get('_core')) { + foreach ($view->get('display') as $display_id => $display) { + if (!empty($display['display_options']['path']) && strpos($display['display_options']['path'], 'admin/') === 0) { + $core_admin_views[] = $view_config_name; + } + } + } + } + + // Change any button labels that are still set to the default 'Apply'. + foreach ($core_admin_views as $view_config_name) { + $save = FALSE; + $view = $config_factory->getEditable($view_config_name); + foreach ($view->get('display') as $display_id => $display) { + if (!empty($display['display_options']['exposed_form']['options']['submit_button'])) { + if ($display['display_options']['exposed_form']['options']['submit_button'] === 'Apply') { + $display['display_options']['exposed_form']['options']['submit_button'] = 'Filter'; + $view->set("display.$display_id", $display); + $save = TRUE; + } + } + } + if ($save) { + $view->save(TRUE); + } + } +} + +/** + * @} End of "addtogroup updates-8.3.x". + */ diff --git a/core/modules/views_ui/tests/modules/views_ui_test/config/install/views.view.sa_contrib_2013_035.yml b/core/modules/views_ui/tests/modules/views_ui_test/config/install/views.view.sa_contrib_2013_035.yml index d45d509..014f865 100644 --- a/core/modules/views_ui/tests/modules/views_ui_test/config/install/views.view.sa_contrib_2013_035.yml +++ b/core/modules/views_ui/tests/modules/views_ui_test/config/install/views.view.sa_contrib_2013_035.yml @@ -37,7 +37,7 @@ display: exposed_form: type: basic options: - submit_button: Apply + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by'