_defaults

Tags

  • foo.tag1
  • bar.tag2
  • bar.tag3
1 string reference to _defaults
YamlFileLoader::parseDefaults in core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php

File

core/modules/system/tests/modules/services_defaults_test/services_defaults_test.services.yml

View source
  1. autowire: true
  2. public: false
  3. tags:
  4. - foo.tag1
  5. - { name: bar.tag2, test: 123 }
  6. - { name: bar.tag3, value: null }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.