framework/RedKiteCms/Content/PageCollection/PermalinkManager.php
public function add($blockFile, $blockContent)
    {
        $this->removeBlock($blockFile);
        $blockPermalinks = $this->fetchPermalinksFromBlock($blockContent, $blockFile);
        if (!empty($blockPermalinks)) {
            $this->permalinks = array_merge_recursive($this->permalinks, $blockPermalinks);
        }

        return $this;
    }
public function add($blockFile, $blockContent)
    {
        $this->removeBlock($blockFile);
        $blockPermalinks = $this->fetchPermalinksFromBlock($blockContent, $blockFile);
        if (!empty($blockPermalinks)) {
            $this->permalinks = array_merge_recursive($this->permalinks, $blockPermalinks);
        }

        return $this;
    }
Adds a block to permalinks list

@param string $blockFile
@param string $blockContent

@return $this