admin_actions-2.x-dev/config/install/views.view.admin_actions.yml

config/install/views.view.admin_actions.yml
uuid: b2a3acb4-9aea-4bcd-8b8e-32a5f1e0e577
langcode: en
status: true
dependencies:
  module:
    - node
    - user
    - views_bulk_operations
_core:
  default_config_hash: C__yvhX1mjlaKrabFxt5vIXUcACSvxhKX3664rzN3oM
id: admin_actions
label: 'Admin Actions'
module: views
description: 'Provides a UI for actions that can be performed on an individual entity. Views Bulk Operations without the ''Bulk'' part.'
tag: admin_actions
base_table: node_field_data
base_field: nid
display:
  default:
    id: default
    display_title: Default
    display_plugin: default
    position: 0
    display_options:
      title: 'Admin Actions'
      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: ''
          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: false
          element_wrapper_type: ''
          element_wrapper_class: ''
          element_default_classes: true
          empty: ''
          hide_empty: false
          empty_zero: false
          hide_alter_empty: true
          batch: false
          batch_size: 10
          form_step: true
          buttons: true
          action_title: Action
          clear_on_exposed: false
          force_selection_info: false
          selected_actions:
            1:
              action_id: node_assign_owner_action
              preconfiguration:
                add_confirmation: false
                label_override: 'Change Author'
            2:
              action_id: node_unpromote_action
              preconfiguration:
                add_confirmation: false
                label_override: Demote
            4:
              action_id: node_promote_action
              preconfiguration:
                add_confirmation: false
                label_override: Promote
      pager:
        type: some
        options:
          offset: 0
          items_per_page: 1
      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: 'administer nodes'
      cache:
        type: tag
        options: {  }
      empty: {  }
      sorts: {  }
      arguments:
        nid:
          id: nid
          table: node_field_data
          field: nid
          relationship: none
          group_type: group
          admin_label: ''
          entity_type: node
          entity_field: nid
          plugin_id: node_nid
          default_action: default
          exception:
            value: all
            title_enable: false
            title: All
          title_enable: false
          title: ''
          default_argument_type: node
          default_argument_options: {  }
          default_argument_skip_url: false
          summary_options:
            base_path: ''
            count: true
            override: false
            items_per_page: 25
          summary:
            sort_order: asc
            number_of_records: 0
            format: default_summary
          specify_validation: false
          validate:
            type: none
            fail: 'not found'
          validate_options: {  }
          break_phrase: false
          not: false
      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: ''
            operator_limit_selection: false
            operator_list: {  }
      filter_groups:
        operator: AND
        groups:
          1: AND
      style:
        type: default
        options:
          grouping: {  }
          row_class: ''
          default_row_class: true
      row:
        type: fields
      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: 0
      contexts:
        - 'languages:language_interface'
        - url
        - 'user.node_grants:view'
        - user.permissions
      tags: {  }
  admin_actions_block:
    id: admin_actions_block
    display_title: Block
    display_plugin: block
    position: 1
    display_options:
      display_comment: "The functionality in this box is mostly directly from Views Bulk Operations. Many of the views modifications can bew used as normal.\r\nThe admin_actions module just intercepts this form before rendering (keyed on $view->id() == 'admin_actions'), \r\nauto-selects the one automatically detected entity,\r\nand visually hides the selection checkbox. \r\nThis leaves behind only the action buttons.\r\nThese actions then get displayed as buttons in a block next to entities, and will be able to be applied on a per-entity basis.\r\n\r\nYou are expected to select the relevant actions that you want yourself, but editing this view here, or by cloning the display and using an other block.\r\nYou may not clone the whole view, as the functionality hinges on the view->id. It's possibl, but you need to then hide the VBO checkbox yourself.\r\n\r\n"
      display_extenders: {  }
      block_category: 'Admin Actions'
      allow:
        items_per_page: false
    cache_metadata:
      max-age: 0
      contexts:
        - 'languages:language_interface'
        - url
        - 'user.node_grants:view'
        - user.permissions
      tags: {  }

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc