class UtilsController extends AbstractController

UtilsController class

Methods

JSON
links(PageEditServiceInterface $pageEditService)

Provides a list of pages to link to in Tinymce

JSON|false
upload(Request $request, ConfigServiceInterface $configService, PageEditFileInterface $pageEditFile, $page)

Uploads the image defined

JSON
slug(PageEditSlugInterface $pageEditSlug, $text)

Slugs the provided text

Details

Provides a list of pages to link to in Tinymce

Parameters

PageEditServiceInterface $pageEditService

Return Value

JSON

Exceptions

AccessDeniedException

at line 58
JSON|false upload(Request $request, ConfigServiceInterface $configService, PageEditFileInterface $pageEditFile, $page)

Uploads the image defined

Parameters

Request $request
ConfigServiceInterface $configService
PageEditFileInterface $pageEditFile
$page

Return Value

JSON|false

Exceptions

AccessDeniedException

at line 97
JSON slug(PageEditSlugInterface $pageEditSlug, $text)

Slugs the provided text

Parameters

PageEditSlugInterface $pageEditSlug
$text

Return Value

JSON

Exceptions

AccessDeniedException