class ContentSwapper implements ContentSwapperInterface (View source)

Methods

allowsFullContentSwap(Package $package)

No description

validateClearSiteContents($options)

No description

swapContent(Package $package, $options)

Removes any existing pages, files, stacks, block and page types and installs content from the package.

Details

allowsFullContentSwap(Package $package)

Parameters

Package $package

protected validateClearSiteContents($options)

Parameters

$options

swapContent(Package $package, $options)

Removes any existing pages, files, stacks, block and page types and installs content from the package.

Parameters

Package $package
$options