model/modx/processors/element/chunk/create.php
- package
- modx
- $name
- string
The name of the chunk. - $description
- string
(optional) The description of the chunk. - $category
- integer
The category the chunk is assigned to. - $snippet
- string
The code of the chunk. - $locked
- boolean
Whether or not the chunk can only be accessed by administrators. - $propdata
- \json
A json array of properties to store. - subpackage
- processors.element.chunk
Description
Creates a chunk.