src/SlugHandler.php
public function handleSlug(HTTPRequest $request)
    {
        $item = $this->findSlug();
        if (!$item) {
            $owner = $this->getOwner();
            $owner->httpError(404);
        }
        $item->setSlugActive(Slug::ACTIVE_CURRENT);
        return ['ActiveSlug' => $item];
    }
public function handleSlug(HTTPRequest $request)
    {
        $item = $this->findSlug();
        if (!$item) {
            $owner = $this->getOwner();
            $owner->httpError(404);
        }
        $item->setSlugActive(Slug::ACTIVE_CURRENT);
        return ['ActiveSlug' => $item];
    }
Process a request for a slugged item.

@param HTTPRequest $request
@return array customisation of owner's otherwise normal output