class TagController extends ActionController (View source)

Controller for tag handling

Traits

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

Properties

protected Translator $_translator from  AddFlashMessageTrait
protected AssetCollectionRepository $assetCollectionRepository
protected TagRepository $tagRepository
protected BrowserState $browserState
protected AssetRepository $assetRepository

Methods

void
addFlashMessage(string $messageBody, string $messageTitle = '', string $severity = Message::SEVERITY_OK, array $messageArguments = [], int $messageCode = null)

Add a translated flashMessage.

initializeView(ViewInterface $view)

No description

void
createAction(string $label)

No description

void
editAction(Tag $tag)

No description

void
updateAction(Tag $tag)

No description

void
deleteAction(Tag $tag)

No description

Details

void addFlashMessage(string $messageBody, string $messageTitle = '', string $severity = Message::SEVERITY_OK, array $messageArguments = [], int $messageCode = null)

Add a translated flashMessage.

Parameters

string $messageBody

The translation id for the message body.

string $messageTitle

The translation id for the message title.

string $severity
array $messageArguments
int $messageCode

Return Value

void

protected initializeView(ViewInterface $view)

No description

Parameters

ViewInterface $view

void createAction(string $label)

No description

Parameters

string $label

Return Value

void

void editAction(Tag $tag)

No description

Parameters

Tag $tag

Return Value

void

void updateAction(Tag $tag)

No description

Parameters

Tag $tag

Return Value

void

void deleteAction(Tag $tag)

No description

Parameters

Tag $tag

Return Value

void