public function getModule()
    {
        $method = ArrayHelper::getValue($this->parentWidget->settings, 'queryRole', 'all');
        $relationship = ArrayHelper::getValue($this->parentWidget->settings, 'relationship', false);
        if ($method === 'children') {
            return $relationship->child;
        } elseif ($method === 'parents') {
            return $relationship->parent;
        }

        return false;
    }