diff --git a/config/sync/eca.eca.expiring_fwb.yml b/config/sync/eca.eca.expiring_fwb.yml new file mode 100644 index 0000000000..cf53a4e455 --- /dev/null +++ b/config/sync/eca.eca.expiring_fwb.yml @@ -0,0 +1,39 @@ +uuid: 363d384e-b996-41b9-8cbd-f6b0dbe01e76 +langcode: en +status: false +dependencies: + module: + - eca_base + - va_gov_eca +id: expiring_fwb +modeller: core +label: 'Scheduled Notifications: Expiring FWB' +version: 0.1.0 +weight: null +events: + eca_base_eca_cron: + plugin: 'eca_base:eca_cron' + label: 'ECA cron event' + configuration: + frequency: '* * * * *' + successors: + - + id: action_message_action + condition: views_result +conditions: + views_result: + plugin: views_result + configuration: + negate: false + view_name: scheduled_notifications_full_width_alert + display_name: eca_result_1 + arguments: { } +gateways: { } +actions: + action_message_action: + plugin: action_message_action + label: 'Display a message to the user' + configuration: + message: 'The Scheduled Notifications: Full Width Alert View has results.' + replace_tokens: false + successors: { } diff --git a/config/sync/views.view.scheduled_notifications_full_width_alert.yml b/config/sync/views.view.scheduled_notifications_full_width_alert.yml new file mode 100644 index 0000000000..66ccb5ed6e --- /dev/null +++ b/config/sync/views.view.scheduled_notifications_full_width_alert.yml @@ -0,0 +1,288 @@ +uuid: c4871759-4d7d-4aa5-bf57-9184da4a487b +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.node.teaser + - node.type.banner + module: + - node + - user + - va_gov_eca +id: scheduled_notifications_full_width_alert +label: 'Scheduled Notifications: Full Width Alert' +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: + fields: + 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: '' + 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 + pager: + type: mini + options: + offset: 0 + items_per_page: 10 + total_pages: null + id: 0 + tags: + next: ›› + previous: ‹‹ + 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 + pagination_heading_level: h2 + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: false + 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: 'access content' + 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: + status: + id: status + table: node_field_data + field: status + entity_type: node + entity_field: status + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + type: + id: type + table: node_field_data + field: type + entity_type: node + entity_field: type + plugin_id: bundle + value: + banner: banner + style: + type: default + options: + grouping: { } + row_class: '' + default_row_class: true + uses_fields: false + row: + type: fields + options: + default_field_elements: true + inline: { } + separator: '' + hide_empty: false + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: { } + header: { } + footer: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: { } + eca_result_1: + id: eca_result_1 + display_title: 'ECA Result' + display_plugin: eca_result + position: 1 + display_options: + display_extenders: + jsonapi_views: + enabled: true + row: + type: 'entity:node' + options: + relationship: none + view_mode: teaser + filters: + type: + id: type + table: node_field_data + field: type + relationship: none + group_type: group + admin_label: '' + operator: in + value: + banner: banner + group: '1' + exposed: false + expose: + operator_id: false + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: 0 + default_group: All + default_group_multiple: { } + group_items: { } + entity_type: node + entity_field: type + plugin_id: bundle + status: + id: status + table: node_field_data + field: status + relationship: none + group_type: group + admin_label: '' + operator: '=' + value: '1' + group: '1' + exposed: false + expose: + operator_id: false + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: 0 + default_group: All + default_group_multiple: { } + group_items: { } + entity_type: node + entity_field: status + plugin_id: boolean + title: 'Expiring Alerts' + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_interface' + - 'user.node_grants:view' + tags: { }