function ctools_stylizer_image_processor::command_merge_from in Chaos Tool Suite (ctools) 6
Same name and namespace in other branches
- 7 includes/stylizer.inc \ctools_stylizer_image_processor::command_merge_from()
Copy the contents of one workspace into the current workspace.
File
- includes/
stylizer.inc, line 380 - Create customized CSS and images from palettes created by user input.
Class
Code
function command_merge_from($workspace, $x = 0, $y = 0) {
$this
->log("Merge from: {$workspace} ({$x}, {$y})");
if (empty($this->workspaces[$workspace])) {
$this
->log("Workspace {$name} does not exist.", 'error');
return;
}
$this
->merge($this->workspaces[$workspace], $this->workspace, $x, $y);
}