X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fworkflows%2Fsrc%2FEntity%2FWorkflow.php;fp=web%2Fcore%2Fmodules%2Fworkflows%2Fsrc%2FEntity%2FWorkflow.php;h=3c7b06bcc98b32619f33106abb7f34906a144141;hp=2450fb78473d53ba7eeec5db3134e4ccf76f4605;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/workflows/src/Entity/Workflow.php b/web/core/modules/workflows/src/Entity/Workflow.php index 2450fb784..3c7b06bcc 100644 --- a/web/core/modules/workflows/src/Entity/Workflow.php +++ b/web/core/modules/workflows/src/Entity/Workflow.php @@ -16,6 +16,12 @@ use Drupal\workflows\WorkflowInterface; * id = "workflow", * label = @Translation("Workflow"), * label_collection = @Translation("Workflows"), + * label_singular = @Translation("workflow"), + * label_plural = @Translation("workflows"), + * label_count = @PluralTranslation( + * singular = "@count workflow", + * plural = "@count workflows", + * ), * handlers = { * "access" = "Drupal\workflows\WorkflowAccessControlHandler", * "list_builder" = "Drupal\workflows\WorkflowListBuilder",