protected property YamlDiscovery::$translatableProperties in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Plugin/Discovery/YamlDiscovery.php \Drupal\Core\Plugin\Discovery\YamlDiscovery::translatableProperties
- 9 core/lib/Drupal/Core/Plugin/Discovery/YamlDiscovery.php \Drupal\Core\Plugin\Discovery\YamlDiscovery::translatableProperties
Contains an array of translatable properties passed along to t().
Type: array
See also
\Drupal\Core\Plugin\Discovery\YamlDiscovery::addTranslatableProperty()
File
- core/
lib/ Drupal/ Core/ Plugin/ Discovery/ YamlDiscovery.php, line 39
Class
- YamlDiscovery
- Allows YAML files to define plugin definitions.
Namespace
Drupal\Core\Plugin\DiscoveryCode
protected $translatableProperties = [];