Skip to content

Conversation

@bdunogier
Copy link
Contributor

$ php ezpublish/console ezpublish:cookbook:create_content_type_draft my_type_identifier Content
Content type draft created with ID 46

$ php ezpublish/console -v ezpublish:cookbook:update_content_type_draft 45 \
  --name "My Type Identifier" \
  --description "Content type draft creation test"
Content type 46 was updated

$ php ezpublish/console -v ezpublish:cookbook:add_textline_field_definition 46 \
  --identifier=field1 --name="Field 1" \
  --is-required --is-searchable \
  --min-length=10 --max-length=200
Added field definition to Content Type Draft #46

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jul 1, 2021

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

No Coverage information No Coverage information
32.0% 32.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants