Initial Drupal 11 with DDEV setup
This commit is contained in:
94
web/core/modules/node/config/schema/node.schema.yml
Normal file
94
web/core/modules/node/config/schema/node.schema.yml
Normal file
@ -0,0 +1,94 @@
|
||||
# Schema for the configuration files of the node module.
|
||||
|
||||
node.settings:
|
||||
type: config_object
|
||||
label: 'Node settings'
|
||||
constraints:
|
||||
FullyValidatable: ~
|
||||
mapping:
|
||||
use_admin_theme:
|
||||
type: boolean
|
||||
label: 'Use administration theme when editing or creating content'
|
||||
|
||||
node.type.*:
|
||||
type: config_entity
|
||||
label: 'Content type'
|
||||
constraints:
|
||||
FullyValidatable: ~
|
||||
mapping:
|
||||
name:
|
||||
type: required_label
|
||||
label: 'Name'
|
||||
type:
|
||||
type: machine_name
|
||||
label: 'Machine-readable name'
|
||||
constraints:
|
||||
# Node type machine names are specifically limited to 32 characters.
|
||||
# @see \Drupal\node\Form\NodeTypeForm::form()
|
||||
Length:
|
||||
max: 32
|
||||
description:
|
||||
type: text
|
||||
label: 'Description'
|
||||
nullable: true
|
||||
constraints:
|
||||
NotBlank:
|
||||
allowNull: true
|
||||
help:
|
||||
type: text
|
||||
label: 'Explanation or submission guidelines'
|
||||
nullable: true
|
||||
constraints:
|
||||
NotBlank:
|
||||
allowNull: true
|
||||
new_revision:
|
||||
type: boolean
|
||||
label: 'Whether a new revision should be created by default'
|
||||
preview_mode:
|
||||
type: integer
|
||||
label: 'Preview before submitting'
|
||||
constraints:
|
||||
# These are the values of the DRUPAL_DISABLED, DRUPAL_OPTIONAL, and
|
||||
# DRUPAL_REQUIRED constants.
|
||||
# @see \Drupal\node\Form\NodeTypeForm::form()
|
||||
Choice: [0, 1, 2]
|
||||
display_submitted:
|
||||
type: boolean
|
||||
label: 'Display setting for author and date Submitted by post information'
|
||||
|
||||
# Plugin \Drupal\node\Plugin\Search\NodeSearch
|
||||
search.plugin.node_search:
|
||||
type: mapping
|
||||
label: 'Content search'
|
||||
mapping:
|
||||
rankings:
|
||||
type: sequence
|
||||
label: 'Content ranking'
|
||||
orderby: key
|
||||
sequence:
|
||||
type: integer
|
||||
label: 'Influence'
|
||||
|
||||
action.configuration.node_unpromote_action:
|
||||
type: action_configuration_default
|
||||
label: 'Demote selected content from front page configuration'
|
||||
|
||||
action.configuration.node_promote_action:
|
||||
type: action_configuration_default
|
||||
label: 'Promote selected content from front page configuration'
|
||||
|
||||
action.configuration.node_make_sticky_action:
|
||||
type: action_configuration_default
|
||||
label: 'Make selected content sticky configuration'
|
||||
|
||||
action.configuration.node_make_unsticky_action:
|
||||
type: action_configuration_default
|
||||
label: 'Make selected content unsticky configuration'
|
||||
|
||||
block.settings.node_syndicate_block:
|
||||
type: block_settings
|
||||
label: 'Syndicate block'
|
||||
mapping:
|
||||
block_count:
|
||||
type: integer
|
||||
label: 'Block count'
|
||||
148
web/core/modules/node/config/schema/node.views.schema.yml
Normal file
148
web/core/modules/node/config/schema/node.views.schema.yml
Normal file
@ -0,0 +1,148 @@
|
||||
# Schema for the views plugins of the Node module.
|
||||
|
||||
views.area.node_listing_empty:
|
||||
type: views_area
|
||||
label: 'Node link'
|
||||
|
||||
views.argument.node_nid:
|
||||
type: views_argument
|
||||
label: 'Node ID'
|
||||
mapping:
|
||||
break_phrase:
|
||||
type: boolean
|
||||
label: 'Allow multiple values'
|
||||
not:
|
||||
type: boolean
|
||||
label: 'Exclude'
|
||||
|
||||
views.argument.node_type:
|
||||
type: views_argument
|
||||
label: 'Node type'
|
||||
mapping:
|
||||
glossary:
|
||||
type: boolean
|
||||
label: 'Glossary mode'
|
||||
limit:
|
||||
type: integer
|
||||
label: 'Character limit'
|
||||
case:
|
||||
type: string
|
||||
label: 'Case'
|
||||
path_case:
|
||||
type: string
|
||||
label: 'Case in path'
|
||||
transform_dash:
|
||||
type: boolean
|
||||
label: 'Transform spaces to dashes in URL'
|
||||
break_phrase:
|
||||
type: boolean
|
||||
label: 'Allow multiple values'
|
||||
add_table:
|
||||
type: boolean
|
||||
label: 'Allow multiple filter values to work together'
|
||||
require_value:
|
||||
type: boolean
|
||||
label: 'Do not display items with no value in summary'
|
||||
|
||||
views.argument.node_uid_revision:
|
||||
type: views_argument
|
||||
label: 'Node user ID'
|
||||
mapping:
|
||||
break_phrase:
|
||||
type: boolean
|
||||
label: 'Allow multiple values'
|
||||
not:
|
||||
type: boolean
|
||||
label: 'Exclude'
|
||||
|
||||
views.argument.node_vid:
|
||||
type: views_argument
|
||||
label: 'Node revision ID'
|
||||
mapping:
|
||||
break_phrase:
|
||||
type: boolean
|
||||
label: 'Allow multiple values'
|
||||
not:
|
||||
type: boolean
|
||||
label: 'Exclude'
|
||||
|
||||
views.field.node:
|
||||
type: views_field
|
||||
label: 'Node'
|
||||
mapping:
|
||||
link_to_node:
|
||||
type: boolean
|
||||
label: 'Link this field to the original piece of content'
|
||||
|
||||
views.field.node_bulk_form:
|
||||
type: views_field_bulk_form
|
||||
label: 'Node bulk form'
|
||||
|
||||
views.field.node_revision_link:
|
||||
type: views_field
|
||||
label: 'Link to a node revision'
|
||||
mapping:
|
||||
text:
|
||||
type: label
|
||||
label: 'Text to display'
|
||||
|
||||
views.field.node_revision_link_delete:
|
||||
type: views_field
|
||||
label: 'Link to delete a node revision'
|
||||
mapping:
|
||||
text:
|
||||
type: label
|
||||
label: 'Text to display'
|
||||
|
||||
views.field.node_revision_link_revert:
|
||||
type: views_field
|
||||
label: 'Link to revert a node to a revision'
|
||||
mapping:
|
||||
text:
|
||||
type: label
|
||||
label: 'Text to display'
|
||||
|
||||
views.filter.node_access:
|
||||
type: views_filter
|
||||
label: 'Node access'
|
||||
|
||||
views.filter.node_status:
|
||||
type: views_filter
|
||||
label: 'Node status'
|
||||
|
||||
views.filter.node_uid_revision:
|
||||
type: views_filter
|
||||
label: 'Node revisions of an user'
|
||||
mapping:
|
||||
operator:
|
||||
type: string
|
||||
label: 'Operator'
|
||||
value:
|
||||
type: sequence
|
||||
label: 'Values'
|
||||
sequence:
|
||||
type: string
|
||||
label: 'Value'
|
||||
expose:
|
||||
type: mapping
|
||||
label: 'Expose'
|
||||
mapping:
|
||||
reduce:
|
||||
type: boolean
|
||||
label: 'Reduce'
|
||||
|
||||
views.filter_value.node_access:
|
||||
type: string
|
||||
label: 'Access'
|
||||
|
||||
views.filter_value.node_status:
|
||||
type: boolean
|
||||
label: 'Status'
|
||||
|
||||
views.row.node_rss:
|
||||
type: views_row
|
||||
label: 'Content options'
|
||||
mapping:
|
||||
view_mode:
|
||||
type: string
|
||||
label: 'Display type'
|
||||
Reference in New Issue
Block a user