By kim.pepper on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.3.x
Introduced in version:
11.3.0
Issue links:
Description:
You can now use @> as a shorthand for !service_closure in services.yml files.
Original (still supported) syntax:
example_service_closure:
class: \Drupal\Core\ExampleClass
arguments: [!service_closure '@example_service_1']
New shorthand syntax:
example_service_closure_shorthand:
class: \Drupal\Core\ExampleClass
arguments: ['@>example_service_1']Impacts:
Module developers