SilverStripe\Subsites\Tasks\SubsiteCopyPagesTask
Handy alternative to copying pages when creating a subsite through the UI.
Can be used to batch-add new pages after subsite creation, or simply to
process a large site outside of the UI.
Example: sake dev/tasks/SubsiteCopyPagesTask from=<subsite-source> to=<subsite-target>
Synopsis
class SubsiteCopyPagesTask
extends BuildTask
{
- // members
- protected string $title = 'Copy pages to different subsite';
- protected string $description = '';
- private static string $segment = 'SubsiteCopyPagesTask';
Hierarchy
Extends
- SilverStripe\Dev\BuildTask
Members
private
- $segment
protected
- $description
- $title