From 2ada4e0fe991e635f337700836b5a2cbd78764fd Mon Sep 17 00:00:00 2001 From: Arthur Baghdasaryan Date: Mon, 30 Mar 2026 12:58:29 +0400 Subject: [PATCH 1/6] DP-45856: Fix metadata related to robots noindex --- .../views.view.report_robots_metatags.yml | 1416 +++++++++++++++++ 1 file changed, 1416 insertions(+) create mode 100644 conf/drupal/config/views.view.report_robots_metatags.yml diff --git a/conf/drupal/config/views.view.report_robots_metatags.yml b/conf/drupal/config/views.view.report_robots_metatags.yml new file mode 100644 index 0000000000..440afd1dde --- /dev/null +++ b/conf/drupal/config/views.view.report_robots_metatags.yml @@ -0,0 +1,1416 @@ +uuid: 00d674b3-1650-4aba-a297-5f6bdd303424 +langcode: en +status: true +dependencies: + config: + - field.storage.node.field_organizations + - node.type.action + - node.type.advisory + - node.type.alert + - node.type.api_service_card + - node.type.binder + - node.type.campaign_landing + - node.type.contact_information + - node.type.curated_list + - node.type.decision + - node.type.decision_tree + - node.type.decision_tree_branch + - node.type.decision_tree_conclusion + - node.type.error_page + - node.type.event + - node.type.executive_order + - node.type.external_data_resource + - node.type.fee + - node.type.form_page + - node.type.glossary + - node.type.guide_page + - node.type.how_to_page + - node.type.info_details + - node.type.interstitial + - node.type.location + - node.type.location_details + - node.type.news + - node.type.org_page + - node.type.page + - node.type.person + - node.type.regulation + - node.type.rules + - node.type.service_page + - node.type.sitewide_alert + - node.type.stacked_layout + - node.type.topic_page + - node.type.utility_drawer + - taxonomy.vocabulary.label + module: + - content_moderation + - mass_views + - node + - taxonomy + - user + - views_bulk_operations +id: report_robots_metatags +label: 'report robots metatags' +module: views +description: '' +tag: '' +base_table: node_field_data +base_field: nid +display: + default: + id: default + display_title: Default + display_plugin: default + position: 0 + display_options: + title: 'Report robots noindex/nofollow' + fields: + views_bulk_operations_bulk_form: + id: views_bulk_operations_bulk_form + table: views + field: views_bulk_operations_bulk_form + relationship: none + group_type: group + admin_label: '' + plugin_id: views_bulk_operations_bulk_form + label: 'Views bulk operations' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + batch: true + batch_size: 10 + form_step: true + ajax_loader: false + buttons: false + action_title: Action + clear_on_exposed: true + show_multipage_selection_box: default + show_select_all: always_hide + selected_actions: + - + action_id: views_bulk_edit + preconfiguration: + add_confirmation: false + confirm_help_text: '' + label_override: 'Edit metatags' + message_override: '' + get_bundles_from_results: true + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: title + plugin_id: field + label: Title + exclude: false + alter: + alter_text: false + make_link: false + absolute: false + word_boundary: false + ellipsis: false + strip_tags: false + trim: false + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: true + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + type: + id: type + table: node_field_data + field: type + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: type + plugin_id: field + label: 'Content type' + exclude: false + alter: + alter_text: false + make_link: false + absolute: false + word_boundary: false + ellipsis: false + strip_tags: false + trim: false + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: false + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + nid: + id: nid + table: node_field_data + field: nid + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: nid + plugin_id: field + label: ID + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: number_integer + settings: + thousand_separator: '' + prefix_suffix: true + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + field_organizations: + id: field_organizations + table: node__field_organizations + field: field_organizations + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: Organization(s) + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: entity_reference_label + settings: + link: false + group_column: target_id + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + search: + id: search + table: node_field_data + field: search + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: search + plugin_id: field + label: 'Hide from search' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: boolean + settings: + format: true-false + format_custom_false: '' + format_custom_true: '' + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + status: + id: status + table: node_field_data + field: status + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: status + plugin_id: field + label: 'Published status' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: boolean + settings: + format: true-false + format_custom_false: '' + format_custom_true: '' + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + moderation_state: + id: moderation_state + table: node_field_revision + field: moderation_state + relationship: none + group_type: group + admin_label: '' + entity_type: node + plugin_id: moderation_state_field + label: 'Moderation state' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: content_moderation_state + settings: { } + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + pager: + type: full + options: + offset: 0 + pagination_heading_level: h4 + items_per_page: 50 + total_pages: null + id: 0 + tags: + next: Next + previous: Previous + first: '« First' + last: 'Last »' + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + quantity: 9 + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: true + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + access: + type: perm + options: + perm: 'use mass dashboard' + cache: + type: tag + options: { } + empty: { } + sorts: + created: + id: created + table: node_field_data + field: created + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: created + plugin_id: date + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false + granularity: second + arguments: { } + filters: + search: + id: search + table: node_field_data + field: search + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: search + plugin_id: boolean + operator: '=' + value: '0' + group: 1 + expose: + operator: '' + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: title + plugin_id: string + operator: contains + value: '' + group: 1 + exposed: true + expose: + operator_id: title_op + label: Title + description: '' + use_operator: false + operator: title_op + operator_limit_selection: false + operator_list: { } + identifier: title + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + author: '0' + editor: '0' + emergency_alert_publisher: '0' + executive_orders: '0' + redirect_creators: '0' + content_team: '0' + developer: '0' + administrator: '0' + tester: '0' + doc_deletion: '0' + d2d_redirect_manager: '0' + data_administrator: '0' + collection_administrator: '0' + prototype_design_access: '0' + placeholder: '' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + nid: + id: nid + table: node_field_data + field: nid + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: nid + plugin_id: numeric + operator: '=' + value: + min: '' + max: '' + value: '' + group: 1 + exposed: true + expose: + operator_id: nid_op + label: ID + description: '' + use_operator: false + operator: nid_op + operator_limit_selection: false + operator_list: { } + identifier: nid + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + author: '0' + editor: '0' + emergency_alert_publisher: '0' + executive_orders: '0' + redirect_creators: '0' + content_team: '0' + developer: '0' + administrator: '0' + tester: '0' + doc_deletion: '0' + d2d_redirect_manager: '0' + data_administrator: '0' + collection_administrator: '0' + prototype_design_access: '0' + min_placeholder: '' + max_placeholder: '' + placeholder: '' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + type: + id: type + table: node_field_data + field: type + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: type + plugin_id: bundle + operator: in + value: + all: all + api_service_card: api_service_card + advisory: advisory + alert: alert + sitewide_alert: sitewide_alert + page: page + binder: binder + contact_information: contact_information + curated_list: curated_list + decision: decision + decision_tree: decision_tree + decision_tree_branch: decision_tree_branch + decision_tree_conclusion: decision_tree_conclusion + error_page: error_page + event: event + executive_order: executive_order + external_data_resource: external_data_resource + fee: fee + form_page: form_page + glossary: glossary + guide_page: guide_page + how_to_page: how_to_page + info_details: info_details + interstitial: interstitial + location: location + location_details: location_details + news: news + org_page: org_page + person: person + campaign_landing: campaign_landing + regulation: regulation + action: action + rules: rules + service_page: service_page + stacked_layout: stacked_layout + topic_page: topic_page + utility_drawer: utility_drawer + group: 1 + exposed: true + expose: + operator_id: type_op + label: 'Content type' + description: '' + use_operator: false + operator: type_op + operator_limit_selection: false + operator_list: { } + identifier: type + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + author: '0' + editor: '0' + emergency_alert_publisher: '0' + executive_orders: '0' + redirect_creators: '0' + content_team: '0' + developer: '0' + administrator: '0' + tester: '0' + doc_deletion: '0' + d2d_redirect_manager: '0' + data_administrator: '0' + collection_administrator: '0' + prototype_design_access: '0' + mmg_editor: '0' + viewer: '0' + bulk_edit: '0' + reduce: true + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + status: + id: status + table: node_field_data + field: status + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: status + plugin_id: boolean + operator: '=' + value: '' + group: 1 + exposed: true + expose: + operator_id: '' + label: Published + description: null + use_operator: false + operator: status_op + operator_limit_selection: false + operator_list: { } + identifier: status + required: true + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + author: '0' + editor: '0' + emergency_alert_publisher: '0' + executive_orders: '0' + redirect_creators: '0' + content_team: '0' + developer: '0' + administrator: '0' + tester: '0' + doc_deletion: '0' + d2d_redirect_manager: '0' + data_administrator: '0' + collection_administrator: '0' + is_grouped: true + group_info: + label: 'Publication status' + description: '' + identifier: status + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: + 1: + title: Published + operator: '=' + value: '1' + 2: + title: Unpublished + operator: '=' + value: '0' + uid_1: + id: uid_1 + table: node_field_data + field: uid + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: uid + plugin_id: user_name + operator: in + value: { } + group: 1 + exposed: true + expose: + operator_id: uid_1_op + label: Author + description: '' + use_operator: false + operator: uid_1_op + operator_limit_selection: false + operator_list: { } + identifier: uid_1 + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + author: '0' + editor: '0' + emergency_alert_publisher: '0' + executive_orders: '0' + redirect_creators: '0' + content_team: '0' + developer: '0' + administrator: '0' + tester: '0' + doc_deletion: '0' + d2d_redirect_manager: '0' + data_administrator: '0' + collection_administrator: '0' + prototype_design_access: '0' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + node_org_filter: + id: node_org_filter + table: node_field_data + field: node_org_filter + relationship: none + group_type: group + admin_label: '' + entity_type: node + plugin_id: mass_views_node_org_filter + operator: '=' + value: null + group: 1 + exposed: true + expose: + operator_id: node_org_filter_op + label: 'Organization Filter' + description: '' + use_operator: false + operator: node_org_filter_op + operator_limit_selection: false + operator_list: { } + identifier: node_org_filter + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + author: '0' + editor: '0' + emergency_alert_publisher: '0' + executive_orders: '0' + redirect_creators: '0' + content_team: '0' + developer: '0' + administrator: '0' + tester: '0' + doc_deletion: '0' + d2d_redirect_manager: '0' + data_administrator: '0' + collection_administrator: '0' + prototype_design_access: '0' + mmg_editor: '0' + viewer: '0' + bulk_edit: '0' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + field_reusable_label_target_id: + id: field_reusable_label_target_id + table: node__field_reusable_label + field: field_reusable_label_target_id + relationship: none + group_type: group + admin_label: '' + plugin_id: taxonomy_index_tid + operator: or + value: { } + group: 1 + exposed: true + expose: + operator_id: field_reusable_label_target_id_op + label: Label(s) + description: '' + use_operator: false + operator: field_reusable_label_target_id_op + operator_limit_selection: false + operator_list: { } + identifier: field_reusable_label_target_id + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + author: '0' + editor: '0' + emergency_alert_publisher: '0' + executive_orders: '0' + redirect_creators: '0' + content_team: '0' + developer: '0' + administrator: '0' + tester: '0' + doc_deletion: '0' + d2d_redirect_manager: '0' + data_administrator: '0' + collection_administrator: '0' + prototype_design_access: '0' + mmg_editor: '0' + viewer: '0' + bulk_edit: '0' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + reduce_duplicates: false + vid: label + type: textfield + hierarchy: false + limit: true + error_message: true + field_advisory_metatags: + id: field_advisory_metatags_value + table: node__field_advisory_metatags + field: field_advisory_metatags_value + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: 'noindex, nofollow' + group: 2 + expose: + operator: '' + field_metatags: + id: field_metatags_value + table: node__field_metatags + field: field_metatags_value + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: 'noindex, nofollow' + group: 2 + expose: + operator: '' + field_binder_metatags: + id: field_binder_metatags_value + table: node__field_binder_metatags + field: field_binder_metatags_value + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: 'noindex, nofollow' + group: 2 + expose: + operator: '' + field_campaign_landing_metatags: + id: field_campaign_landing_metatags_value + table: node__field_campaign_landing_metatags + field: field_campaign_landing_metatags_value + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: 'noindex, nofollow' + group: 2 + expose: + operator: '' + field_curatedlist_metatags: + id: field_curatedlist_metatags_value + table: node__field_curatedlist_metatags + field: field_curatedlist_metatags_value + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: 'noindex, nofollow' + group: 2 + expose: + operator: '' + field_decision_metatags: + id: field_decision_metatags_value + table: node__field_decision_metatags + field: field_decision_metatags_value + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: 'noindex, nofollow' + group: 2 + expose: + operator: '' + field_decision_tree_metatags: + id: field_decision_tree_metatags_value + table: node__field_decision_tree_metatags + field: field_decision_tree_metatags_value + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: 'noindex, nofollow' + group: 2 + expose: + operator: '' + field_event_metatags: + id: field_event_metatags_value + table: node__field_event_metatags + field: field_event_metatags_value + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: 'noindex, nofollow' + group: 2 + expose: + operator: '' + field_executive_order_metatags: + id: field_executive_order_metatags_value + table: node__field_executive_order_metatags + field: field_executive_order_metatags_value + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: 'noindex, nofollow' + group: 2 + expose: + operator: '' + field_guide_page_metatags: + id: field_guide_page_metatags_value + table: node__field_guide_page_metatags + field: field_guide_page_metatags_value + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: 'noindex, nofollow' + group: 2 + expose: + operator: '' + field_how_to_metatags: + id: field_how_to_metatags_value + table: node__field_how_to_metatags + field: field_how_to_metatags_value + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: 'noindex, nofollow' + group: 2 + expose: + operator: '' + field_infodetails_metatags: + id: field_infodetails_metatags_value + table: node__field_infodetails_metatags + field: field_infodetails_metatags_value + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: 'noindex, nofollow' + group: 2 + expose: + operator: '' + field_location_metatags: + id: field_location_metatags_value + table: node__field_location_metatags + field: field_location_metatags_value + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: 'noindex, nofollow' + group: 2 + expose: + operator: '' + field_location_details_metatags: + id: field_location_details_metatags_value + table: node__field_location_details_metatags + field: field_location_details_metatags_value + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: 'noindex, nofollow' + group: 2 + expose: + operator: '' + field_news_metatags: + id: field_news_metatags_value + table: node__field_news_metatags + field: field_news_metatags_value + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: 'noindex, nofollow' + group: 2 + expose: + operator: '' + field_regulation_metatags: + id: field_regulation_metatags_value + table: node__field_regulation_metatags + field: field_regulation_metatags_value + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: 'noindex, nofollow' + group: 2 + expose: + operator: '' + field_rules_metatags: + id: field_rules_metatags_value + table: node__field_rules_metatags + field: field_rules_metatags_value + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: 'noindex, nofollow' + group: 2 + expose: + operator: '' + field_service_metatags: + id: field_service_metatags_value + table: node__field_service_metatags + field: field_service_metatags_value + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: 'noindex, nofollow' + group: 2 + expose: + operator: '' + field_service_detail_metatags: + id: field_service_detail_metatags_value + table: node__field_service_detail_metatags + field: field_service_detail_metatags_value + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: 'noindex, nofollow' + group: 2 + expose: + operator: '' + field_topic_metatags: + id: field_topic_metatags_value + table: node__field_topic_metatags + field: field_topic_metatags_value + relationship: none + group_type: group + admin_label: '' + plugin_id: string + operator: contains + value: 'noindex, nofollow' + group: 2 + expose: + operator: '' + filter_groups: + operator: AND + groups: + 1: AND + 2: OR + style: + type: table + row: + type: fields + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + disable_automatic_base_fields: false + replica: false + query_tags: { } + relationships: { } + header: + area: + id: area + table: views + field: area + relationship: none + group_type: group + admin_label: '' + plugin_id: text + empty: true + content: + value: '

This report lists nodes whose robots metatags still include noindex, nofollow while the hide from search checkbox is not checked.

' + format: basic_html + tokenize: false + result: + id: result + table: views + field: result + relationship: none + group_type: group + admin_label: '' + plugin_id: result + empty: false + content: 'Displaying @start - @end of @total' + footer: { } + display_extenders: + metatag_display_extender: + metatags: { } + tokenize: false + cache_metadata: + max-age: 0 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: + - 'config:field.storage.node.field_organizations' + page_1: + id: page_1 + display_title: Page + display_plugin: page + position: 1 + display_options: + display_extenders: { } + path: admin/reports/stale-robots + cache_metadata: + max-age: 0 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: + - 'config:field.storage.node.field_organizations' From e81820ffc72906c7c321927653a03133c9664e35 Mon Sep 17 00:00:00 2001 From: Arthur Baghdasaryan Date: Mon, 30 Mar 2026 12:59:20 +0400 Subject: [PATCH 2/6] DP-45856: Fix metadata related to robots noindex --- changelogs/DP-45856.yml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 changelogs/DP-45856.yml diff --git a/changelogs/DP-45856.yml b/changelogs/DP-45856.yml new file mode 100644 index 0000000000..d71e3fdf12 --- /dev/null +++ b/changelogs/DP-45856.yml @@ -0,0 +1,41 @@ +# +# Write your changelog entry here. Every pull request must have a changelog yml file. +# +# Change types: +# ############################################################################# +# You can use one of the following types: +# - Added: For new features. +# - Changed: For changes to existing functionality. +# - Deprecated: For soon-to-be removed features. +# - Removed: For removed features. +# - Fixed: For any bug fixes. +# - Security: In case of vulnerabilities. +# +# Format +# ############################################################################# +# The format is crucial. Please follow the examples below. For reference, the requirements are: +# - All 3 parts are required and you must include "Type", "description" and "issue". +# - "Type" must be left aligned and followed by a colon. +# - "description" must be indented with 2 spaces followed by a colon +# - "issue" must be indented with 4 spaces followed by a colon. +# - "issue" is for the Jira ticket number only e.g. DP-1234 +# - No extra spaces, indents, or blank lines are allowed. +# +# Example: +# ############################################################################# +# Fixed: +# - description: Fixes scrolling on edit pages in Safari. +# issue: DP-13314 +# +# You may add more than 1 description & issue for each type using the following format: +# Changed: +# - description: Automating the release branch. +# issue: DP-10166 +# - description: Second change item that needs a description. +# issue: DP-19875 +# - description: Third change item that needs a description along with an issue. +# issue: DP-19843 +# +Type: + - description: Fix metadata related to robots noindex. + issue: DP-45856 From 91df24c1684e51e998ff782f448c3e63aa0fb178 Mon Sep 17 00:00:00 2001 From: Arthur Baghdasaryan Date: Mon, 30 Mar 2026 14:46:41 +0400 Subject: [PATCH 3/6] DP-45856: Fix metadata related to robots noindex --- changelogs/DP-45856.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelogs/DP-45856.yml b/changelogs/DP-45856.yml index d71e3fdf12..57dcd9178b 100644 --- a/changelogs/DP-45856.yml +++ b/changelogs/DP-45856.yml @@ -36,6 +36,6 @@ # - description: Third change item that needs a description along with an issue. # issue: DP-19843 # -Type: +Fixed: - description: Fix metadata related to robots noindex. issue: DP-45856 From 95c7d115004c5c3ba633fcebf24bc1dfe521c867 Mon Sep 17 00:00:00 2001 From: Arthur Baghdasaryan Date: Thu, 2 Apr 2026 11:04:15 +0400 Subject: [PATCH 4/6] Hide robots --- .../views.view.report_robots_metatags.yml | 1416 ----------------- .../custom/mass_metatag/mass_metatag.module | 1 + 2 files changed, 1 insertion(+), 1416 deletions(-) delete mode 100644 conf/drupal/config/views.view.report_robots_metatags.yml diff --git a/conf/drupal/config/views.view.report_robots_metatags.yml b/conf/drupal/config/views.view.report_robots_metatags.yml deleted file mode 100644 index 440afd1dde..0000000000 --- a/conf/drupal/config/views.view.report_robots_metatags.yml +++ /dev/null @@ -1,1416 +0,0 @@ -uuid: 00d674b3-1650-4aba-a297-5f6bdd303424 -langcode: en -status: true -dependencies: - config: - - field.storage.node.field_organizations - - node.type.action - - node.type.advisory - - node.type.alert - - node.type.api_service_card - - node.type.binder - - node.type.campaign_landing - - node.type.contact_information - - node.type.curated_list - - node.type.decision - - node.type.decision_tree - - node.type.decision_tree_branch - - node.type.decision_tree_conclusion - - node.type.error_page - - node.type.event - - node.type.executive_order - - node.type.external_data_resource - - node.type.fee - - node.type.form_page - - node.type.glossary - - node.type.guide_page - - node.type.how_to_page - - node.type.info_details - - node.type.interstitial - - node.type.location - - node.type.location_details - - node.type.news - - node.type.org_page - - node.type.page - - node.type.person - - node.type.regulation - - node.type.rules - - node.type.service_page - - node.type.sitewide_alert - - node.type.stacked_layout - - node.type.topic_page - - node.type.utility_drawer - - taxonomy.vocabulary.label - module: - - content_moderation - - mass_views - - node - - taxonomy - - user - - views_bulk_operations -id: report_robots_metatags -label: 'report robots metatags' -module: views -description: '' -tag: '' -base_table: node_field_data -base_field: nid -display: - default: - id: default - display_title: Default - display_plugin: default - position: 0 - display_options: - title: 'Report robots noindex/nofollow' - fields: - views_bulk_operations_bulk_form: - id: views_bulk_operations_bulk_form - table: views - field: views_bulk_operations_bulk_form - relationship: none - group_type: group - admin_label: '' - plugin_id: views_bulk_operations_bulk_form - label: 'Views bulk operations' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - batch: true - batch_size: 10 - form_step: true - ajax_loader: false - buttons: false - action_title: Action - clear_on_exposed: true - show_multipage_selection_box: default - show_select_all: always_hide - selected_actions: - - - action_id: views_bulk_edit - preconfiguration: - add_confirmation: false - confirm_help_text: '' - label_override: 'Edit metatags' - message_override: '' - get_bundles_from_results: true - title: - id: title - table: node_field_data - field: title - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: title - plugin_id: field - label: Title - exclude: false - alter: - alter_text: false - make_link: false - absolute: false - word_boundary: false - ellipsis: false - strip_tags: false - trim: false - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: string - settings: - link_to_entity: true - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - type: - id: type - table: node_field_data - field: type - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: type - plugin_id: field - label: 'Content type' - exclude: false - alter: - alter_text: false - make_link: false - absolute: false - word_boundary: false - ellipsis: false - strip_tags: false - trim: false - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: string - settings: - link_to_entity: false - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - nid: - id: nid - table: node_field_data - field: nid - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: nid - plugin_id: field - label: ID - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: number_integer - settings: - thousand_separator: '' - prefix_suffix: true - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - field_organizations: - id: field_organizations - table: node__field_organizations - field: field_organizations - relationship: none - group_type: group - admin_label: '' - plugin_id: field - label: Organization(s) - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: target_id - type: entity_reference_label - settings: - link: false - group_column: target_id - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - search: - id: search - table: node_field_data - field: search - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: search - plugin_id: field - label: 'Hide from search' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: boolean - settings: - format: true-false - format_custom_false: '' - format_custom_true: '' - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - status: - id: status - table: node_field_data - field: status - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: status - plugin_id: field - label: 'Published status' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: boolean - settings: - format: true-false - format_custom_false: '' - format_custom_true: '' - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - moderation_state: - id: moderation_state - table: node_field_revision - field: moderation_state - relationship: none - group_type: group - admin_label: '' - entity_type: node - plugin_id: moderation_state_field - label: 'Moderation state' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: content_moderation_state - settings: { } - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - pager: - type: full - options: - offset: 0 - pagination_heading_level: h4 - items_per_page: 50 - total_pages: null - id: 0 - tags: - next: Next - previous: Previous - first: '« First' - last: 'Last »' - expose: - items_per_page: false - items_per_page_label: 'Items per page' - items_per_page_options: '5, 10, 25, 50' - items_per_page_options_all: false - items_per_page_options_all_label: '- All -' - offset: false - offset_label: Offset - quantity: 9 - exposed_form: - type: basic - options: - submit_button: Apply - reset_button: true - reset_button_label: Reset - exposed_sorts_label: 'Sort by' - expose_sort_order: true - sort_asc_label: Asc - sort_desc_label: Desc - access: - type: perm - options: - perm: 'use mass dashboard' - cache: - type: tag - options: { } - empty: { } - sorts: - created: - id: created - table: node_field_data - field: created - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: created - plugin_id: date - order: DESC - expose: - label: '' - field_identifier: '' - exposed: false - granularity: second - arguments: { } - filters: - search: - id: search - table: node_field_data - field: search - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: search - plugin_id: boolean - operator: '=' - value: '0' - group: 1 - expose: - operator: '' - title: - id: title - table: node_field_data - field: title - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: title - plugin_id: string - operator: contains - value: '' - group: 1 - exposed: true - expose: - operator_id: title_op - label: Title - description: '' - use_operator: false - operator: title_op - operator_limit_selection: false - operator_list: { } - identifier: title - required: false - remember: false - multiple: false - remember_roles: - authenticated: authenticated - anonymous: '0' - author: '0' - editor: '0' - emergency_alert_publisher: '0' - executive_orders: '0' - redirect_creators: '0' - content_team: '0' - developer: '0' - administrator: '0' - tester: '0' - doc_deletion: '0' - d2d_redirect_manager: '0' - data_administrator: '0' - collection_administrator: '0' - prototype_design_access: '0' - placeholder: '' - is_grouped: false - group_info: - label: '' - description: '' - identifier: '' - optional: true - widget: select - multiple: false - remember: false - default_group: All - default_group_multiple: { } - group_items: { } - nid: - id: nid - table: node_field_data - field: nid - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: nid - plugin_id: numeric - operator: '=' - value: - min: '' - max: '' - value: '' - group: 1 - exposed: true - expose: - operator_id: nid_op - label: ID - description: '' - use_operator: false - operator: nid_op - operator_limit_selection: false - operator_list: { } - identifier: nid - required: false - remember: false - multiple: false - remember_roles: - authenticated: authenticated - anonymous: '0' - author: '0' - editor: '0' - emergency_alert_publisher: '0' - executive_orders: '0' - redirect_creators: '0' - content_team: '0' - developer: '0' - administrator: '0' - tester: '0' - doc_deletion: '0' - d2d_redirect_manager: '0' - data_administrator: '0' - collection_administrator: '0' - prototype_design_access: '0' - min_placeholder: '' - max_placeholder: '' - placeholder: '' - is_grouped: false - group_info: - label: '' - description: '' - identifier: '' - optional: true - widget: select - multiple: false - remember: false - default_group: All - default_group_multiple: { } - group_items: { } - type: - id: type - table: node_field_data - field: type - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: type - plugin_id: bundle - operator: in - value: - all: all - api_service_card: api_service_card - advisory: advisory - alert: alert - sitewide_alert: sitewide_alert - page: page - binder: binder - contact_information: contact_information - curated_list: curated_list - decision: decision - decision_tree: decision_tree - decision_tree_branch: decision_tree_branch - decision_tree_conclusion: decision_tree_conclusion - error_page: error_page - event: event - executive_order: executive_order - external_data_resource: external_data_resource - fee: fee - form_page: form_page - glossary: glossary - guide_page: guide_page - how_to_page: how_to_page - info_details: info_details - interstitial: interstitial - location: location - location_details: location_details - news: news - org_page: org_page - person: person - campaign_landing: campaign_landing - regulation: regulation - action: action - rules: rules - service_page: service_page - stacked_layout: stacked_layout - topic_page: topic_page - utility_drawer: utility_drawer - group: 1 - exposed: true - expose: - operator_id: type_op - label: 'Content type' - description: '' - use_operator: false - operator: type_op - operator_limit_selection: false - operator_list: { } - identifier: type - required: false - remember: false - multiple: false - remember_roles: - authenticated: authenticated - anonymous: '0' - author: '0' - editor: '0' - emergency_alert_publisher: '0' - executive_orders: '0' - redirect_creators: '0' - content_team: '0' - developer: '0' - administrator: '0' - tester: '0' - doc_deletion: '0' - d2d_redirect_manager: '0' - data_administrator: '0' - collection_administrator: '0' - prototype_design_access: '0' - mmg_editor: '0' - viewer: '0' - bulk_edit: '0' - reduce: true - is_grouped: false - group_info: - label: '' - description: '' - identifier: '' - optional: true - widget: select - multiple: false - remember: false - default_group: All - default_group_multiple: { } - group_items: { } - status: - id: status - table: node_field_data - field: status - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: status - plugin_id: boolean - operator: '=' - value: '' - group: 1 - exposed: true - expose: - operator_id: '' - label: Published - description: null - use_operator: false - operator: status_op - operator_limit_selection: false - operator_list: { } - identifier: status - required: true - remember: false - multiple: false - remember_roles: - authenticated: authenticated - anonymous: '0' - author: '0' - editor: '0' - emergency_alert_publisher: '0' - executive_orders: '0' - redirect_creators: '0' - content_team: '0' - developer: '0' - administrator: '0' - tester: '0' - doc_deletion: '0' - d2d_redirect_manager: '0' - data_administrator: '0' - collection_administrator: '0' - is_grouped: true - group_info: - label: 'Publication status' - description: '' - identifier: status - optional: true - widget: select - multiple: false - remember: false - default_group: All - default_group_multiple: { } - group_items: - 1: - title: Published - operator: '=' - value: '1' - 2: - title: Unpublished - operator: '=' - value: '0' - uid_1: - id: uid_1 - table: node_field_data - field: uid - relationship: none - group_type: group - admin_label: '' - entity_type: node - entity_field: uid - plugin_id: user_name - operator: in - value: { } - group: 1 - exposed: true - expose: - operator_id: uid_1_op - label: Author - description: '' - use_operator: false - operator: uid_1_op - operator_limit_selection: false - operator_list: { } - identifier: uid_1 - required: false - remember: false - multiple: false - remember_roles: - authenticated: authenticated - anonymous: '0' - author: '0' - editor: '0' - emergency_alert_publisher: '0' - executive_orders: '0' - redirect_creators: '0' - content_team: '0' - developer: '0' - administrator: '0' - tester: '0' - doc_deletion: '0' - d2d_redirect_manager: '0' - data_administrator: '0' - collection_administrator: '0' - prototype_design_access: '0' - reduce: false - is_grouped: false - group_info: - label: '' - description: '' - identifier: '' - optional: true - widget: select - multiple: false - remember: false - default_group: All - default_group_multiple: { } - group_items: { } - node_org_filter: - id: node_org_filter - table: node_field_data - field: node_org_filter - relationship: none - group_type: group - admin_label: '' - entity_type: node - plugin_id: mass_views_node_org_filter - operator: '=' - value: null - group: 1 - exposed: true - expose: - operator_id: node_org_filter_op - label: 'Organization Filter' - description: '' - use_operator: false - operator: node_org_filter_op - operator_limit_selection: false - operator_list: { } - identifier: node_org_filter - required: false - remember: false - multiple: false - remember_roles: - authenticated: authenticated - anonymous: '0' - author: '0' - editor: '0' - emergency_alert_publisher: '0' - executive_orders: '0' - redirect_creators: '0' - content_team: '0' - developer: '0' - administrator: '0' - tester: '0' - doc_deletion: '0' - d2d_redirect_manager: '0' - data_administrator: '0' - collection_administrator: '0' - prototype_design_access: '0' - mmg_editor: '0' - viewer: '0' - bulk_edit: '0' - is_grouped: false - group_info: - label: '' - description: '' - identifier: '' - optional: true - widget: select - multiple: false - remember: false - default_group: All - default_group_multiple: { } - group_items: { } - field_reusable_label_target_id: - id: field_reusable_label_target_id - table: node__field_reusable_label - field: field_reusable_label_target_id - relationship: none - group_type: group - admin_label: '' - plugin_id: taxonomy_index_tid - operator: or - value: { } - group: 1 - exposed: true - expose: - operator_id: field_reusable_label_target_id_op - label: Label(s) - description: '' - use_operator: false - operator: field_reusable_label_target_id_op - operator_limit_selection: false - operator_list: { } - identifier: field_reusable_label_target_id - required: false - remember: false - multiple: false - remember_roles: - authenticated: authenticated - anonymous: '0' - author: '0' - editor: '0' - emergency_alert_publisher: '0' - executive_orders: '0' - redirect_creators: '0' - content_team: '0' - developer: '0' - administrator: '0' - tester: '0' - doc_deletion: '0' - d2d_redirect_manager: '0' - data_administrator: '0' - collection_administrator: '0' - prototype_design_access: '0' - mmg_editor: '0' - viewer: '0' - bulk_edit: '0' - reduce: false - is_grouped: false - group_info: - label: '' - description: '' - identifier: '' - optional: true - widget: select - multiple: false - remember: false - default_group: All - default_group_multiple: { } - group_items: { } - reduce_duplicates: false - vid: label - type: textfield - hierarchy: false - limit: true - error_message: true - field_advisory_metatags: - id: field_advisory_metatags_value - table: node__field_advisory_metatags - field: field_advisory_metatags_value - relationship: none - group_type: group - admin_label: '' - plugin_id: string - operator: contains - value: 'noindex, nofollow' - group: 2 - expose: - operator: '' - field_metatags: - id: field_metatags_value - table: node__field_metatags - field: field_metatags_value - relationship: none - group_type: group - admin_label: '' - plugin_id: string - operator: contains - value: 'noindex, nofollow' - group: 2 - expose: - operator: '' - field_binder_metatags: - id: field_binder_metatags_value - table: node__field_binder_metatags - field: field_binder_metatags_value - relationship: none - group_type: group - admin_label: '' - plugin_id: string - operator: contains - value: 'noindex, nofollow' - group: 2 - expose: - operator: '' - field_campaign_landing_metatags: - id: field_campaign_landing_metatags_value - table: node__field_campaign_landing_metatags - field: field_campaign_landing_metatags_value - relationship: none - group_type: group - admin_label: '' - plugin_id: string - operator: contains - value: 'noindex, nofollow' - group: 2 - expose: - operator: '' - field_curatedlist_metatags: - id: field_curatedlist_metatags_value - table: node__field_curatedlist_metatags - field: field_curatedlist_metatags_value - relationship: none - group_type: group - admin_label: '' - plugin_id: string - operator: contains - value: 'noindex, nofollow' - group: 2 - expose: - operator: '' - field_decision_metatags: - id: field_decision_metatags_value - table: node__field_decision_metatags - field: field_decision_metatags_value - relationship: none - group_type: group - admin_label: '' - plugin_id: string - operator: contains - value: 'noindex, nofollow' - group: 2 - expose: - operator: '' - field_decision_tree_metatags: - id: field_decision_tree_metatags_value - table: node__field_decision_tree_metatags - field: field_decision_tree_metatags_value - relationship: none - group_type: group - admin_label: '' - plugin_id: string - operator: contains - value: 'noindex, nofollow' - group: 2 - expose: - operator: '' - field_event_metatags: - id: field_event_metatags_value - table: node__field_event_metatags - field: field_event_metatags_value - relationship: none - group_type: group - admin_label: '' - plugin_id: string - operator: contains - value: 'noindex, nofollow' - group: 2 - expose: - operator: '' - field_executive_order_metatags: - id: field_executive_order_metatags_value - table: node__field_executive_order_metatags - field: field_executive_order_metatags_value - relationship: none - group_type: group - admin_label: '' - plugin_id: string - operator: contains - value: 'noindex, nofollow' - group: 2 - expose: - operator: '' - field_guide_page_metatags: - id: field_guide_page_metatags_value - table: node__field_guide_page_metatags - field: field_guide_page_metatags_value - relationship: none - group_type: group - admin_label: '' - plugin_id: string - operator: contains - value: 'noindex, nofollow' - group: 2 - expose: - operator: '' - field_how_to_metatags: - id: field_how_to_metatags_value - table: node__field_how_to_metatags - field: field_how_to_metatags_value - relationship: none - group_type: group - admin_label: '' - plugin_id: string - operator: contains - value: 'noindex, nofollow' - group: 2 - expose: - operator: '' - field_infodetails_metatags: - id: field_infodetails_metatags_value - table: node__field_infodetails_metatags - field: field_infodetails_metatags_value - relationship: none - group_type: group - admin_label: '' - plugin_id: string - operator: contains - value: 'noindex, nofollow' - group: 2 - expose: - operator: '' - field_location_metatags: - id: field_location_metatags_value - table: node__field_location_metatags - field: field_location_metatags_value - relationship: none - group_type: group - admin_label: '' - plugin_id: string - operator: contains - value: 'noindex, nofollow' - group: 2 - expose: - operator: '' - field_location_details_metatags: - id: field_location_details_metatags_value - table: node__field_location_details_metatags - field: field_location_details_metatags_value - relationship: none - group_type: group - admin_label: '' - plugin_id: string - operator: contains - value: 'noindex, nofollow' - group: 2 - expose: - operator: '' - field_news_metatags: - id: field_news_metatags_value - table: node__field_news_metatags - field: field_news_metatags_value - relationship: none - group_type: group - admin_label: '' - plugin_id: string - operator: contains - value: 'noindex, nofollow' - group: 2 - expose: - operator: '' - field_regulation_metatags: - id: field_regulation_metatags_value - table: node__field_regulation_metatags - field: field_regulation_metatags_value - relationship: none - group_type: group - admin_label: '' - plugin_id: string - operator: contains - value: 'noindex, nofollow' - group: 2 - expose: - operator: '' - field_rules_metatags: - id: field_rules_metatags_value - table: node__field_rules_metatags - field: field_rules_metatags_value - relationship: none - group_type: group - admin_label: '' - plugin_id: string - operator: contains - value: 'noindex, nofollow' - group: 2 - expose: - operator: '' - field_service_metatags: - id: field_service_metatags_value - table: node__field_service_metatags - field: field_service_metatags_value - relationship: none - group_type: group - admin_label: '' - plugin_id: string - operator: contains - value: 'noindex, nofollow' - group: 2 - expose: - operator: '' - field_service_detail_metatags: - id: field_service_detail_metatags_value - table: node__field_service_detail_metatags - field: field_service_detail_metatags_value - relationship: none - group_type: group - admin_label: '' - plugin_id: string - operator: contains - value: 'noindex, nofollow' - group: 2 - expose: - operator: '' - field_topic_metatags: - id: field_topic_metatags_value - table: node__field_topic_metatags - field: field_topic_metatags_value - relationship: none - group_type: group - admin_label: '' - plugin_id: string - operator: contains - value: 'noindex, nofollow' - group: 2 - expose: - operator: '' - filter_groups: - operator: AND - groups: - 1: AND - 2: OR - style: - type: table - row: - type: fields - query: - type: views_query - options: - query_comment: '' - disable_sql_rewrite: false - distinct: false - disable_automatic_base_fields: false - replica: false - query_tags: { } - relationships: { } - header: - area: - id: area - table: views - field: area - relationship: none - group_type: group - admin_label: '' - plugin_id: text - empty: true - content: - value: '

This report lists nodes whose robots metatags still include noindex, nofollow while the hide from search checkbox is not checked.

' - format: basic_html - tokenize: false - result: - id: result - table: views - field: result - relationship: none - group_type: group - admin_label: '' - plugin_id: result - empty: false - content: 'Displaying @start - @end of @total' - footer: { } - display_extenders: - metatag_display_extender: - metatags: { } - tokenize: false - cache_metadata: - max-age: 0 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - url - - url.query_args - - 'user.node_grants:view' - - user.permissions - tags: - - 'config:field.storage.node.field_organizations' - page_1: - id: page_1 - display_title: Page - display_plugin: page - position: 1 - display_options: - display_extenders: { } - path: admin/reports/stale-robots - cache_metadata: - max-age: 0 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - url - - url.query_args - - 'user.node_grants:view' - - user.permissions - tags: - - 'config:field.storage.node.field_organizations' diff --git a/docroot/modules/custom/mass_metatag/mass_metatag.module b/docroot/modules/custom/mass_metatag/mass_metatag.module index 64e40ee285..34067707ea 100644 --- a/docroot/modules/custom/mass_metatag/mass_metatag.module +++ b/docroot/modules/custom/mass_metatag/mass_metatag.module @@ -795,6 +795,7 @@ function mass_metatag_form_node_form_alter(&$form, FormStateInterface $form_stat // Hide the following metatags from the advanced section. $subsection_advanced = [ + 'robots', 'geo_placename', 'geo_position', 'geo_region', From c146c7e1363e93c54f3a7ac1e269539177ae2f08 Mon Sep 17 00:00:00 2001 From: Arthur Baghdasaryan Date: Thu, 2 Apr 2026 11:05:10 +0400 Subject: [PATCH 5/6] Hide robots --- changelogs/DP-45856.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelogs/DP-45856.yml b/changelogs/DP-45856.yml index 57dcd9178b..40fd39f99d 100644 --- a/changelogs/DP-45856.yml +++ b/changelogs/DP-45856.yml @@ -37,5 +37,5 @@ # issue: DP-19843 # Fixed: - - description: Fix metadata related to robots noindex. + - description: Hide metadata related to robots noindex on the form. issue: DP-45856 From fb60134298b053f7fb410a3b5a192ebdf03aea56 Mon Sep 17 00:00:00 2001 From: Arthur Baghdasaryan Date: Wed, 8 Apr 2026 10:40:18 +0400 Subject: [PATCH 6/6] Remove from views_bulk_Edit form --- .../custom/mass_metatag/mass_metatag.module | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/docroot/modules/custom/mass_metatag/mass_metatag.module b/docroot/modules/custom/mass_metatag/mass_metatag.module index e0f3967423..7b147db873 100644 --- a/docroot/modules/custom/mass_metatag/mass_metatag.module +++ b/docroot/modules/custom/mass_metatag/mass_metatag.module @@ -861,6 +861,72 @@ function mass_metatag_form_node_form_alter(&$form, FormStateInterface $form_stat } } +/** + * Implements hook_form_alter(). + */ +function mass_metatag_form_alter(&$form, FormStateInterface $form_state, $form_id) { + if ($form_id !== 'views_bulk_operations_configure_action') { + return; + } + + $form_data = $form_state->get('views_bulk_operations'); + if (empty($form_data['action_id']) || $form_data['action_id'] !== 'views_bulk_edit') { + return; + } + + $terms = [ + 'robots', + 'noindex', + 'nofollow', + 'nosnippet', + 'max-snippet', + 'max-image-preview', + 'max-video-preview', + ]; + mass_metatag_hide_elements_by_terms($form, $terms); +} + +/** + * Hide elements whose key/title contains any of the given terms. + * + * @param array $elements + * Form element tree to inspect and alter. + * @param array $hide_terms + * Terms matched against each element key/title. + */ +function mass_metatag_hide_elements_by_terms(array &$elements, array $hide_terms) { + foreach ($elements as $key => &$element) { + if (!is_array($element)) { + continue; + } + + $matches = FALSE; + $key_string = strtolower((string) $key); + foreach ($hide_terms as $term) { + if (str_contains($key_string, $term)) { + $matches = TRUE; + break; + } + } + + if (!$matches && isset($element['#title'])) { + $title = strtolower(strip_tags((string) $element['#title'])); + foreach ($hide_terms as $term) { + if (str_contains($title, $term)) { + $matches = TRUE; + break; + } + } + } + + if ($matches) { + $element['#access'] = FALSE; + } + + mass_metatag_hide_elements_by_terms($element, $hide_terms); + } +} + /** * Implements hook_metatags_attachments_alter(). */