SilverStripe\CMS\Tests\Behaviour\FixtureContext::stepCreateRedirectorPage
Find or create a redirector page and link to another existing page.
Example: Given a "page" "My Redirect" which redirects to a "page" "Page 1"
Signature
public function stepCreateRedirectorPage(string
$type,
string
$id,
string
$targetType,
string
$targetId )
Parameters
$type
— string$id
— string$targetType
— string$targetId
— string