chamilo/chamilo-lms

View on GitHub
src/CoreBundle/Tool/CourseDescription.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

declare(strict_types=1);

/* For licensing terms, see /license.txt */

namespace Chamilo\CoreBundle\Tool;

use Chamilo\CourseBundle\Entity\CCourseDescription;

class CourseDescription extends AbstractTool implements ToolInterface
{
    public function getTitle(): string
    {
        return 'course_description';
    }

    public function getLink(): string
    {
        return '/main/course_description/index.php';
    }

    public function getIcon(): string
    {
        return 'mdi-apple-safari';
    }

    public function getCategory(): string
    {
        return 'authoring';
    }

    public function getResourceTypes(): ?array
    {
        return [
            'course_descriptions' => CCourseDescription::class,
        ];
    }
}