Important

You are browsing upcoming documentation for version 6.0 of OroCommerce, OroCRM, and OroPlatform, scheduled for release in 2024. Read version 5.1 (the latest LTS version) of the Oro documentation to get up-to-date information.

See our Release Process documentation for more information on the currently supported and upcoming releases.

Operations (Actions) Console Commands 

oro:debug:action 

This command displays available actions for an application.

php bin/console oro:debug:action

To get information about a specific action, specify its name:

php bin/console oro:debug:action <action>
php bin/console oro:debug:action flash_message

Usage 

  • Displays a list of current actions php bin/console oro:debug:action;

  • Shows a full description php bin/console oro:debug:action [<name>].

oro:debug:condition 

This command displays available conditions for an application.

php bin/console oro:debug:condition

To get information about a specific condition, specify its name:

php bin/console oro:debug:condition <condition>
php bin/console oro:debug:condition instanceof

oro:debug:operation 

This command displays available operations and action groups.

php bin/console oro:debug:operation

Use the --action-group option to see action groups instead of operations:

php bin/console oro:debug:operation --action-group

To get information about a specific operation or action group, specify its name:

php bin/console oro:debug:operation <operation-name>
php bin/console oro:debug:operation --action-group <action-group-name>
php bin/console oro:debug:operation DELETE
php bin/console oro:debug:operation --action-group DELETE

The --assemble option can be used to display instantiated objects instead of plain data:

php bin/console oro:debug:operation --assemble <operation-name>
php bin/console oro:debug:operation --assemble --action-group <action-group-name>
php bin/console oro:debug:operation --assemble DELETE
php bin/console oro:debug:operation --assemble --action-group DELETE

oro:action:configuration:validate 

This command validates action configuration and displays the encountered actions.

php bin/console oro:action:configuration:validate