devel_wizard-2.x-dev/config/schema/devel_wizard.schema.yml
config/schema/devel_wizard.schema.yml
devel_wizard._snippets:
type: 'string'
constraints:
RegexMachineName: &ConstraintRegexMachineName
message: 'Machine name must only contain lowercase letters, numbers, and underscores.'
pattern: '/^[a-z][a-z0-9_]*$/'
devel_wizard.settings:
type: 'config_object'
label: 'Devel wizard settings'
mapping:
php:
type: 'mapping'
label: 'PHP'
mapping:
bin_dir:
type: 'string'
label: 'Directory contains the "php" executable'
php_executable:
type: 'string'
label: 'PHP executable'
composer:
type: 'mapping'
label: 'Composer'
mapping:
composer_executable:
type: 'string'
label: 'Composer executable'
git:
type: 'mapping'
label: 'Git'
mapping:
git_executable:
type: 'string'
label: 'Git executable'
devel_wizard.spell.devel_wizard_entity_type.settings:
type: mapping
mapping:
module:
type: mapping
label: Module
mapping:
machine_name:
type: string
label: Machine-name
description: |
Machine-name of the module to put the generated codes in. If the given machine-name not exists then a new module will be created.
constraints:
NotNull: {}
Regex: *ConstraintRegexMachineName
namespace:
type: string
label: 'Namespace'
description: |
User input is optional. Automatically calculated based on the ./machine-name.
config:
type: mapping
label: 'Config entity'
description: |
Config entity related configuration
mapping:
id:
type: string
label: 'ID'
description: |
Machine-readable name of the new config entity type.
constraints:
NotNull: {}
Regex: *ConstraintRegexMachineName
namespace:
type: string
label: 'Namespace'
description: |
User input is optional. Automatically calculated based on the ../module/namespace and ./id.
class:
type: string
label: 'Class name without namespace'
description: |
User input is optional. Automatically calculated based on the ./id.
class_fqn:
type: string
label: 'Fully qualified class name'
description: |
User input is optional. Automatically calculated based on the ./namespace and ./class.
interface:
type: string
label: 'Interface name without namespace'
description: |
Name of the interface the ./class has to implement.
User input is optional. Automatically calculated based on the ./namespace and ./class.
interface_fqn:
type: string
label: 'Fully qualified interface name'
description: |
User input is optional. Automatically calculated based on the ./namespace and ./interface.
label:
type: string
label: 'Label'
description: |
Human readable name of the new config entity type.
User input is optional. Automatically calculated based on the ./id.
label_plural:
type: string
label: 'Label plural'
description: |
Plural version of the ./label
User input is optional. Automatically calculated based on the ./label.
content:
type: mapping
label: 'Content entity'
description: |
Content entity related configuration
mapping:
id:
type: string
label: 'ID'
description: |
Machine-readable name of the new content entity type.
constraints:
NotNull: {}
Regex: *ConstraintRegexMachineName
namespace:
type: string
label: 'Namespace'
description: |
User input is optional. Automatically calculated based on the ../module/namespace and ./id.
class:
type: string
label: 'Class name without namespace'
description: |
User input is optional. Automatically calculated based on the ./id.
class_fqn:
type: string
label: 'Fully qualified class name'
description: |
User input is optional. Automatically calculated based on the ./namespace and ./class.
interface:
type: string
label: 'Interface name without namespace'
description: |
Name of the interface the ./class has to implement.
User input is optional. Automatically calculated based on the ./namespace and ./class.
interface_fqn:
type: string
label: 'Fully qualified interface name'
description: |
User input is optional. Automatically calculated based on the ./namespace and ./interface.
label:
type: string
label: 'Label'
description: |
Human readable name of the new content entity type.
User input is optional. Automatically calculated based on the ./id.
label_plural:
type: string
label: 'Plural version of the ./label'
description: |
User input is optional. Automatically calculated based on the ./label.
devel_wizard.spell.devel_wizard_module.settings:
type: mapping
mapping:
machine_name:
type: string
constraints:
NotNull: {}
Regex: *ConstraintRegexMachineName
is_standalone:
type: boolean
dst_dir:
type: string
parent_dir:
type: string
constraints:
NotNull: {}
Length:
allowEmptyString: false
min: 1
project_type:
type: string
package:
type: string
name:
type: string
description:
type: text
core_compatibility:
type: mapping
mapping:
8:
type: boolean
9:
type: boolean
info.yml:
type: mapping
mapping:
dependencies:
type: sequence
sequence:
type: string
devel_wizard.spell.devel_wizard_block_content_type.settings:
type: mapping
mapping:
machine_name:
type: string
label: 'Machine name'
constraints:
NotNull: { }
Regex: *ConstraintRegexMachineName
DevelWizardConfigEntityExists:
entityTypeId: 'block_content_type'
hasToBeExists: false
create:
type: mapping
mapping:
enabled:
type: boolean
label: 'Enabled'
settings:
type: devel_wizard.spell.devel_wizard_block_content_type_create.settings
role:
type: mapping
mapping:
enabled:
type: boolean
label: 'Enabled'
settings:
type: devel_wizard.spell.devel_wizard_block_content_type_role.settings
migration:
type: mapping
mapping:
enabled:
type: boolean
label: 'Enabled'
settings:
type: devel_wizard.spell.devel_wizard_block_content_type_migration.settings
behat:
type: mapping
mapping:
enabled:
type: boolean
label: 'Enabled'
settings:
type: devel_wizard.spell.devel_wizard_block_content_type_behat.settings
admin_view:
type: mapping
mapping:
enabled:
type: boolean
label: 'Enabled'
settings:
type: devel_wizard.spell.devel_wizard_block_content_type_admin_view.settings
devel_wizard.spell.devel_wizard_block_content_type_admin_view.settings:
type: mapping
mapping:
machine_name:
type: string
constraints:
NotNull: { }
Regex: *ConstraintRegexMachineName
DevelWizardConfigEntityExists:
entityTypeId: 'block_content_type'
module:
type: mapping
mapping:
machine_name:
type: string
constraints:
NotNull: { }
Regex: *ConstraintRegexMachineName
devel_wizard.spell.devel_wizard_block_content_type_behat.settings:
type: mapping
mapping:
machine_name:
type: string
constraints:
NotNull: {}
Regex: *ConstraintRegexMachineName
DevelWizardConfigEntityExists:
entityTypeId: 'block_content_type'
devel_wizard.spell.devel_wizard_block_content_type_create.settings:
type: mapping
label: 'Block content type spell settings'
mapping:
values:
type: mapping
mapping:
id:
type: string
constraints:
NotNull: { }
Regex: *ConstraintRegexMachineName
DevelWizardConfigEntityExists:
entityTypeId: 'block_content_type'
hasToBeExists: false
label:
type: string
label: 'Label'
description:
type: string
label: 'Description'
revision:
type: boolean
label: 'Revision'
devel_wizard.spell.devel_wizard_block_content_type_migration.settings:
type: mapping
mapping:
machine_name:
type: string
constraints:
NotNull: {}
Regex: *ConstraintRegexMachineName
DevelWizardConfigEntityExists:
entityTypeId: 'block_content_type'
migration_module:
type: string
constraints:
NotNull: {}
migration_group:
type: string
constraints:
NotNull: []
dummy_entities:
type: mapping
mapping:
short:
type: mapping
mapping:
active:
type: boolean
str_len:
type: int
long:
type: mapping
mapping:
active:
type: boolean
str_len:
type: int
devel_wizard.spell.devel_wizard_block_content_type_role.settings:
type: mapping
mapping:
machine_name:
type: string
constraints:
NotNull: {}
Regex: *ConstraintRegexMachineName
DevelWizardConfigEntityExists:
entityTypeId: 'block_content_type'
user_role:
type: mapping
mapping:
# @todo Rename to enabled.
active:
type: boolean
values:
type: user.role.*
role_delegation:
type: mapping
mapping:
# @todo Rename to enabled.
active:
type: boolean
roles:
type: sequence
devel_wizard.spell.devel_wizard_node_type.settings:
type: mapping
mapping:
machine_name:
type: string
label: 'Machine name'
constraints:
NotNull: { }
Regex: *ConstraintRegexMachineName
DevelWizardConfigEntityExists:
entityTypeId: 'node_type'
hasToBeExists: false
create:
type: mapping
mapping:
enabled:
type: boolean
settings:
type: devel_wizard.spell.devel_wizard_node_type_create.settings
admin_view:
type: mapping
mapping:
enabled:
type: boolean
settings:
type: devel_wizard.spell.devel_wizard_node_type_admin_view.settings
behat:
type: mapping
mapping:
enabled:
type: boolean
settings:
type: devel_wizard.spell.devel_wizard_node_type_behat.settings
migration:
type: mapping
mapping:
enabled:
type: boolean
settings:
type: devel_wizard.spell.devel_wizard_node_type_migration.settings
role:
type: mapping
mapping:
enabled:
type: boolean
settings:
type: devel_wizard.spell.devel_wizard_node_type_role.settings
devel_wizard.spell.devel_wizard_node_type_admin_view.settings:
type: mapping
mapping:
machine_name:
type: string
constraints:
NotNull: { }
Regex: *ConstraintRegexMachineName
DevelWizardConfigEntityExists:
entityTypeId: 'node_type'
module:
type: mapping
mapping:
machine_name:
type: string
constraints:
NotNull: { }
Regex: *ConstraintRegexMachineName
devel_wizard.spell.devel_wizard_node_type_behat.settings:
type: mapping
mapping:
machine_name:
type: string
constraints:
NotNull: {}
Regex: *ConstraintRegexMachineName
DevelWizardConfigEntityExists:
entityTypeId: 'node_type'
devel_wizard.spell.devel_wizard_node_type_create.settings:
type: mapping
label: 'Node type spell settings'
mapping:
values:
type: mapping
mapping:
name:
type: string
label: 'Name'
type:
type: string
label: 'Type'
constraints:
NotNull: { }
Regex: *ConstraintRegexMachineName
DevelWizardConfigEntityExists:
entityTypeId: 'node_type'
hasToBeExists: false
description:
type: string
label: 'Description'
help:
type: string
label: 'Help'
new_revision:
type: boolean
label: 'New revision'
preview_mode:
type: int
label: 'Preview mode'
display_submitted:
type: boolean
label: 'Display submitted'
devel_wizard.spell.devel_wizard_node_type_migration.settings:
type: mapping
mapping:
machine_name:
type: string
constraints:
NotNull: {}
Regex: *ConstraintRegexMachineName
DevelWizardConfigEntityExists:
entityTypeId: 'node_type'
migration_module:
type: string
constraints:
NotNull: {}
migration_group:
type: string
constraints:
NotNull: []
dummy_entities:
type: mapping
mapping:
short:
type: mapping
mapping:
active:
type: boolean
str_len:
type: int
long:
type: mapping
mapping:
active:
type: boolean
str_len:
type: int
devel_wizard.spell.devel_wizard_node_type_role.settings:
type: mapping
mapping:
machine_name:
type: string
constraints:
NotNull: {}
Regex: *ConstraintRegexMachineName
DevelWizardConfigEntityExists:
entityTypeId: 'node_type'
user_role:
type: mapping
mapping:
active:
type: boolean
values:
type: user.role.*
role_delegation:
type: mapping
mapping:
active:
type: boolean
roles:
type: sequence
devel_wizard.spell.devel_wizard_taxonomy_vocabulary.settings:
type: mapping
mapping:
vid:
type: string
constraints:
NotNull: { }
Regex: *ConstraintRegexMachineName
DevelWizardConfigEntityExists:
entityTypeId: 'taxonomy_vocabulary'
hasToBeExists: false
create:
type: mapping
mapping:
enabled:
type: boolean
settings:
type: devel_wizard.spell.devel_wizard_taxonomy_vocabulary_create.settings
role:
type: mapping
mapping:
enabled:
type: boolean
settings:
type: devel_wizard.spell.devel_wizard_taxonomy_vocabulary_role.settings
migration:
type: mapping
mapping:
enabled:
type: boolean
settings:
type: devel_wizard.spell.devel_wizard_taxonomy_vocabulary_migration.settings
behat:
type: mapping
mapping:
enabled:
type: boolean
settings:
type: devel_wizard.spell.devel_wizard_taxonomy_vocabulary_behat.settings
devel_wizard.spell.devel_wizard_taxonomy_vocabulary_create.settings:
type: mapping
label: 'Taxonomy vocabulary create spell settings'
mapping:
values:
type: mapping
mapping:
vid:
type: string
constraints:
NotNull: { }
Regex: *ConstraintRegexMachineName
DevelWizardConfigEntityExists:
entityTypeId: 'taxonomy_vocabulary'
hasToBeExists: false
name:
type: string
label: 'Name'
description:
type: string
label: 'Description'
weight:
type: int
label: 'Weight'
devel_wizard.spell.devel_wizard_taxonomy_vocabulary_behat.settings:
type: mapping
mapping:
machine_name:
type: string
label: 'Machine-name'
features_dir:
type: string
label: 'Features directory'
devel_wizard.spell.devel_wizard_taxonomy_vocabulary_migration.settings:
type: mapping
mapping:
machine_name:
type: string
migration_module:
type: string
migration_group:
type: string
dummy_entities:
type: mapping
mapping:
short:
type: mapping
mapping:
enabled:
type: boolean
str_len:
type: integer
long:
type: mapping
mapping:
enabled:
type: boolean
str_len:
type: integer
devel_wizard.spell.devel_wizard_taxonomy_vocabulary_role.settings:
type: mapping
mapping:
user_role:
type: mapping
mapping:
# @todo Rename to enabled.
active:
type: boolean
status:
type: boolean
id:
type: string
label:
type: string
weight:
type: integer
is_admin:
type: boolean
permissions:
type: sequence
sequence:
type: boolean
role_delegation:
type: mapping
mapping:
# @todo Rename to enabled.
active:
type: boolean
roles:
type: sequence
sequence:
type: string
devel_wizard.spell.devel_wizard_phpstorm_idea.settings:
type: mapping
mapping:
project_root:
type: string
label: 'Project root'
