<?php

namespace humhub\modules\suggestedfollowing;

use humhub\components\Module as BaseModule;
use yii\helpers\Url;

/**
 * Suggested Following Module
 *
 * Suggests users to follow based on who you are already following.
 *
 * @package humhub\modules\suggestedfollowing
 */
class Module extends BaseModule
{
    /**
     * @inheritdoc
     */
    public $resourcesPath = 'resources';

    /**
     * Maximum suggestions shown in the dashboard widget.
     *
     * @var int
     */
    public int $maxWidgetSuggestions = 5;

    /**
     * @inheritdoc
     */
    public function getConfigUrl(): string
    {
        return Url::to(['/suggestedfollowing/config/index']);
    }
}
