cookbook-bundle icon indicating copy to clipboard operation
cookbook-bundle copied to clipboard

WIP: Content type edition examples

Open bdunogier opened this issue 9 years ago • 1 comments

$ 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

bdunogier avatar Apr 21 '15 13:04 bdunogier

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

sonarqubecloud[bot] avatar Jul 01 '21 07:07 sonarqubecloud[bot]