Skip to content
Snippets Groups Projects
Commit f3160f3e authored by johnv's avatar johnv
Browse files

git commit -m 'Issue #2919482: Reorder annotations'

parent 725bd349
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,12 @@ use Drupal\Core\Session\AccountInterface;
* @ConfigEntityType(
* id = "workflow_type",
* label = @Translation("Workflow"),
* label_singular = @Translation("Workflow"),
* label_plural = @Translation("Workflows"),
* label_count = @PluralTranslation(
* singular = "@count Workflow",
* plural = "@count Workflows",
* ),
* module = "workflow",
* translatable = FALSE,
* handlers = {
......@@ -19,8 +25,8 @@ use Drupal\Core\Session\AccountInterface;
* "list_builder" = "Drupal\workflow_ui\Controller\WorkflowListBuilder",
* "form" = {
* "add" = "Drupal\workflow\Form\WorkflowForm",
* "edit" = "Drupal\workflow\Form\WorkflowForm",
* "delete" = "Drupal\Core\Entity\EntityDeleteForm",
* "edit" = "Drupal\workflow\Form\WorkflowForm",
* }
* },
* admin_permission = "administer workflow",
......@@ -33,15 +39,15 @@ use Drupal\Core\Session\AccountInterface;
* config_export = {
* "id",
* "label",
* "status",
* "module",
* "status",
* "options",
* },
* links = {
* "collection" = "/admin/config/workflow/workflow",
* "canonical" = "/admin/config/workflow/workflow/{workflow_type}",
* "edit-form" = "/admin/config/workflow/workflow/{workflow_type}",
* "collection" = "/admin/config/workflow/workflow",
* "delete-form" = "/admin/config/workflow/workflow/{workflow_type}/delete",
* "edit-form" = "/admin/config/workflow/workflow/{workflow_type}",
* },
* )
*/
......
......@@ -19,6 +19,7 @@ use Drupal\user\UserInterface;
* plural = "@count Workflow config transitions",
* ),
* module = "workflow",
* translatable = FALSE,
* handlers = {
* "form" = {
* "delete" = "\Drupal\Core\Entity\EntityDeleteForm",
......
......@@ -22,6 +22,7 @@ use Drupal\Core\Language\LanguageInterface;
* plural = "@count Workflow states",
* ),
* module = "workflow",
* translatable = FALSE,
* handlers = {
* "list_builder" = "Drupal\workflow_ui\Controller\WorkflowStateListBuilder",
* "form" = {
......
......@@ -26,19 +26,19 @@ use Drupal\user\UserInterface;
* ),
* bundle_label = @Translation("Workflow type"),
* module = "workflow",
* translatable = FALSE,
* handlers = {
* "access" = "Drupal\workflow\WorkflowAccessControlHandler",
* "list_builder" = "Drupal\workflow\WorkflowTransitionListBuilder",
* "form" = {
* "add" = "Drupal\workflow\Form\WorkflowTransitionForm",
* "delete" = "Drupal\Core\Entity\EntityDeleteForm",
* "edit" = "Drupal\workflow\Form\WorkflowTransitionForm",
* "revert" = "Drupal\workflow_operations\Form\WorkflowTransitionRevertForm",
* "delete" = "Drupal\Core\Entity\EntityDeleteForm",
* },
* "views_data" = "Drupal\workflow\WorkflowTransitionViewsData",
* },
* base_table = "workflow_transition_history",
* translatable = FALSE,
* entity_keys = {
* "id" = "hid",
* "bundle" = "wid",
......@@ -49,9 +49,9 @@ use Drupal\user\UserInterface;
* field_ui_base_route = "entity.workflow_type.edit_form",
* links = {
* "canonical" = "/workflow_transition/{workflow_transition}",
* "delete-form" = "/workflow_transition/{workflow_transition}/delete",
* "edit-form" = "/workflow_transition/{workflow_transition}/edit",
* "revert-form" = "/workflow_transition/{workflow_transition}/revert",
* "delete-form" = "/workflow_transition/{workflow_transition}/delete",
* },
* )
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment