class ContentDimensionsController extends ActionController (View source)

REST service controller for managing content dimensions

Traits

A trait to add backend translation based on the backend users settings

Properties

protected Service $localizationService from  BackendUserTranslationTrait
protected UserService $userService from  BackendUserTranslationTrait
protected array<string,string> $viewFormatToObjectNameMap
protected array<int,string> $supportedMediaTypes
protected $contentRepositoryRegistry

Methods

void
initializeObject()

Set the locale according to the user settings

void
indexAction()

Returns the full content dimensions presets as JSON object; see ContentDimensionPresetSourceInterface::getAllPresets() for a format description.

Details

protected void initializeObject()

Set the locale according to the user settings

Return Value

void

void indexAction()

Returns the full content dimensions presets as JSON object; see ContentDimensionPresetSourceInterface::getAllPresets() for a format description.

Return Value

void