Skip to content

Instantly share code, notes, and snippets.

@jenlampton
Last active March 20, 2020 18:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jenlampton/019743c71eacb4b37be52caadbf5a6ac to your computer and use it in GitHub Desktop.
Save jenlampton/019743c71eacb4b37be52caadbf5a6ac to your computer and use it in GitHub Desktop.
{
"_config_name": "views.view.promoted",
"name": "promoted",
"description": "Provides a list of promoted content. Used by default on the front page.",
"module": "node",
"storage": 2,
"tag": "default",
"disabled": false,
"base_table": "node",
"human_name": "Promoted content",
"core": 0,
"display": {
"default": {
"display_title": "Master",
"display_plugin": "default",
"display_options": {
"query": {
"type": "views_query",
"options": {
"query_comment": false
}
},
"access": {
"type": "perm",
"perm": "access content"
},
"cache": {
"type": "none"
},
"exposed_form": {
"type": "basic"
},
"pager": {
"type": "full"
},
"style_plugin": "default",
"row_plugin": "node",
"row_options": {
"links": 1
},
"sorts": {
"sticky": {
"id": "sticky",
"table": "node",
"field": "sticky",
"order": "DESC"
},
"created": {
"id": "created",
"table": "node",
"field": "created",
"order": "DESC"
}
},
"filters": {
"type": {
"id": "type",
"table": "node",
"field": "type",
"relationship": "none",
"group_type": "group",
"ui_name": "",
"operator": "in",
"value": {
"post": "post"
},
"group": 1,
"exposed": false,
"expose": {
"operator_id": false,
"label": "",
"description": "",
"use_operator": false,
"operator": "",
"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": []
}
},
"status": {
"id": "status",
"table": "node",
"field": "status",
"value": "1",
"group": 1,
"expose": {
"operator": false
}
},
"type_1": {
"id": "type_1",
"table": "node",
"field": "type",
"relationship": "none",
"group_type": "group",
"ui_name": "",
"operator": "in",
"value": {
"page": "page"
},
"group": 2,
"exposed": false,
"expose": {
"operator_id": false,
"label": "",
"description": "",
"use_operator": false,
"operator": "",
"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": []
}
},
"promote": {
"id": "promote",
"table": "node",
"field": "promote",
"value": "1",
"group": 2,
"expose": {
"operator": false
}
}
},
"empty": {
"area": {
"id": "area",
"table": "views",
"field": "area",
"relationship": "none",
"group_type": "group",
"ui_name": "",
"label": "",
"empty": true,
"content": "<p>No content has been promoted yet.</p>\n",
"format": "filtered_html",
"tokenize": 0
}
},
"style_options": {
"row_class": "",
"default_row_class": 0,
"row_class_special": 0,
"uses_fields": 0
},
"filter_groups": {
"operator": "OR",
"groups": {
"2": "AND",
"1": "AND"
}
}
}
},
"block": {
"display_title": "Block",
"display_plugin": "block",
"display_options": {
"query": {
"type": "views_query",
"options": []
},
"block_description": "Promoted content"
}
},
"feed": {
"display_title": "Feed",
"display_plugin": "feed",
"display_options": {
"query": {
"type": "views_query",
"options": []
},
"defaults": {
"title": false
},
"title": "Front page feed",
"pager": {
"type": "some"
},
"style_plugin": "rss",
"row_plugin": "node_rss",
"path": "rss.xml",
"displays": {
"default": "default",
"block": "block"
},
"sitename_title": "1",
"row_options": {
"relationship": "none",
"item_length": "rss",
"links": 0
},
"style_options": {
"uses_fields": 0,
"description": "",
"icon": 0
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment