Skip to content
Snippets Groups Projects
Commit d62eabd4 authored by Tawny Bartlett's avatar Tawny Bartlett Committed by Jonathan Sacksick
Browse files

Issue #3336658: PHP 8.2: ${var} in strings is deprecated.

parent 0b0b5dcf
No related branches found
No related tags found
7 merge requests!379Issue #3491248 Validation is breaking the amount number format decimal point,!375Issue #3413020 by czigor: Using a translatable string as a category for field...,!357Issue #2914933: Add service tags to order-related interfaces,!344Resolve #3107602 "Product attributes do not update visually when switching variations",!343Resolve #3107602 "Product attributes do not update visually when switching variations",!342Issue #3476581 by josephr5000: add OrderItemLabelEvent,!134Issue #3336658: PHP 8.2: ${var} in strings is deprecated
......@@ -60,7 +60,7 @@ class LogCommentPermissions implements ContainerInjectionInterface {
$entity_type_id = $entity_type->id();
$log_template_id = "{$entity_type_id}_admin_comment";
if ($this->logTemplateManager->hasDefinition($log_template_id)) {
$permissions["add commerce_log ${entity_type_id} admin comment"] = [
$permissions["add commerce_log {$entity_type_id} admin comment"] = [
'title' => $this->t('Add admin comments to @label', ['@label' => $entity_type->getSingularLabel()]),
'description' => $this->t('Provides the ability to add admin comments to @label.', ['@label' => $entity_type->getPluralLabel()]),
'restrict access' => TRUE,
......
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