Warning: You are browsing the documentation for PrestaShop 8, which is outdated.
You might want to read an updated version of this page for the current version, PrestaShop 9. Read the updated version of this page
PrestaShop\PrestaShop\Core\Domain\State\Command\AddStateCommand
Creates state with provided data
| Command details | |
|---|---|
| Constructor parameters |
|
| Handler class | PrestaShop\PrestaShop\Adapter\State\CommandHandler\AddStateHandler Implements:
|
| Return type | PrestaShop\PrestaShop\Core\Domain\State\ValueObject\StateId |
PrestaShop\PrestaShop\Core\Domain\State\Command\BulkDeleteStateCommand
Deletes states on bulk action
| Command details | |
|---|---|
| Constructor parameters |
|
| Handler class | PrestaShop\PrestaShop\Adapter\State\CommandHandler\BulkDeleteStateHandler Implements:
|
| Return type | void |
PrestaShop\PrestaShop\Core\Domain\State\Command\BulkToggleStateStatusCommand
Toggles states status on bulk action
| Command details | |
|---|---|
| Constructor parameters |
|
| Handler class | PrestaShop\PrestaShop\Adapter\State\CommandHandler\BulkToggleStateStatusHandler Implements:
|
| Return type | void |
PrestaShop\PrestaShop\Core\Domain\State\Command\DeleteStateCommand
Deletes state
| Command details | |
|---|---|
| Constructor parameters |
|
| Handler class | PrestaShop\PrestaShop\Adapter\State\CommandHandler\DeleteStateHandler Implements:
|
| Return type | void |
PrestaShop\PrestaShop\Core\Domain\State\Command\EditStateCommand
Edits state with provided data
| Command details | |
|---|---|
| Constructor parameters |
|
| Handler class | PrestaShop\PrestaShop\Adapter\State\CommandHandler\EditStateHandler Implements:
|
| Return type | void |
PrestaShop\PrestaShop\Core\Domain\State\Command\ToggleStateStatusCommand
Class ToggleStateStatusCommand is responsible for toggling state status
| Command details | |
|---|---|
| Constructor parameters |
|
| Handler class | PrestaShop\PrestaShop\Adapter\State\CommandHandler\ToggleStateStatusHandler Implements:
|
| Return type | void |
PrestaShop\PrestaShop\Core\Domain\State\Query\GetStateForEditing
Gets state for editing in back office
| Query details | |
|---|---|
| Constructor parameters |
|
| Handler class | PrestaShop\PrestaShop\Adapter\State\QueryHandler\GetStateForEditingHandler Implements:
|
| Return type | PrestaShop\PrestaShop\Core\Domain\State\QueryResult\EditableState |