$contentlocks->set()
Sets and writes the lock/unlock data for the specified model
$contentlocks->set(Kirby\Cms\ModelWithContent $model, array $data): bool
Parameters
Name | Type | Default |
---|---|---|
$model * | Kirby\Cms\ModelWithContent |
– |
$data * | array |
– |
Return type
bool
Exceptions
Type | Description |
---|---|
Kirby\Exception\Exception |