Learner\Services\Forms\CreateCategoryFormService::getAttributes PHP Method

getAttributes() public method

Custom user attributes aliases.
public getAttributes ( ) : array
return array
    public function getAttributes()
    {
        return ['name' => lang('category.create.name', 'Name'), 'image' => lang('category.create.image', 'Image')];
    }
CreateCategoryFormService