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)

No description

Parameters

Package $package

protected validateClearSiteContents($options)

No description

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